summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLeonidas Da Silva Barbosa <leosilva@linux.vnet.ibm.com>2015-08-14 10:14:16 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-21 10:05:40 -0700
commit176688bba97e4829627a08c852ff8bf07348bffa (patch)
tree6b641175307534e8d889448ef9fe65172e0606c6 /arch
parent9feb2d70d3bc561c900e0d976d7700306f4806a4 (diff)
crypto: vmx - Fixing GHASH Key issue on little endian
commit 3c5f0ed78e976be705218cad62acf6a68e9d121e upstream. 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. Signed-off-by: Leonidas S Barbosa <leosilva@linux.vnet.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions