aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/nx/nx-aes-ccm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/nx/nx-aes-ccm.c')
-rw-r--r--drivers/crypto/nx/nx-aes-ccm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/nx/nx-aes-ccm.c b/drivers/crypto/nx/nx-aes-ccm.c
index 39d42245bc79..666a35b1181a 100644
--- a/drivers/crypto/nx/nx-aes-ccm.c
+++ b/drivers/crypto/nx/nx-aes-ccm.c
@@ -293,7 +293,7 @@ static int ccm_nx_decrypt(struct aead_request *req,
293 if (rc) 293 if (rc)
294 goto out; 294 goto out;
295 295
296 rc = nx_build_sg_lists(nx_ctx, desc, req->dst, req->src, nbytes, 296 rc = nx_build_sg_lists(nx_ctx, desc, req->dst, req->src, nbytes, 0,
297 csbcpb->cpb.aes_ccm.iv_or_ctr); 297 csbcpb->cpb.aes_ccm.iv_or_ctr);
298 if (rc) 298 if (rc)
299 goto out; 299 goto out;
@@ -339,7 +339,7 @@ static int ccm_nx_encrypt(struct aead_request *req,
339 if (rc) 339 if (rc)
340 goto out; 340 goto out;
341 341
342 rc = nx_build_sg_lists(nx_ctx, desc, req->dst, req->src, nbytes, 342 rc = nx_build_sg_lists(nx_ctx, desc, req->dst, req->src, nbytes, 0,
343 csbcpb->cpb.aes_ccm.iv_or_ctr); 343 csbcpb->cpb.aes_ccm.iv_or_ctr);
344 if (rc) 344 if (rc)
345 goto out; 345 goto out;