Commit 34a149a0 authored by Harald Freudenberger's avatar Harald Freudenberger Committed by Heiko Carstens
Browse files

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: 6cd87cb5 ("s390/crypto: Rework protected key AES for true asynch support")
Reported-by: default avatarThomas Huth <thuth@redhat.com>
Closes: https://lore.kernel.org/linux-s390/f958f869-8da3-48d9-a118-f3cf9a9ea75c@redhat.com/


Reviewed-by: default avatarHolger Dengler <dengler@linux.ibm.com>
Signed-off-by: default avatarHarald Freudenberger <freude@linux.ibm.com>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/20250528083032.224430-1-freude@linux.ibm.com


Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent d8cb0683
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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.