]> bbs.cooldavid.org Git - net-next-2.6.git/commit
crypto: fips - Depend on ansi_cprng
authorNeil Horman <nhorman@tuxdriver.com>
Thu, 20 Aug 2009 07:54:16 +0000 (17:54 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 20 Aug 2009 07:54:16 +0000 (17:54 +1000)
commit4e4ed83be6a64c8c9fe69c77f37a26bb62ed21f7
tree0418205d9bc498177b31c71d99233971ae145bda
parent63b5ac286d5d7f668da537cc53a552578f7674a2
crypto: fips - Depend on ansi_cprng

What about something like this?  It defaults the CPRNG to m and makes FIPS
dependent on the CPRNG.  That way you get a module build by default, but you can
change it to y manually during config and still satisfy the dependency, and if
you select N it disables FIPS as well.  I rather like that better than making
FIPS a tristate.  I just tested it out here and it seems to work well.  Let me
know what you think

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