From c87d900ee7b9a65fd989f4946105eaae5421c393 Mon Sep 17 00:00:00 2001 From: Georgios Vasilakis Date: Fri, 8 Aug 2025 12:52:24 +0200 Subject: [PATCH] [nrf noup] boot: zephyr: Adjust PSA requirements for PSA_CORE_LITE nrf-squash! [nrf noup] boot: zephyr: Kconfig dependencies for PSA LITE The PSA core lite now requires the PSA_WANTs for the hashing functions to be set in order to be used so select them as normal. Signed-off-by: Georgios Vasilakis --- boot/zephyr/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot/zephyr/Kconfig b/boot/zephyr/Kconfig index cdb4d29cc..4ddd138d7 100644 --- a/boot/zephyr/Kconfig +++ b/boot/zephyr/Kconfig @@ -74,14 +74,14 @@ if BOOT_USE_PSA_CRYPTO config BOOT_PSA_IMG_HASH_ALG_SHA256_DEPENDENCIES bool default y if BOOT_SOMETHING_USES_SHA256 - select PSA_WANT_ALG_SHA_256 if !PSA_CORE_LITE + select PSA_WANT_ALG_SHA_256 help Dependencies for hashing with SHA256 config BOOT_PSA_IMG_HASH_ALG_SHA512_DEPENDENCIES bool default y if BOOT_SOMETHING_USES_SHA512 - select PSA_WANT_ALG_SHA_512 if !PSA_CORE_LITE + select PSA_WANT_ALG_SHA_512 help Dependencies for hashing with SHA512