aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/gcm.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-05 04:59:25 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-10 16:16:33 -0500
commitb2ab4a57b018aafbba35bff088218f5cc3d2142e (patch)
treea46c5bd42927c24c69f0786be2651ff3fba6c10e /crypto/gcm.c
parent42c271c6c538857cb13c5ead5184d264d745f675 (diff)
[CRYPTO] scatterwalk: Restore custom sg chaining for now
Unfortunately the generic chaining hasn't been ported to all architectures yet, and notably not s390. So this patch restores the chainging that we've been using previously which does work everywhere. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/gcm.c')
-rw-r--r--crypto/gcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/gcm.c b/crypto/gcm.c
index 27483f361e80..502da929a5fc 100644
--- a/crypto/gcm.c
+++ b/crypto/gcm.c
@@ -100,7 +100,7 @@ static void crypto_gcm_ghash_update_sg(struct crypto_gcm_ghash_ctx *ctx,
100 n = scatterwalk_clamp(&walk, len); 100 n = scatterwalk_clamp(&walk, len);
101 101
102 if (!n) { 102 if (!n) {
103 scatterwalk_start(&walk, sg_next(walk.sg)); 103 scatterwalk_start(&walk, scatterwalk_sg_next(walk.sg));
104 n = scatterwalk_clamp(&walk, len); 104 n = scatterwalk_clamp(&walk, len);
105 } 105 }
106 106