crypto: authenc - Use correct ahash complete functions
We accidentally assigned the ahash update complete function to the wrong function pointer in crypto_authenc_verify. This patch fixes this. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
eebb111f5f
commit
77ba115c47
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ static int crypto_authenc_verify(struct aead_request *req,
|
|||
unsigned int authsize;
|
||||
|
||||
areq_ctx->complete = authenc_verify_ahash_done;
|
||||
areq_ctx->complete = authenc_verify_ahash_update_done;
|
||||
areq_ctx->update_complete = authenc_verify_ahash_update_done;
|
||||
|
||||
ohash = authenc_ahash_fn(req, CRYPTO_TFM_REQ_MAY_SLEEP);
|
||||
if (IS_ERR(ohash))
|
||||
|
|
Loading…
Reference in a new issue