From: Alec Ari <alec@onelabs.com>
To: linux-crypto@vger.kernel.org
Subject: [PATCH] crypto: Make FIPS_SIGNATURE_SELFTEST depend on CRYPTO_FIPS
Date: Mon, 15 Aug 2022 19:25:21 -0500 [thread overview]
Message-ID: <7a7256a76002583dc12ab84953aab59a@onelabs.com> (raw)
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
next reply other threads:[~2022-08-16 4:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-16 0:25 Alec Ari [this message]
2022-08-16 0:45 [PATCH] crypto: Make FIPS_SIGNATURE_SELFTEST depend on CRYPTO_FIPS Alec Ari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7a7256a76002583dc12ab84953aab59a@onelabs.com \
--to=alec@onelabs.com \
--cc=linux-crypto@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.