crypto: marvell/cesa - ensure template operation is initialised
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 18 Oct 2015 16:23:51 +0000 (17:23 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Oct 2015 14:10:52 +0000 (22:10 +0800)
commitd30cb2fa34829161cfa1f847049b3fcfcfeebc93
tree0c98acf01fdb23136e0fce051a20a58e02dc0acf
parent51954a968bbedcabf2b42fec2ec51386f0dee0c4
crypto: marvell/cesa - ensure template operation is initialised

Ensure that the template operation is fully initialised, otherwise we
end up loading data from the kernel stack into the engines, which can
upset the hash results.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/hash.c