diff --git a/hal/mcxn.c b/hal/mcxn.c index 72d55a3b..da96b747 100644 --- a/hal/mcxn.c +++ b/hal/mcxn.c @@ -71,12 +71,14 @@ #include #include +#ifdef WOLFBOOT_UDS_UID_FALLBACK_FORTEST static NOINLINEFUNCTION void hal_uds_zeroize(void *ptr, size_t len) { volatile uint8_t *p = (volatile uint8_t *)ptr; while (len-- > 0U) *p++ = 0U; } +#endif /* Derive UDS from device UUID for software DICE testing. * NOT secure — UUID is publicly observable. Only enabled with