linux/drivers/crypto/vmx
Leonidas Da Silva Barbosa 3c5f0ed78e crypto: vmx - Fixing GHASH Key issue on little endian
GHASH table algorithm is using a big endian key.
In little endian machines key will be LE ordered.
After a lxvd2x instruction key is loaded as it is,
LE/BE order, in first case it'll generate a wrong
table resulting in wrong hashes from the algorithm.

Bug affects only LE machines.
In order to fix it we do a swap for loaded key.

Cc: stable@vger.kernel.org
Signed-off-by: Leonidas S Barbosa <leosilva@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-08-18 10:30:36 +08:00
..
aes_cbc.c crypto: vmx - Adding enable_kernel_vsx() to access VSX instructions 2015-07-14 14:56:48 +08:00
aes_ctr.c crypto: vmx - Fixing AES-CTR counter bug 2015-08-18 10:30:35 +08:00
aes.c crypto: vmx - Adding enable_kernel_vsx() to access VSX instructions 2015-07-14 14:56:48 +08:00
aesp8-ppc.h crypto: vmx - Reindent to kernel style 2015-06-16 14:35:02 +08:00
aesp8-ppc.pl crypto: vmx - Fixing AES-CTR counter bug 2015-08-18 10:30:35 +08:00
ghash.c crypto: vmx - Adding enable_kernel_vsx() to access VSX instructions 2015-07-14 14:56:48 +08:00
ghashp8-ppc.pl crypto: vmx - Fixing GHASH Key issue on little endian 2015-08-18 10:30:36 +08:00
Kconfig crypto: vmx - Remove duplicate PPC64 dependency 2015-06-16 14:35:01 +08:00
Makefile crypto: vmx - fix two mistyped texts 2015-05-15 14:57:46 +08:00
ppc-xlate.pl linux-next: Tree for Mar 11 (powerpc build failure due to vmx crypto code) 2015-03-12 21:18:00 +11:00
vmx.c crypto: vmx - Reindent to kernel style 2015-06-16 14:35:02 +08:00