s390/crypto: Select crypto engine in Kconfig when PAES is chosen
authorHarald Freudenberger <freude@linux.ibm.com>
Wed, 28 May 2025 08:30:32 +0000 (10:30 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 2 Jun 2025 08:49:52 +0000 (10:49 +0200)
commit34a149a02b5f1eb788d1f79252fccc7028e3856b
tree681dab5438e21f2558501e2537c4bf1e0499e240
parentd8cb068359f6210d790828714081d4ccb47014ff
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 <thuth@redhat.com>
Closes: https://lore.kernel.org/linux-s390/f958f869-8da3-48d9-a118-f3cf9a9ea75c@redhat.com/
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/20250528083032.224430-1-freude@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/crypto/Kconfig