Skip to content

Commit bb5db1f

Browse files
committed
[nrf noup] zephyr: Workaround for psa_purge_key not linking with PSA lite
The commit disables KMU key locking when PSA lite is used. This should be replaced with proper fix in PSA lite linking. nrf-squash! [nrf noup] bootutil: Locking KMU keys Signed-off-by: Dominik Ermel <[email protected]>
1 parent 7810a8c commit bb5db1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/include/nrf_cleanup.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void nrf_cleanup_ns_ram(void);
2626
* crypto backend and apply key policies that should take effect after
2727
* MCUboot no longer needs access to keys.
2828
*/
29-
#if defined(CONFIG_BOOT_SIGNATURE_USING_KMU)
29+
#if defined(CONFIG_BOOT_SIGNATURE_USING_KMU) && !defined(CONFIG_PSA_CORE_LITE)
3030
extern void nrf_crypto_keys_housekeeping(void);
3131
#else
3232
#define nrf_crypto_keys_housekeeping() do {} while (0)

0 commit comments

Comments
 (0)