Thread (15 messages) 15 messages, 3 authors, 2014-01-14

[PATCH 1/5] crypto: Fully restore ahash request before completing

From: herbert@gondor.apana.org.au (Herbert Xu)
Date: 2014-01-05 13:06:03
Also in: linux-crypto

On Tue, Dec 10, 2013 at 08:26:19PM +0100, Marek Vasut wrote:
When finishing the ahash request, the ahash_op_unaligned_done() will
call complete() on the request. Yet, this will not call the correct
complete callback. The correct complete callback was previously stored
in the requests' private data, as seen in ahash_op_unaligned(). This
patch restores the correct complete callback and .data field of the
request before calling complete() on it.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: David S. Miller <davem@davemloft.net>
Cc: Fabio Estevam <redacted>
Cc: Shawn Guo <redacted>
Cc: linux-crypto at vger.kernel.org
All patches applied.  Thanks!
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help