X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=crypto%2Fdigest.c;h=b526cc348b79313e21bea12808976f392b5505a8;hb=904e0ab54b7591b9cb01cfc0dbbedcc8bc0d949b;hp=52845f53f8e1b862c8bcd55b4cb32e8980d2581f;hpb=42c271c6c538857cb13c5ead5184d264d745f675;p=mv-sheeva.git diff --git a/crypto/digest.c b/crypto/digest.c index 52845f53f8e..b526cc348b7 100644 --- a/crypto/digest.c +++ b/crypto/digest.c @@ -21,6 +21,8 @@ #include #include +#include "internal.h" + static int init(struct hash_desc *desc) { struct crypto_tfm *tfm = crypto_hash_tfm(desc->tfm); @@ -75,7 +77,7 @@ static int update2(struct hash_desc *desc, if (!nbytes) break; - sg = sg_next(sg); + sg = scatterwalk_sg_next(sg); } return 0;