kernel-fxtec-pro1x/drivers/crypto/ccp
Tom Lendacky f709b45ec4 crypto: ccp - Prevent information leakage on export
Prevent information from leaking to userspace by doing a memset to 0 of
the export state structure before setting the structure values and copying
it. This prevents un-initialized padding areas from being copied into the
export area.

Cc: <stable@vger.kernel.org> # 3.14.x-
Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-04-15 22:13:56 +08:00
..
ccp-crypto-aes-cmac.c crypto: ccp - Prevent information leakage on export 2016-04-15 22:13:56 +08: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 - CCP versioning support 2016-03-11 21:19:16 +08:00
ccp-crypto-main.c crypto: ccp - Replace BUG_ON with WARN_ON and a return code 2015-10-08 21:42:15 +08:00
ccp-crypto-sha.c crypto: ccp - Prevent information leakage on export 2016-04-15 22:13:56 +08:00
ccp-crypto.h crypto: ccp - Limit the amount of information exported 2016-02-01 22:27:05 +08:00
ccp-dev-v3.c crypto: ccp - Add abstraction for device-specific calls 2016-03-11 21:19:17 +08:00
ccp-dev.c crypto: ccp - fix lock acquisition code 2016-03-17 19:09:02 +08:00
ccp-dev.h crypto: ccp - Add abstraction for device-specific calls 2016-03-11 21:19:17 +08:00
ccp-ops.c crypto: ccp - Add abstraction for device-specific calls 2016-03-11 21:19:17 +08:00
ccp-pci.c crypto: ccp - Add abstraction for device-specific calls 2016-03-11 21:19:17 +08:00
ccp-platform.c crypto: ccp - Add abstraction for device-specific calls 2016-03-11 21:19:17 +08:00
Kconfig crypto: ccp - Use precalculated hash from headers 2015-12-22 20:43:38 +08:00
Makefile crypto: ccp - Add abstraction for device-specific calls 2016-03-11 21:19:17 +08:00