]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: s390 - add select CRYPTO_AEAD for aes
authorArnd Bergmann <arnd@arndb.de>
Wed, 20 May 2026 07:38:44 +0000 (09:38 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 May 2026 06:04:03 +0000 (14:04 +0800)
commitecf3edd349dfabee9bc8a46c5ff91c9ebd858d48
tree3338802ae3e7c2b9528f548553ac5bc54871a2e9
parentd1fa83ecac31093a550534a79a33bc7f4ba8fc10
crypto: s390 - add select CRYPTO_AEAD for aes

The aes driver registers both skcipher and aead algorithms,
but when aead is not enabled this causes a link failure:

s390-linux-ld: arch/s390/crypto/aes_s390.o: in function `aes_s390_fini':
arch/s390/crypto/aes_s390.c:969:(.text+0x115e): undefined reference to `crypto_unregister_aead'
s390-linux-ld: arch/s390/crypto/aes_s390.o: in function `aes_s390_init':
arch/s390/crypto/aes_s390.c:1028:(.init.text+0x294): undefined reference to `crypto_register_aead'

Add the missing 'select' statement.

Fixes: bf7fa038707c ("s390/crypto: add s390 platform specific aes gcm support.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/crypto/Kconfig