]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arm64/aes-bs - implement non-SIMD fallback for AES-CTR
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 24 Jul 2017 10:28:15 +0000 (11:28 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Aug 2017 01:27:22 +0000 (09:27 +0800)
commita72417c25ca7ce4be1852753101666ca3db24bdf
treed124df8125277a21a7449274f606295eca344ba9
parentea822a7b4ce9075fc4b6655186ba69e88807a805
crypto: arm64/aes-bs - implement non-SIMD fallback for AES-CTR

Of the various chaining modes implemented by the bit sliced AES driver,
only CTR is exposed as a synchronous cipher, and requires a fallback in
order to remain usable once we update the kernel mode NEON handling logic
to disallow nested use. So wire up the existing CTR fallback C code.

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-neonbs-glue.c