* [PATCH] crypto: Make FIPS_SIGNATURE_SELFTEST depend on CRYPTO_FIPS
@ 2022-08-16 0:25 Alec Ari
0 siblings, 0 replies; 2+ messages in thread
From: Alec Ari @ 2022-08-16 0:25 UTC (permalink / raw)
To: linux-crypto
From: Alec Ari <alec@onelabs.com>
Date: Mon, 15 Aug 2022 19:13:12 -0500
Subject: crypto: Make FIPS_SIGNATURE_SELFTEST depend on CRYPTO_FIPS
Would running FIPS selftests be necessary if FIPS is disabled?
Signed-off-by: Alec Ari <alec@onelabs.com>
---
crypto/asymmetric_keys/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/crypto/asymmetric_keys/Kconfig
b/crypto/asymmetric_keys/Kconfig
index 3df3fe4ed..562bbd774 100644
--- a/crypto/asymmetric_keys/Kconfig
+++ b/crypto/asymmetric_keys/Kconfig
@@ -81,6 +81,7 @@ config FIPS_SIGNATURE_SELFTEST
This option causes some selftests to be run on the signature
verification code, using some built in data. This is required
for FIPS.
+ depends on CRYPTO_FIPS
depends on KEYS
depends on ASYMMETRIC_KEY_TYPE
depends on PKCS7_MESSAGE_PARSER
--
2.37.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] crypto: Make FIPS_SIGNATURE_SELFTEST depend on CRYPTO_FIPS
@ 2022-08-16 0:45 Alec Ari
0 siblings, 0 replies; 2+ messages in thread
From: Alec Ari @ 2022-08-16 0:45 UTC (permalink / raw)
To: linux-crypto
From: Alec Ari <alec@onelabs.com>
Date: Mon, 15 Aug 2022 19:13:12 -0500
Subject: crypto: Make FIPS_SIGNATURE_SELFTEST depend on CRYPTO_FIPS
Would running FIPS selftests be necessary if FIPS is disabled?
Signed-off-by: Alec Ari <alec@onelabs.com>
---
crypto/asymmetric_keys/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/crypto/asymmetric_keys/Kconfig b/crypto/asymmetric_keys/Kconfig
index 3df3fe4ed..562bbd774 100644
--- a/crypto/asymmetric_keys/Kconfig
+++ b/crypto/asymmetric_keys/Kconfig
@@ -81,6 +81,7 @@ config FIPS_SIGNATURE_SELFTEST
This option causes some selftests to be run on the signature
verification code, using some built in data. This is required
for FIPS.
+ depends on CRYPTO_FIPS
depends on KEYS
depends on ASYMMETRIC_KEY_TYPE
depends on PKCS7_MESSAGE_PARSER
--
2.37.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-16 4:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16 0:25 [PATCH] crypto: Make FIPS_SIGNATURE_SELFTEST depend on CRYPTO_FIPS Alec Ari
2022-08-16 0:45 Alec Ari
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.