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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 28 Feb 2012 08:29:23 +0000 (16:29 +0800)
commitf8f54e190ddb4ed697036b60f5e2ae6dd45b801c
treedb0e8fffe56ff86c381623fe1dacdd1a25b3c1e7
parentf2ea0f5f04c97b48c88edccba52b0682fbe45087
crypto: mv_cesa - fix final callback not ignoring input data

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

Cc: <stable@kernel.org> # 3.0+
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mv_cesa.c