]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arm64/aes-ce-cipher - use AES library as fallback
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 2 Jul 2019 19:41:36 +0000 (21:41 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 04:58:09 +0000 (14:58 +1000)
commit033293e7a241ea21d0ebe3f8d393263ae1926446
treec9c9599310f3f6976d154d162a67dc3e09da8089
parentbaf3a7e60527669562d440d9483d946a06c52cc5
crypto: arm64/aes-ce-cipher - use AES library as fallback

Instead of calling into the table based scalar AES code in situations
where the SIMD unit may not be used, use the generic AES code, which
is more appropriate since it is less likely to be susceptible to
timing attacks.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/Kconfig
arch/arm64/crypto/aes-ce-glue.c
arch/arm64/crypto/aes-cipher-glue.c