From: Neil Horman Date: Tue, 5 Aug 2008 06:13:08 +0000 (+0800) Subject: crypto: api - Add fips_enable flag X-Git-Tag: v2.6.28-rc1~726^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccb778e1841ce04b4c10b39f0dd2558ab2c6dcd4;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed