diff options
author | Eric Biggers <ebiggers@google.com> | 2019-02-23 07:54:08 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-02-28 07:37:48 +0100 |
commit | f86d17e9efe010b894db231329ee36b24bcc1b24 (patch) | |
tree | e94ae38cfe1a3e9bbbc41765a1aa10de14097f84 /Documentation/acpi | |
parent | crypto: arm64/chacha - fix chacha_4block_xor_neon() for big endian (diff) | |
download | linux-f86d17e9efe010b894db231329ee36b24bcc1b24.tar.xz linux-f86d17e9efe010b894db231329ee36b24bcc1b24.zip |
crypto: arm64/chacha - fix hchacha_block_neon() for big endian
On big endian arm64 kernels, the xchacha20-neon and xchacha12-neon
self-tests fail because hchacha_block_neon() outputs little endian words
but the C code expects native endianness. Fix it to output the words in
native endianness (which also makes it match the arm32 version).
Fixes: cc7cf991e9eb ("crypto: arm64/chacha20 - add XChaCha20 support")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/acpi')
0 files changed, 0 insertions, 0 deletions