From: Simo Sorce <simo(a)redhat.com>
Make CRYPTO_EC also builtin
Our current plan is to build crypto modules that we may want to certify
with FIPS-140-3 statically in the kernel.
So add ECDH and ECDSA as well. We currently already claim ECDSA in RHEL-8
kernels. Adding ECDH for completeness.
Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1947240
Signed-off-by: Simo Sorce <simo(a)redhat.com>
diff a/redhat/configs/common/generic/CONFIG_CRYPTO_ECDH
b/redhat/configs/common/generic/CONFIG_CRYPTO_ECDH
--- a/redhat/configs/common/generic/CONFIG_CRYPTO_ECDH
+++ b/redhat/configs/common/generic/CONFIG_CRYPTO_ECDH
@@ -1 +1 @@
-CONFIG_CRYPTO_ECDH=m
+CONFIG_CRYPTO_ECDH=y
diff a/redhat/configs/common/generic/CONFIG_CRYPTO_ECDSA
b/redhat/configs/common/generic/CONFIG_CRYPTO_ECDSA
--- a/redhat/configs/common/generic/CONFIG_CRYPTO_ECDSA
+++ b/redhat/configs/common/generic/CONFIG_CRYPTO_ECDSA
@@ -1 +1 @@
-CONFIG_CRYPTO_ECDSA=m
+CONFIG_CRYPTO_ECDSA=y
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1150