]> Pileus Git - ~andy/linux/commit
crypto: authenc - Find proper IV address in ablkcipher callback
authorTom Lendacky <thomas.lendacky@amd.com>
Tue, 12 Nov 2013 17:46:04 +0000 (11:46 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Nov 2013 14:16:23 +0000 (22:16 +0800)
commitfc019c7122dfcd69c50142b57a735539aec5da95
tree7719ff72d76614c68cbbfc66bb1c98d74d9bc1dc
parent6c5dc7f8afbd2f480ebe9ff6919c6420fcf1abd6
crypto: authenc - Find proper IV address in ablkcipher callback

When performing an asynchronous ablkcipher operation the authenc
completion callback routine is invoked, but it does not locate and use
the proper IV.

The callback routine, crypto_authenc_encrypt_done, is updated to use
the same method of calculating the address of the IV as is done in
crypto_authenc_encrypt function which sets up the callback.

Cc: stable@vger.kernel.org
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/authenc.c