From: Štěpán Horáček <shora...@redhat.com>

redhat/configs: Disable TPM2 HMAC sessions

JIRA: https://issues.redhat.com/browse/RHEL-82779

Since CONFIG_CRYPTO_LIB_AESCFB was previously selected by the now
disabled config, change it to a visible symbol and enable it.

Upstream status: RHEL-only

Signed-off-by: Štěpán Horáček <shora...@redhat.com>

diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig
index blahblah..blahblah 100644
--- a/lib/crypto/Kconfig
+++ b/lib/crypto/Kconfig
@@ -9,7 +9,7 @@ config CRYPTO_LIB_AES
        tristate
 
 config CRYPTO_LIB_AESCFB
-       tristate
+       tristate "Minimal library implementation of AES in CFB mode"
        select CRYPTO_LIB_AES
        select CRYPTO_LIB_UTILS
 
diff --git a/redhat/configs/rhel/generic/CONFIG_CRYPTO_LIB_AESCFB 
b/redhat/configs/rhel/generic/CONFIG_CRYPTO_LIB_AESCFB
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/generic/CONFIG_CRYPTO_LIB_AESCFB
@@ -0,0 +1 @@
+CONFIG_CRYPTO_LIB_AESCFB=y
diff --git a/redhat/configs/rhel/generic/CONFIG_TCG_TPM2_HMAC 
b/redhat/configs/rhel/generic/CONFIG_TCG_TPM2_HMAC
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/generic/CONFIG_TCG_TPM2_HMAC
@@ -0,0 +1 @@
+# CONFIG_TCG_TPM2_HMAC is not set

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

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
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/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to