summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-07-10 16:01:22 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-07-10 20:35:18 +0800
commit18e33e6d5cc0495826f5245777cd267732815e01 (patch)
tree5cf0151630a63c27e06daad39556c423d4e2ef36 /crypto
parent5773a3e6e396d5fd9de58372abe6a86b7e258e3e (diff)
downloadlinux-18e33e6d5cc0495826f5245777cd267732815e01.tar.gz
linux-18e33e6d5cc0495826f5245777cd267732815e01.tar.xz
crypto: hash - Move ahash functions into crypto/hash.h
All new crypto interfaces should go into individual files as much as possible in order to ensure that crypto.h does not collapse under its own weight. This patch moves the ahash code into crypto/hash.h and crypto/internal/hash.h respectively. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/cryptd.c1
-rw-r--r--crypto/digest.c1
-rw-r--r--crypto/hash.c1
-rw-r--r--crypto/tcrypt.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/crypto/cryptd.c b/crypto/cryptd.c
index d3ecd7e73b7e..d29e06b350ff 100644
--- a/crypto/cryptd.c
+++ b/crypto/cryptd.c
@@ -11,6 +11,7 @@
*/
#include <crypto/algapi.h>
+#include <crypto/internal/hash.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
diff --git a/crypto/digest.c b/crypto/digest.c
index bf332982c50d..ac0919460d14 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -12,6 +12,7 @@
*
*/
+#include <crypto/internal/hash.h>
#include <crypto/scatterwalk.h>
#include <linux/mm.h>
#include <linux/errno.h>
diff --git a/crypto/hash.c b/crypto/hash.c
index 140a75565f15..cb86b19fd105 100644
--- a/crypto/hash.c
+++ b/crypto/hash.c
@@ -9,6 +9,7 @@
* any later version.
*/
+#include <crypto/internal/hash.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/module.h>
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 87f08f9b0904..59821a22d752 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -15,6 +15,7 @@
*
*/
+#include <crypto/hash.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/module.h>