Skip to content

Commit b5ba12b

Browse files
ahasztagtomchy
authored andcommitted
[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 <[email protected]> (cherry picked from commit 459288d)
1 parent 6d1e8be commit b5ba12b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

boot/bootutil/src/ed25519_psa.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ int exec_revoke(void)
187187
}
188188
#endif /* CONFIG_BOOT_KMU_KEYS_REVOCATION */
189189

190+
#if defined(CONFIG_BOOT_SIGNATURE_USING_KMU)
190191
void nrf_crypto_keys_housekeeping(void)
191192
{
192193
psa_status_t status;
@@ -212,5 +213,6 @@ void nrf_crypto_keys_housekeeping(void)
212213
key_ids[i], i, status);
213214
}
214215
}
216+
#endif
215217

216218
#endif

0 commit comments

Comments
 (0)