Skip to contentSkip to conversation

crypto: FIPS requires algorithm self-tests

PATCH In review Chuck Ebbert 2 participants 2 messages Aug 29, 2010 – Sep 3, 2010 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: FIPS requires algorithm self-tests

crypto: FIPS requires algorithm self-tests

---

Patch is against the latest cryptodev tree.

crypto/Kconfig +2 -3
@@ -23,13 +23,12 @@ comment "Crypto core or helper"
 
 config CRYPTO_FIPS
 	bool "FIPS 200 compliance"
-	depends on CRYPTO_ANSI_CPRNG
+	depends on CRYPTO_ANSI_CPRNG && !CRYPTO_MANAGER_DISABLE_TESTS
 	help
 	  This options enables the fips boot option which is
 	  required if you want to system to operate in a FIPS 200
 	  certification.  You should say no unless you know what
-	  this is. Note that CRYPTO_ANSI_CPRNG is required if this
-	  option is selected
+	  this is.
 
 config CRYPTO_ALGAPI
 	tristate
maintainer
#1 lore raw
Quoted 3 lines · Chuck Ebbert

crypto: FIPS requires algorithm self-tests

Patch applied. Thanks Chuck!

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt