]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: mv_cesa - fix final callback not ignoring input data
authorPhil Sutter <phil.sutter@viprinet.com>
Mon, 27 Feb 2012 11:17:04 +0000 (12:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Mar 2012 17:32:56 +0000 (10:32 -0700)
commit56c54856551b8a8199fda32aa7c416c719e5f0b9
tree2171c85800a8c37f3e5c387ec7c129b2273198be
parent14dfead7ebff3fcd14549f613041c4f777f8b75e
crypto: mv_cesa - fix final callback not ignoring input data

commit f8f54e190ddb4ed697036b60f5e2ae6dd45b801c upstream.

Broken by commit 6ef84509f3d439ed2d43ea40080643efec37f54f for users
passing a request with non-zero 'nbytes' field, like e.g. testmgr.

Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/mv_cesa.c