Skip to content

Commit 34a149a

Browse files
hfreudehcahca
authored andcommitted
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: 6cd87cb ("s390/crypto: Rework protected key AES for true asynch support") Reported-by: Thomas Huth <[email protected]> Closes: https://lore.kernel.org/linux-s390/[email protected]/ Reviewed-by: Holger Dengler <[email protected]> Signed-off-by: Harald Freudenberger <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]>
1 parent d8cb068 commit 34a149a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/crypto/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ config CRYPTO_PAES_S390
180180
depends on PKEY
181181
select CRYPTO_ALGAPI
182182
select CRYPTO_SKCIPHER
183+
select CRYPTO_ENGINE
183184
help
184185
This is the s390 hardware accelerated implementation of the
185186
AES cipher algorithms for use with protected key.

0 commit comments

Comments
 (0)