diff options
author | Stephan Müller <smueller@chronox.de> | 2017-04-11 07:07:07 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-04-11 18:18:09 -0400 |
commit | 4cd4ca7cc848bedc70b5d0acac9d1ae33d73513a (patch) | |
tree | 47d83e6053a11e3bd3c3ee003d61feb934c9aab9 | |
parent | f1c316a3ab9d24df6022682422fe897492f2c0c8 (diff) |
keys: select CONFIG_CRYPTO when selecting DH / KDF
Select CONFIG_CRYPTO in addition to CONFIG_HASH to ensure that
also CONFIG_HASH2 is selected. Both are needed for the shash
cipher support required for the KDF operation.
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | security/keys/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/keys/Kconfig b/security/keys/Kconfig index 4ac1b83a23f8..6fd95f76bfae 100644 --- a/security/keys/Kconfig +++ b/security/keys/Kconfig | |||
@@ -90,6 +90,7 @@ config KEY_DH_OPERATIONS | |||
90 | bool "Diffie-Hellman operations on retained keys" | 90 | bool "Diffie-Hellman operations on retained keys" |
91 | depends on KEYS | 91 | depends on KEYS |
92 | select MPILIB | 92 | select MPILIB |
93 | select CRYPTO | ||
93 | select CRYPTO_HASH | 94 | select CRYPTO_HASH |
94 | help | 95 | help |
95 | This option provides support for calculating Diffie-Hellman | 96 | This option provides support for calculating Diffie-Hellman |