From: Jan Stancek <[email protected]>

drivers/crypto: make PAES_S390 select CRYPTO_ENGINE

To avoid running into following build failure on s390x:
  00:13:40 ERROR: modpost: "crypto_engine_stop" [arch/s390/crypto/paes_s390.ko] 
undefined!
  00:13:40 ERROR: modpost: "crypto_engine_exit" [arch/s390/crypto/paes_s390.ko] 
undefined!
  00:13:40 ERROR: modpost: "crypto_engine_alloc_init_and_set" 
[arch/s390/crypto/paes_s390.ko] undefined!
  00:13:40 ERROR: modpost: "crypto_engine_start" 
[arch/s390/crypto/paes_s390.ko] undefined!
  00:13:40 ERROR: modpost: "crypto_engine_register_skcipher" 
[arch/s390/crypto/paes_s390.ko] undefined!
  00:13:40 ERROR: modpost: "crypto_finalize_skcipher_request" 
[arch/s390/crypto/paes_s390.ko] undefined!
  00:13:40 ERROR: modpost: "crypto_transfer_skcipher_request_to_engine" 
[arch/s390/crypto/paes_s390.ko] undefined!
  00:13:40 make[2]: *** [scripts/Makefile.modpost:147: Module.symvers] Error 1

Signed-off-by: Jan Stancek <[email protected]>

diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index blahblah..blahblah 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.

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3916

-- 
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to