Skip to contentSkip to conversation

s390/crypto: Select crypto engine in Kconfig when PAES is chosen

PATCH Applied Harald Freudenberger 3 participants 3 messages May 28, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 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")
---
 drivers/crypto/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/crypto/Kconfig +1 -0
index 47082782008a..226fdaaa2efa 100644
@@ -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.
Signature · 1 line
2.43.0
Reviewed-by on v4 1/1
#1 lore raw
Quoted 19 lines · Harald Freudenberger

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")
---
  drivers/crypto/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/crypto/Kconfig +0 -0
index 47082782008a..226fdaaa2efa 100644

drivers/crypto/Kconfig config CRYPTO_PAES_S390 · line 186

Quoted 7 lines
drivers/crypto/Kconfig +1 -0
@@ -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.
maintainer Applied
#2 lore raw
In reply to Harald Freudenberger
Quoted 5 lines · Harald Freudenberger

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.

Quoted 8 lines
Fixes 6cd87cb5ef6c ("s390/crypto: Rework protected key AES for true asynch support")
---
 drivers/crypto/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks!