Explorar o código

crypto: fips - FIPS requires algorithm self-tests

Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Chuck Ebbert %!s(int64=14) %!d(string=hai) anos
pai
achega
e84c5480b7
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      crypto/Kconfig

+ 2 - 3
crypto/Kconfig

@@ -23,13 +23,12 @@ comment "Crypto core or helper"
 
 
 config CRYPTO_FIPS
 config CRYPTO_FIPS
 	bool "FIPS 200 compliance"
 	bool "FIPS 200 compliance"
-	depends on CRYPTO_ANSI_CPRNG
+	depends on CRYPTO_ANSI_CPRNG && !CRYPTO_MANAGER_DISABLE_TESTS
 	help
 	help
 	  This options enables the fips boot option which is
 	  This options enables the fips boot option which is
 	  required if you want to system to operate in a FIPS 200
 	  required if you want to system to operate in a FIPS 200
 	  certification.  You should say no unless you know what
 	  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
 config CRYPTO_ALGAPI
 	tristate
 	tristate