linux/drivers/crypto/nx
David Gstir cb8affb55c crypto: nx - Fix timing leak in GCM and CCM decryption
Using non-constant time memcmp() makes the verification of the authentication
tag in the decrypt path vulnerable to timing attacks. Fix this by using
crypto_memneq() instead.

Cc: stable@vger.kernel.org
Signed-off-by: David Gstir <david@sigma-star.at>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-11-16 21:39:23 +08:00
..
Kconfig crypto: nx - merge nx-compress and nx-compress-crypto 2015-07-23 18:14:31 +08:00
Makefile crypto: nx - make platform drivers directly register with crypto 2015-07-23 18:14:33 +08:00
nx-842-powernv.c crypto: 842 - Add CRC and validation support 2015-10-14 22:23:17 +08:00
nx-842-pseries.c crypto: 842 - Add CRC and validation support 2015-10-14 22:23:17 +08:00
nx-842.c crypto: nx - make platform drivers directly register with crypto 2015-07-23 18:14:33 +08:00
nx-842.h crypto: nx - make platform drivers directly register with crypto 2015-07-23 18:14:33 +08:00
nx-aes-cbc.c crypto: nx - Moving NX-AES-CBC to be processed logic 2014-11-06 23:15:00 +08:00
nx-aes-ccm.c crypto: nx - Fix timing leak in GCM and CCM decryption 2015-11-16 21:39:23 +08:00
nx-aes-ctr.c crypto: nx - Removing CTR mode from NX driver 2015-08-10 23:22:22 +08:00
nx-aes-ecb.c crypto: nx - Moving NX-AES-ECB to be processed logic 2014-11-06 23:15:01 +08:00
nx-aes-gcm.c crypto: nx - Fix timing leak in GCM and CCM decryption 2015-11-16 21:39:23 +08:00
nx-aes-xcbc.c crypto: nx - Fix reentrancy bugs 2015-07-08 15:14:13 +08:00
nx-sha256.c crypto: nx - respect sg limit bounds when building sg lists for SHA 2015-08-11 22:02:57 +08:00
nx-sha512.c crypto: nx - respect sg limit bounds when building sg lists for SHA 2015-08-11 22:02:57 +08:00
nx.c crypto: nx - Removing CTR mode from NX driver 2015-08-10 23:22:22 +08:00
nx.h crypto: nx - Add forward declaration for struct crypto_aead 2015-08-17 19:49:13 +08:00
nx_csbcpb.h powerpc/crypto: nx driver code supporting nx encryption 2012-05-16 15:05:41 +10:00
nx_debugfs.c powerpc/crypto: debugfs routines and docs for the nx device driver 2012-05-16 15:05:45 +10:00