linux/drivers/crypto/ccp
Tom Lendacky dad41d5408 crypto: ccp - memset request context to zero during import
[ Upstream commit ce0ae266fe ]

Since a crypto_ahash_import() can be called against a request context
that has not had a crypto_ahash_init() performed, the request context
needs to be cleared to insure there is no random data present. If not,
the random data can result in a kernel oops during crypto_ahash_update().

Cc: <stable@vger.kernel.org> # 3.14.x-
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2016-04-18 08:50:41 -04:00
..
ccp-crypto-aes-cmac.c crypto: ccp - memset request context to zero during import 2016-04-18 08:50:41 -04:00
ccp-crypto-aes-xts.c crypto: ccp - Updates for checkpatch warnings/errors 2015-02-27 22:48:47 +13:00
ccp-crypto-aes.c crypto: ccp - Updates for checkpatch warnings/errors 2015-02-27 22:48:47 +13:00
ccp-crypto-main.c crypto: ccp - Updates for checkpatch warnings/errors 2015-02-27 22:48:47 +13:00
ccp-crypto-sha.c crypto: ccp - memset request context to zero during import 2016-04-18 08:50:41 -04:00
ccp-crypto.h crypto: ccp - Limit the amount of information exported 2016-04-18 08:50:34 -04:00
ccp-dev.c crypto: ccp - Convert calls to their devm_ counterparts 2015-02-27 22:48:48 +13:00
ccp-dev.h crypto: ccp - Updates for checkpatch warnings/errors 2015-02-27 22:48:47 +13:00
ccp-ops.c crypto: ccp - Updates for checkpatch warnings/errors 2015-02-27 22:48:47 +13:00
ccp-pci.c crypto: ccp - Convert calls to their devm_ counterparts 2015-02-27 22:48:48 +13:00
ccp-platform.c crypto: ccp - Add ACPI support 2015-02-27 22:48:49 +13:00
Kconfig crypto: ccp - Remove "select OF" from Kconfig 2014-07-24 16:52:12 +08:00
Makefile crypto: ccp - Update CCP build support 2015-02-27 22:48:48 +13:00