Skip to content

Commit

Permalink
keys: select CONFIG_CRYPTO when selecting DH / KDF
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephan Müller authored and David Howells committed Apr 11, 2017
1 parent f1c316a commit 4cd4ca7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/keys/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4cd4ca7

Please sign in to comment.