From f01867226f9ff31ad20a8277542ee3a279e82fa3 Mon Sep 17 00:00:00 2001 From: Artur Hadasz Date: Fri, 31 Oct 2025 09:09:21 +0100 Subject: [PATCH] [nrf noup] bootutil: Fix ITS key locking compile error nrf-squash! [nrf noup] bootutil: Locking KMU keys KMU key locking is not available in case ITS is used. Old code cause compilation errors when build for signature using ITS. Signed-off-by: Artur Hadasz --- boot/bootutil/src/ed25519_psa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/bootutil/src/ed25519_psa.c b/boot/bootutil/src/ed25519_psa.c index c7e3910b1..541fc0155 100644 --- a/boot/bootutil/src/ed25519_psa.c +++ b/boot/bootutil/src/ed25519_psa.c @@ -187,6 +187,7 @@ int exec_revoke(void) } #endif /* CONFIG_BOOT_KMU_KEYS_REVOCATION */ +#if defined(CONFIG_BOOT_SIGNATURE_USING_KMU) void nrf_crypto_keys_housekeeping(void) { psa_status_t status; @@ -212,5 +213,6 @@ void nrf_crypto_keys_housekeeping(void) key_ids[i], i, status); } } +#endif #endif