Re: [PATCH AUTOSEL 4.19 063/100] crypto: arm/aes-ce - add dependency on AES library

From: Ard Biesheuvel
Date: Mon Oct 21 2019 - 02:08:27 EST


On Sat, 19 Oct 2019 at 00:07, Sasha Levin <sashal@xxxxxxxxxx> wrote:
>
> From: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
>
> [ Upstream commit f703964fc66804e6049f2670fc11045aa8359b1a ]
>
> The ARM accelerated AES driver depends on the new AES library for
> its non-SIMD fallback so express this in its Kconfig declaration.
>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

Please drop this, it doesn't belong in -stable.

> ---
> arch/arm/crypto/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/crypto/Kconfig b/arch/arm/crypto/Kconfig
> index b8e69fe282b8d..44278f375ae23 100644
> --- a/arch/arm/crypto/Kconfig
> +++ b/arch/arm/crypto/Kconfig
> @@ -89,6 +89,7 @@ config CRYPTO_AES_ARM_CE
> tristate "Accelerated AES using ARMv8 Crypto Extensions"
> depends on KERNEL_MODE_NEON
> select CRYPTO_BLKCIPHER
> + select CRYPTO_LIB_AES
> select CRYPTO_SIMD
> help
> Use an implementation of AES in CBC, CTR and XTS modes that uses
> --
> 2.20.1
>