crypto: ansi_cprng - Move FIPS functions under CONFIG_CRYPTO_FIPS
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Mon, 23 Nov 2009 12:25:50 +0000 (20:25 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Nov 2009 12:25:50 +0000 (20:25 +0800)
commit2f32bfd834d5d7eb230bcbf39aaacccd2a01d767
tree82f214b733e93ff81c4f0da45a756fe9fdc4dee2
parent507069c91e36786b3fa5d9515c35ed6bb0ce469b
crypto: ansi_cprng - Move FIPS functions under CONFIG_CRYPTO_FIPS

fips_cprng_get_random and fips_cprng_reset is used only by
CONFIG_CRYPTO_FIPS. This also fixes compilation warnings:

 crypto/ansi_cprng.c:360: warning: ‘fips_cprng_get_random’ defined but not used
 crypto/ansi_cprng.c:393: warning: ‘fips_cprng_reset’ defined but not used

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ansi_cprng.c