From: Tomas Paukrt Date: Tue, 27 Aug 2024 17:38:09 +0000 (+0200) Subject: lib: crypto: fix ASYMMETRIC_KEY_TYPE dependency X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=ccda0ba4614be9f03328123308da891940d5f5cd;p=u-boot.git lib: crypto: fix ASYMMETRIC_KEY_TYPE dependency Fix the dependency to avoid a warning if RSA_VERIFY_WITH_PKEY is enabled. Fixes: b7463f198da6 ("Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURE") Signed-off-by: Tomas Paukrt --- diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig index 6e0656ad1c..742f6d9d4e 100644 --- a/lib/crypto/Kconfig +++ b/lib/crypto/Kconfig @@ -1,6 +1,6 @@ menuconfig ASYMMETRIC_KEY_TYPE bool "Asymmetric (public-key cryptographic) key Support" - depends on FIT_SIGNATURE + depends on FIT_SIGNATURE || RSA_VERIFY_WITH_PKEY help This option provides support for a key type that holds the data for the asymmetric keys used for public key cryptographic operations such