Re: [PATCH] crypto: add optional continuous repetition test toentropy store based rngs

From: Herbert Xu
Date: Thu Jun 04 2009 - 20:30:30 EST


On Thu, Jun 04, 2009 at 08:04:56PM -0400, Neil Horman wrote:
>
> Not sure what to do about this. The intent is to provide the external reference
> to the fips_enabled flag (which is either defined as an extern in or #defined to
> 0 dependent on CONFIG_CRYPTO_FIPS). I can cut'n'paste the code block from the
> include file and put it in here, but that seems like a worse solution to me.
> Let me know your thoughts, and I can change this accordingly.

You can put the fips flag into its own header file, e.g., linux/fips.h.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/