]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd34036cd1be0d52c1a6584f32bcb83b68bdb49ed
tree0c98acf01fdb23136e0fce051a20a58e02dc0acf
parent9820b3f599f96e341d94d6ce9c03c8f01931d078
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