summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2019-07-02 21:41:33 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-07-26 14:56:06 +1000
commit5bb12d7825adf0e80b849a273834f3131a6cc4e1 (patch)
tree588cb7e5183d7e194a94c944736f721bc425634c /crypto/Kconfig
parentc184472902d87189082e5a349051197e252ae9af (diff)
downloadlinux-stable-5bb12d7825adf0e80b849a273834f3131a6cc4e1.tar.gz
linux-stable-5bb12d7825adf0e80b849a273834f3131a6cc4e1.tar.bz2
linux-stable-5bb12d7825adf0e80b849a273834f3131a6cc4e1.zip
crypto: aes-generic - drop key expansion routine in favor of library version
Drop aes-generic's version of crypto_aes_expand_key(), and switch to the key expansion routine provided by the AES library. AES key expansion is not performance critical, and it is better to have a single version shared by all AES implementations. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index df6f0be66574..80ea118600ab 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1072,6 +1072,7 @@ config CRYPTO_LIB_AES
config CRYPTO_AES
tristate "AES cipher algorithms"
select CRYPTO_ALGAPI
+ select CRYPTO_LIB_AES
help
AES cipher algorithms (FIPS-197). AES uses the Rijndael
algorithm.