Skip to contentSkip to conversation

crypto: Make FIPS_SIGNATURE_SELFTEST depend on CRYPTO_FIPS

PATCH New Alec Ari 1 participant 1 message Aug 16, 2022

Subsystems (2)
lore
Share & tools
lore

Alec Ari

author
#0 lore raw

PATCH 1/1 crypto: Make FIPS_SIGNATURE_SELFTEST depend on CRYPTO_FIPS

From: Alec Ari <[email protected]>
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?

---
 crypto/asymmetric_keys/Kconfig | 1 +
 1 file changed, 1 insertion(+)
crypto/asymmetric_keys/Kconfig +1 -0
index 3df3fe4ed..562bbd774 100644
@@ -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
Signature · 1 line
2.37.2