X-Git-Url: http://git.agner.ch/gitweb/?a=blobdiff_plain;f=crypto%2Fgcm.c;h=bec329b3de8d7f2e51ed3bf2d91afcdbe4678e8d;hb=5a433f7a6bc49b5745d5ccd4f1c84f57ab7013a9;hp=ddb4f29b2fe6b0fc917ac9f3b4c2134a5b3c52e4;hpb=2faf962d90ca4c5ee7ba026b7351b1f74500bcdf;p=linux-drm-fsl-dcu.git diff --git a/crypto/gcm.c b/crypto/gcm.c index ddb4f29b2fe6..bec329b3de8d 100644 --- a/crypto/gcm.c +++ b/crypto/gcm.c @@ -206,14 +206,14 @@ static void crypto_gcm_init_common(struct aead_request *req) sg_set_buf(pctx->src, pctx->auth_tag, sizeof(pctx->auth_tag)); sg = scatterwalk_ffwd(pctx->src + 1, req->src, req->assoclen); if (sg != pctx->src + 1) - scatterwalk_sg_chain(pctx->src, 2, sg); + sg_chain(pctx->src, 2, sg); if (req->src != req->dst) { sg_init_table(pctx->dst, 3); sg_set_buf(pctx->dst, pctx->auth_tag, sizeof(pctx->auth_tag)); sg = scatterwalk_ffwd(pctx->dst + 1, req->dst, req->assoclen); if (sg != pctx->dst + 1) - scatterwalk_sg_chain(pctx->dst, 2, sg); + sg_chain(pctx->dst, 2, sg); } }