diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-01-24 17:33:46 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-02-01 14:42:05 +0800 |
commit | 969e2f59d589c15f6aaf306e590dde16f12ea4b3 (patch) | |
tree | 666cf4412f3f19c9609c817f4ffadab659a9c8d7 /drivers/crypto | |
parent | eaf46edf6ea89675bd36245369c8de5063a0272c (diff) | |
download | kernel_replicant_linux-969e2f59d589c15f6aaf306e590dde16f12ea4b3.tar.gz kernel_replicant_linux-969e2f59d589c15f6aaf306e590dde16f12ea4b3.tar.bz2 kernel_replicant_linux-969e2f59d589c15f6aaf306e590dde16f12ea4b3.zip |
crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine
Commit 5092fcf34908 ("crypto: arm64/aes-ce-ccm: add non-SIMD generic
fallback") introduced C fallback code to replace the NEON routines
when invoked from a context where the NEON is not available (i.e.,
from the context of a softirq taken while the NEON is already being
used in kernel process context)
Fix two logical flaws in the MAC calculation of the associated data.
Reported-by: Eric Biggers <ebiggers@kernel.org>
Fixes: 5092fcf34908 ("crypto: arm64/aes-ce-ccm: add non-SIMD generic fallback")
Cc: stable@vger.kernel.org
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions