summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 854735d96dc3..dbaf19ea84e8 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -304,7 +304,8 @@ config MPILIB_EXTRA
config SIGNATURE
tristate "In-kernel signature checker"
- depends on KEYS
+ depends on KEYS && CRYPTO
+ select CRYPTO_SHA1
select MPILIB
help
Digital signature verification. Currently only RSA is supported.