mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
crypto: ccm - use local variables instead of indirect references
The variable odata has been introduced into the function scope as a variable and should be used directly. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
committed by
Herbert Xu
parent
ee1537fe3d
commit
ad981647db
@@ -218,7 +218,7 @@ static int crypto_ccm_auth(struct aead_request *req, struct scatterlist *plain,
|
|||||||
cryptlen += ilen;
|
cryptlen += ilen;
|
||||||
}
|
}
|
||||||
|
|
||||||
ahash_request_set_crypt(ahreq, plain, pctx->odata, cryptlen);
|
ahash_request_set_crypt(ahreq, plain, odata, cryptlen);
|
||||||
err = crypto_ahash_finup(ahreq);
|
err = crypto_ahash_finup(ahreq);
|
||||||
out:
|
out:
|
||||||
return err;
|
return err;
|
||||||
|
Reference in New Issue
Block a user