Linux s390 Architecture development
 help / color / mirror / Atom feed
* [PATCH v4] s390/crypto: Select crypto engine in Kconfig when PAES is chosen
@ 2025-05-28  8:30 Harald Freudenberger
  2025-05-28  8:40 ` Thomas Huth
  2025-05-28 10:38 ` Heiko Carstens
  0 siblings, 2 replies; 3+ messages in thread
From: Harald Freudenberger @ 2025-05-28  8:30 UTC (permalink / raw)
  To: hca, gor, agordeev, thuth; +Cc: linux390-list, dengler, linux-s390

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>
---
 drivers/crypto/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 47082782008a..226fdaaa2efa 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.
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-28 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-28  8:30 [PATCH v4] s390/crypto: Select crypto engine in Kconfig when PAES is chosen Harald Freudenberger
2025-05-28  8:40 ` Thomas Huth
2025-05-28 10:38 ` Heiko Carstens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox