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>
This commit is contained in:

committed by
David Howells

parent
f1c316a3ab
commit
4cd4ca7cc8
@@ -90,6 +90,7 @@ config KEY_DH_OPERATIONS
|
|||||||
bool "Diffie-Hellman operations on retained keys"
|
bool "Diffie-Hellman operations on retained keys"
|
||||||
depends on KEYS
|
depends on KEYS
|
||||||
select MPILIB
|
select MPILIB
|
||||||
|
select CRYPTO
|
||||||
select CRYPTO_HASH
|
select CRYPTO_HASH
|
||||||
help
|
help
|
||||||
This option provides support for calculating Diffie-Hellman
|
This option provides support for calculating Diffie-Hellman
|
||||||
|
Reference in New Issue
Block a user