Skip to content

Commit 77ba115

Browse files
klassertherbertx
authored andcommitted
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>
1 parent eebb111 commit 77ba115

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crypto/authenc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ static int crypto_authenc_verify(struct aead_request *req,
454454
unsigned int authsize;
455455

456456
areq_ctx->complete = authenc_verify_ahash_done;
457-
areq_ctx->complete = authenc_verify_ahash_update_done;
457+
areq_ctx->update_complete = authenc_verify_ahash_update_done;
458458

459459
ohash = authenc_ahash_fn(req, CRYPTO_TFM_REQ_MAY_SLEEP);
460460
if (IS_ERR(ohash))

0 commit comments

Comments
 (0)