Commit 4264147
committed
STM32 BARE: cleanup pass -- diag docs and dead-code removal
- Document the WC_STM32_PKA_DIAG and WC_STM32_SAES_DIAG opt-in debug
gates near the top of the BARE block in stm32.c. Both go through the
board's board_putc retarget and stay off by default; useful for
diagnosing PKA init / op timeout / OUT_ERROR and AES/SAES CCF poll
timeout when bringing up a new board.
- Remove the WOLFSSL_STM32_DHUK_FORCE_SAES_S diagnostic gate. It was
added to test whether the DHUK NS-decrypt hang was caused by the
SAES <-> SAES_NS alias choice on TZEN=0 silicon. The test returned
a negative result -- the alias is not the gating factor -- so the
gate has no remaining use. The hand-off in
/tmp/stm32-dhuk-tz-harness-2026-05-19.md captures the conclusion
and the next-step TZ path.
- Drop the orphan WOLFSSL_STM32_DHUK_FORCE_SAES_S entry from
.wolfssl_known_macro_extras and re-verify LC_ALL=C lex order.1 parent 5d84615 commit 4264147
2 files changed
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
967 | 967 | | |
968 | 968 | | |
969 | 969 | | |
970 | | - | |
971 | 970 | | |
972 | 971 | | |
973 | 972 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
| |||
2276 | 2285 | | |
2277 | 2286 | | |
2278 | 2287 | | |
2279 | | - | |
2280 | | - | |
2281 | | - | |
2282 | | - | |
2283 | | - | |
2284 | | - | |
2285 | | - | |
2286 | 2288 | | |
2287 | 2289 | | |
2288 | 2290 | | |
| |||
0 commit comments