summaryrefslogtreecommitdiffstats
path: root/crypto/digest.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-07-10 10:01:22 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2008-07-10 14:35:18 +0200
commit18e33e6d5cc0495826f5245777cd267732815e01 (patch)
tree5cf0151630a63c27e06daad39556c423d4e2ef36 /crypto/digest.c
parentcrypto: crc32c - Add ahash implementation (diff)
downloadlinux-18e33e6d5cc0495826f5245777cd267732815e01.tar.xz
linux-18e33e6d5cc0495826f5245777cd267732815e01.zip
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/digest.c')
-rw-r--r--crypto/digest.c1
1 files changed, 1 insertions, 0 deletions
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>