From 39b192225f81f9cff6bf87620c1a6cdf4509b0d0 Mon Sep 17 00:00:00 2001 From: Dominik Ermel Date: Tue, 8 Oct 2024 13:37:01 +0000 Subject: [PATCH] [nrf fromlist] zephyr: Fixing Kconfig dependency for SHA512 The SHA512_ALLOW Kconfig has been added to allow signature algorithms to select which SHA they support. Unfortunately it has been given dependency on PSA crypto, which now is problematic because if signature algorithm wants to indicate that it allows SHA512 it immediately becomes dependent on PSA crypto. The commit removes the dependency. Upstream PR: https://github.com/mcu-tools/mcuboot/pull/2088 Signed-off-by: Dominik Ermel (cherry picked from commit 7bfbd35cd6930ca78b24f3005c104cfe1fccd3da) --- boot/zephyr/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/boot/zephyr/Kconfig b/boot/zephyr/Kconfig index 38f447ca8..9d1bf07fc 100644 --- a/boot/zephyr/Kconfig +++ b/boot/zephyr/Kconfig @@ -143,7 +143,6 @@ config BOOT_IMG_HASH_ALG_SHA384_ALLOW config BOOT_IMG_HASH_ALG_SHA512_ALLOW bool - depends on BOOT_USE_PSA_CRYPTO help Hidden option set by configurations that allow SHA512