]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: fips - Move fips_enabled sysctl into fips.c
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 22 Apr 2015 05:25:56 +0000 (13:25 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Apr 2015 06:18:09 +0000 (14:18 +0800)
commit04062cb1d3d112c19f582aeedabc4679f7a8749f
tree42241cb1987e23b830660931249d0162d094f0ed
parent9c60c111f6c92775b2e34a3473de58adeb92f86c
crypto: fips - Move fips_enabled sysctl into fips.c

There is currently a large ifdef FIPS code section in proc.c.
Ostensibly it's there because the fips_enabled sysctl sits under
/proc/sys/crypto.  However, no other crypto sysctls exist.

In fact, the whole ethos of the crypto API is against such user
interfaces so this patch moves all the FIPS sysctl code over to
fips.c.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/fips.c
crypto/proc.c