summaryrefslogtreecommitdiff
path: root/crypto/digest.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-07 18:52:49 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:32 +1100
commit35e87430ba6ed71cee3f14210ae5301e9a7cc49c (patch)
treefa6f77e5152791738f1edf3b7778ab44838a9477 /crypto/digest.c
parent45547f16489680fbbe7e7ae97bd148a993f9c11a (diff)
downloadlinux-crypto-35e87430ba6ed71cee3f14210ae5301e9a7cc49c.tar.gz
linux-crypto-35e87430ba6ed71cee3f14210ae5301e9a7cc49c.zip
[CRYPTO] scatterwalk: Move scatterwalk.h to linux/crypto
The scatterwalk infrastructure is used by algorithms so it needs to move out of crypto for future users that may live in drivers/crypto or asm/*/crypto. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/digest.c')
-rw-r--r--crypto/digest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/digest.c b/crypto/digest.c
index d3e827a1..52845f53 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -12,6 +12,7 @@
*
*/
+#include <crypto/scatterwalk.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/hardirq.h>
@@ -20,8 +21,6 @@
#include <linux/module.h>
#include <linux/scatterlist.h>
-#include "internal.h"
-
static int init(struct hash_desc *desc)
{
struct crypto_tfm *tfm = crypto_hash_tfm(desc->tfm);