You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
port/stmicro/stm32-tz: review fixes for NSC transport
- _NscServerRecv clears ctx->rsp_size up-front so error paths leave
no stale response state behind.
- _NscClientRecv rejects too-small caller buffers with WH_ERROR_BADARGS
instead of WH_ERROR_ABORTED; cached response is preserved for retry.
- _NscClientSend returns WH_ERROR_NOTREADY if a prior response has not
been consumed; propagates known WH_ERROR_* codes from the veneer.
- _NscServerCleanup zeroes the context so stale NS pointers cannot
survive a reinit.
- _NscServerSend documents the per-call veneer staging contract.
- Reorder whTransportNscServerContext fields to satisfy -Wpadded.
- Document WOLFHSM_CFG_PORT_STM32_TZ_NSC in wh_settings.h.
- Cover the new behaviors in wh_test_transport_nsc and add the NSC
contexts to the struct padding check.
0 commit comments