summaryrefslogtreecommitdiff
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
commit7f35cf68eb9f1ab4210b622dad2779a91a98dc44 (patch)
tree2e6a10c06178cf5568b2b67da6b7f45cef81f120 /crypto/Kconfig
parentbfef5b97787c4d41b2128863dc301a2d3e92525b (diff)
downloadlinux-crypto-7f35cf68eb9f1ab4210b622dad2779a91a98dc44.tar.gz
linux-crypto-7f35cf68eb9f1ab4210b622dad2779a91a98dc44.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 df6f0be6..80ea1186 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.