Skip to content

Conversation

@ahasztag
Copy link
Contributor

@ahasztag ahasztag commented Oct 31, 2025

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.

#endif /* CONFIG_BOOT_KMU_KEYS_REVOCATION */

#if defined(CONFIG_BOOT_SIGNATURE_USING_KMU)
void nrf_crypto_keys_housekeeping(void)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait. Is there a code that prevents us from calling nrf_crypto_keys_housekeeping?

Copy link
Contributor Author

@ahasztag ahasztag Oct 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You do not need to worry in this matter, see:

#define nrf_crypto_keys_housekeeping() do {} while (0)

nrf_crypto_keys_housekeeping will be defined as do {} while(0); if CONFIG_BOOT_SIGNATURE_USING_KMU is not set

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]>
@ahasztag ahasztag force-pushed the NCSDK-35179_no_houskeeping_its branch from ce911d0 to f018672 Compare October 31, 2025 10:53
@sonarqubecloud
Copy link

@nordicjm nordicjm merged commit 459288d into nrfconnect:main Nov 4, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants