diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2008-08-05 14:13:08 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-08-29 15:50:02 +1000 |
commit | d39a490df11a8d5bc5fab0f9742a9a7dbbead099 (patch) | |
tree | 607291d711a1b633f0a18a7427e8444d91719be2 /crypto/rmd320.c | |
parent | 5b596af75262cecacd178dbfe89baafe91e26873 (diff) | |
download | linux-crypto-d39a490df11a8d5bc5fab0f9742a9a7dbbead099.tar.gz linux-crypto-d39a490df11a8d5bc5fab0f9742a9a7dbbead099.zip |
crypto: api - Add fips_enable flag
Add the ability to turn FIPS-compliant mode on or off at boot
In order to be FIPS compliant, several check may need to be preformed that may
be construed as unusefull in a non-compliant mode. This patch allows us to set
a kernel flag incating that we are running in a fips-compliant mode from boot
up. It also exports that mode information to user space via a sysctl
(/proc/sys/crypto/fips_enabled).
Tested successfully by me.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rmd320.c')
0 files changed, 0 insertions, 0 deletions