Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6559e221 authored by Jason Cooper's avatar Jason Cooper Committed by Greg Kroah-Hartman
Browse files

staging: crypto: skein: depend upon CRYPTO



Fengguang's randconfig kernel build tester discovered the following
warnings:

warning: (CRYPTO_THREEFISH) selects CRYPTO_ALGAPI which has unmet direct dependencies (CRYPTO)
warning: (DM_VERITY && CRYPTO_SKEIN) selects CRYPTO_HASH which has unmet direct dependencies (CRYPTO)

Fix this in the Kconfig by depending on CRYPTO.

Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 50667c67
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
config CRYPTO_SKEIN
	bool "Skein digest algorithm"
	depends on (X86 || UML_X86) && 64BIT
	depends on (X86 || UML_X86) && 64BIT && CRYPTO
	select CRYPTO_THREEFISH
	select CRYPTO_HASH
	help
@@ -17,7 +17,7 @@ config CRYPTO_SKEIN

config CRYPTO_THREEFISH
	bool "Threefish tweakable block cipher"
	depends on (X86 || UML_X86) && 64BIT
	depends on (X86 || UML_X86) && 64BIT && CRYPTO
	select CRYPTO_ALGAPI
	help
	  Threefish cipher algorithm is the tweakable block cipher underneath