]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - crypto/gcm.c
Merge branch 'pci/host-layerscape' into next
[karo-tx-linux.git] / crypto / gcm.c
index ddb4f29b2fe6b0fc917ac9f3b4c2134a5b3c52e4..bec329b3de8d7f2e51ed3bf2d91afcdbe4678e8d 100644 (file)
@@ -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);
        }
 }