summaryrefslogtreecommitdiff
path: root/arch/h8300/boot
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-10-11 19:15:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-12 11:22:50 +0100
commit1d3124821f3a2f041f7567e4b8af4915c7a2d5e4 (patch)
tree00e6843cd3903f0eb9bd27b509c003fb34d80caa /arch/h8300/boot
parent5b21c548920645dbf0c5ad6651401bb288f455f8 (diff)
crypto: arm64/aes-ce - fix for big endian
commit 1803b9a52c4e5a5dbb8a27126f6bc06939359753 upstream. The core AES cipher implementation that uses ARMv8 Crypto Extensions instructions erroneously loads the round keys as 64-bit quantities, which causes the algorithm to fail when built for big endian. In addition, the key schedule generation routine fails to take endianness into account as well, when loading the combining the input key with the round constants. So fix both issues. Fixes: 12ac3efe74f8 ("arm64/crypto: use crypto instructions to generate AES key schedule") Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/h8300/boot')
0 files changed, 0 insertions, 0 deletions