summaryrefslogtreecommitdiff
path: root/crypto/authenc.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2010-03-02 21:59:54 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2010-03-02 21:59:54 +0800
commit80878e51c9804ae17cf6f383db3fb599ddc9750c (patch)
tree24e9d921141a1fbba1fa812076a93942f5e12a69 /crypto/authenc.c
parentb93818d1252986dedeb802aa147a99330551f373 (diff)
downloadlinux-crypto-80878e51c9804ae17cf6f383db3fb599ddc9750c.tar.gz
linux-crypto-80878e51c9804ae17cf6f383db3fb599ddc9750c.zip
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 '')
-rw-r--r--crypto/authenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/authenc.c b/crypto/authenc.c
index 18870906..6287cfd4 100644
--- a/crypto/authenc.c
+++ b/crypto/authenc.c
@@ -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))