From: Stephan Müller Date: Tue, 11 Apr 2017 11:07:07 +0000 (+0200) Subject: keys: select CONFIG_CRYPTO when selecting DH / KDF X-Git-Tag: v4.12-rc1~123^2~7^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4cd4ca7cc848bedc70b5d0acac9d1ae33d73513a;p=karo-tx-linux.git 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 Signed-off-by: David Howells --- 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 bool "Diffie-Hellman operations on retained keys" depends on KEYS select MPILIB + select CRYPTO select CRYPTO_HASH help This option provides support for calculating Diffie-Hellman