aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/digest.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-11-14 23:08:45 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-10 16:16:14 -0500
commit468577abe37ff7b453a9ac613e0ea155349203ae (patch)
tree45151ac6f36be2327bec63cf44870acb1383afb4 /crypto/digest.c
parent102d49d3d0f0f471b338b6805001fc3ca7bf663b (diff)
[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 8871dec8cae7..d3e827a141f1 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -21,7 +21,6 @@
21#include <linux/scatterlist.h> 21#include <linux/scatterlist.h>
22 22
23#include "internal.h" 23#include "internal.h"
24#include "scatterwalk.h"
25 24
26static int init(struct hash_desc *desc) 25static int init(struct hash_desc *desc)
27{ 26{
@@ -77,7 +76,7 @@ static int update2(struct hash_desc *desc,
77 76
78 if (!nbytes) 77 if (!nbytes)
79 break; 78 break;
80 sg = scatterwalk_sg_next(sg); 79 sg = sg_next(sg);
81 } 80 }
82 81
83 return 0; 82 return 0;