From: Harald Freudenberger Date: Wed, 28 May 2025 08:30:32 +0000 (+0200) Subject: s390/crypto: Select crypto engine in Kconfig when PAES is chosen X-Git-Tag: v6.16-rc1~19^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=34a149a02b5f1eb788d1f79252fccc7028e3856b;p=thirdparty%2Fkernel%2Flinux.git s390/crypto: Select crypto engine in Kconfig when PAES is chosen The s390 PAES crypto algorithm has a dependency to the crypto engine. So enable the crypto engine via SELECT CRYPTO_ENGINE in drivers/crypto/Kconfig when CRYPTO_PAES_S390 is chosen. Fixes: 6cd87cb5ef6c ("s390/crypto: Rework protected key AES for true asynch support") Reported-by: Thomas Huth Closes: https://lore.kernel.org/linux-s390/f958f869-8da3-48d9-a118-f3cf9a9ea75c@redhat.com/ Reviewed-by: Holger Dengler Signed-off-by: Harald Freudenberger Reviewed-by: Thomas Huth Link: https://lore.kernel.org/r/20250528083032.224430-1-freude@linux.ibm.com Signed-off-by: Heiko Carstens --- diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 5686369779be0..9f8a3a5bed7ec 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -180,6 +180,7 @@ config CRYPTO_PAES_S390 depends on PKEY select CRYPTO_ALGAPI select CRYPTO_SKCIPHER + select CRYPTO_ENGINE help This is the s390 hardware accelerated implementation of the AES cipher algorithms for use with protected key.