mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
crypto: aead - Remove unused cryptoff parameter
This patch removes the cryptoff parameter now that all users set it to zero. Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
dd04446e48
commit
374d4ad18a
4 changed files with 9 additions and 16 deletions
|
|
@ -106,10 +106,8 @@ static int old_crypt(struct aead_request *req,
|
|||
if (req->old)
|
||||
return crypt(req);
|
||||
|
||||
src = scatterwalk_ffwd(nreq->srcbuf, req->src,
|
||||
req->assoclen + req->cryptoff);
|
||||
dst = scatterwalk_ffwd(nreq->dstbuf, req->dst,
|
||||
req->assoclen + req->cryptoff);
|
||||
src = scatterwalk_ffwd(nreq->srcbuf, req->src, req->assoclen);
|
||||
dst = scatterwalk_ffwd(nreq->dstbuf, req->dst, req->assoclen);
|
||||
|
||||
aead_request_set_tfm(&nreq->subreq, aead);
|
||||
aead_request_set_callback(&nreq->subreq, aead_request_flags(req),
|
||||
|
|
|
|||
Loading…
Reference in a new issue