summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorDmitry Kasatkin <d.kasatkin@samsung.com>2013-05-06 14:40:01 +0200
committerMimi Zohar <zohar@linux.vnet.ibm.com>2013-10-25 23:14:03 +0200
commitee08997fee16f10be23c9748d609dbdf3baab8e4 (patch)
tree30c2d08bc5e5048558f7b8950a268409360c57e5 /crypto/Kconfig
parentRevert "ima: policy for RAMFS" (diff)
downloadlinux-ee08997fee16f10be23c9748d609dbdf3baab8e4.tar.xz
linux-ee08997fee16f10be23c9748d609dbdf3baab8e4.zip
crypto: provide single place for hash algo information
This patch provides a single place for information about hash algorithms, such as hash sizes and kernel driver names, which will be used by IMA and the public key code. Changelog: - Fix sparse and checkpatch warnings - Move hash algo enums to uapi for userspace signing functions. Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 69ce573f1224..ba061b091d9f 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1386,6 +1386,9 @@ config CRYPTO_USER_API_SKCIPHER
This option enables the user-spaces interface for symmetric
key cipher algorithms.
+config CRYPTO_HASH_INFO
+ bool
+
source "drivers/crypto/Kconfig"
source crypto/asymmetric_keys/Kconfig