crypto: fips - Select CPRNG
authorNeil Horman <nhorman@tuxdriver.com>
Sun, 21 Jun 2009 13:38:03 +0000 (21:38 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 21 Jun 2009 13:38:03 +0000 (21:38 +0800)
The ANSI CPRNG has no dependence on FIPS support.  FIPS support however,
requires the use of the CPRNG.  Adjust that depedency relationship in Kconfig.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig

index 03ef1a986d8b604eec2609c15470bed5cb1d376f..f2002d8e5f67d565b1c51f72b3fe9beb27fb49f7 100644 (file)
@@ -23,6 +23,7 @@ comment "Crypto core or helper"
 
 config CRYPTO_FIPS
        bool "FIPS 200 compliance"
+       select CRYPTO_ANSI_CPRNG
        help
          This options enables the fips boot option which is
          required if you want to system to operate in a FIPS 200