]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
crypto: arm/aes-neonbs-cbc - Select generic cbc and aes
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 16 Mar 2022 22:55:13 +0000 (10:55 +1200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 12:40:14 +0000 (14:40 +0200)
BugLink: https://bugs.launchpad.net/bugs/1969110
commit c8bd296cca3434b13b28b074eaeb78a23284de77 upstream.

The algorithm __cbc-aes-neonbs requires a fallback so we need
to select the config options for them or otherwise it will fail
to register on boot-up.

Fixes: 00b99ad2bac2 ("crypto: arm/aes-neonbs - Use generic cbc...")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 210891d81b9ced00645ba5320bd28cf3dd4c7a9f)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
arch/arm/crypto/Kconfig

index 2b575792363e55ea8f5fc1c32d92da2428be26dd..e4dba5461cb3eafbe2a07649148c11c298a6da52 100644 (file)
@@ -102,6 +102,8 @@ config CRYPTO_AES_ARM_BS
        depends on KERNEL_MODE_NEON
        select CRYPTO_SKCIPHER
        select CRYPTO_LIB_AES
+       select CRYPTO_AES
+       select CRYPTO_CBC
        select CRYPTO_SIMD
        help
          Use a faster and more secure NEON based implementation of AES in CBC,