summaryrefslogtreecommitdiff
path: root/crypto/digest.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-11-15 12:08:45 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:14 +1100
commite1831a52fbacad9aa2bcc90636f2a8e03584d90c (patch)
tree1c1ac48f05e4568ddbed9fcc4aa258b4f6e3df64 /crypto/digest.c
parentb8803214ef1c505b448dce93679c6a01b2ed66f6 (diff)
downloadlinux-crypto-e1831a52fbacad9aa2bcc90636f2a8e03584d90c.tar.gz
linux-crypto-e1831a52fbacad9aa2bcc90636f2a8e03584d90c.zip
[CRYPTO] scatterwalk: Use generic scatterlist chaining
This patch converts the crypto scatterwalk code to use the generic scatterlist chaining rather the version specific to 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 8871dec8..d3e827a1 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -21,7 +21,6 @@
#include <linux/scatterlist.h>
#include "internal.h"
-#include "scatterwalk.h"
static int init(struct hash_desc *desc)
{
@@ -77,7 +76,7 @@ static int update2(struct hash_desc *desc,
if (!nbytes)
break;
- sg = scatterwalk_sg_next(sg);
+ sg = sg_next(sg);
}
return 0;