]> git.baikalelectronics.ru Git - kernel.git/commitdiff
crypto: amcc - restore CRYPTO_AES dependency
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 27 Oct 2019 15:47:47 +0000 (16:47 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Nov 2019 05:42:47 +0000 (13:42 +0800)
This patch restores the CRYPTO_AES dependency. This is
necessary since some of the crypto4xx driver provided
modes need functioning software fallbacks for
AES-CTR/CCM and GCM.

Fixes: 35c790c37bbc ("crypto: amcc - switch to AES library for GCM key derivation")
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig

index 607d87788694f8e55c1d603f903757dd7851f090..8a1d04805428ee6e6cfef001510347215de57058 100644 (file)
@@ -334,6 +334,7 @@ config CRYPTO_DEV_PPC4XX
        depends on PPC && 4xx
        select CRYPTO_HASH
        select CRYPTO_AEAD
+       select CRYPTO_AES
        select CRYPTO_LIB_AES
        select CRYPTO_CCM
        select CRYPTO_CTR