diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2010-03-02 08:59:54 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-03-02 08:59:54 -0500 |
commit | 77ba115c478d442024964b217f9f12192018cc77 (patch) | |
tree | 3c6f7f4717d37f3eede45b84c1b3a755d07e7627 /crypto | |
parent | eebb111f5f4aa7b91ffc046b84b24c1b75e391d1 (diff) |
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>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/authenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/authenc.c b/crypto/authenc.c index 18870906ea0..6287cfd4d7a 100644 --- a/crypto/authenc.c +++ b/crypto/authenc.c | |||
@@ -454,7 +454,7 @@ static int crypto_authenc_verify(struct aead_request *req, | |||
454 | unsigned int authsize; | 454 | unsigned int authsize; |
455 | 455 | ||
456 | areq_ctx->complete = authenc_verify_ahash_done; | 456 | 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; |
458 | 458 | ||
459 | ohash = authenc_ahash_fn(req, CRYPTO_TFM_REQ_MAY_SLEEP); | 459 | ohash = authenc_ahash_fn(req, CRYPTO_TFM_REQ_MAY_SLEEP); |
460 | if (IS_ERR(ohash)) | 460 | if (IS_ERR(ohash)) |