summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorDmitry Kasatkin <d.kasatkin@samsung.com>2013-05-06 15:40:01 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-04-09 16:48:20 +0300
commite8e9ae221bbb157993ec18c26c5fc8249721b7fd (patch)
tree9b477ac2ab242d2aa483e6170c173d45a5dc38bd /crypto/Kconfig
parent6425c0e1f8a5d0d698c9b604de7f55b85ccddf1f (diff)
crypto: provide single place for hash algo information
Required to build backports-5.4. cherry picked from commit ee08997fee16f10be23c9748d609dbdf3baab8e4 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. Related-to: ELB-2388 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> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
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 bf8148e74e73..ae57a40ba612 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1395,6 +1395,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