]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
keys: select CONFIG_CRYPTO when selecting DH / KDF
authorStephan Müller <smueller@chronox.de>
Tue, 11 Apr 2017 11:07:07 +0000 (13:07 +0200)
committerDavid Howells <dhowells@redhat.com>
Tue, 11 Apr 2017 22:18:09 +0000 (23:18 +0100)
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>
security/keys/Kconfig

index 4ac1b83a23f8f8f6240882a805b4d65ec3911c26..6fd95f76bfaeaf4a300219ee290048c3913632a5 100644 (file)
@@ -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