]> 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)
commitbce4cd3165e56e00fa61e5c3e0a9235f6e5b224f
tree42241cb1987e23b830660931249d0162d094f0ed
parente44229458a373f6b5bcd7d054685faad871c3d59
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