tests: fix codespell in gap white-box comments

Reword "statics" -> "static functions" in test_ed448_whitebox_gap.c and
test_wc_xmss_impl_whitebox_gap.c (codespell flags "statics").
This commit is contained in:
Daniele Lacamera
2026-07-17 08:56:03 +02:00
parent 0a560b0106
commit b34d8ba1d2
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -38,11 +38,11 @@
* API (every wrapper hard-codes non-NULL, well-formed arguments).
*
* Also closes the "key == NULL" operand of the sanity checks in three more
* HAVE_ED448_VERIFY file-statics: ed448_verify_msg_init_with_sha(),
* HAVE_ED448_VERIFY file-static functions: ed448_verify_msg_init_with_sha(),
* ed448_verify_msg_update_with_sha() and ed448_verify_msg_final_with_sha().
* wc_ed448_verify_msg_ex() (the non-streaming public entry point) always
* checks key == NULL itself before calling these, so that combination never
* reaches the statics from there; the WOLFSSL_ED448_STREAMING_VERIFY
* reaches the static functions from there; the WOLFSSL_ED448_STREAMING_VERIFY
* wc_ed448_verify_msg_init/update/final() wrappers compute `&key->sha` from
* the caller's key *before* calling the static, so a NULL key can only be
* driven into the static safely by calling it directly here (each static
@@ -145,7 +145,7 @@ static void wb_ed448_hash(void)
* (ORed with other arguments) that no public caller can trip: the
* non-streaming entry point (wc_ed448_verify_msg_ex()) checks key == NULL
* itself first, and the streaming wrappers dereference key (to take
* &key->sha) before ever calling these statics. Call the statics directly.
* &key->sha) before ever calling these static functions. Call the static functions directly.
* ------------------------------------------------------------------------- */
static void wb_ed448_verify_key_null(void)
{
@@ -31,7 +31,7 @@
* - internal to file-static BDS bookkeeping helpers that only run deep
* inside a multi-thousand-hash keygen/sign cycle.
*
* This white-box #includes wc_xmss_impl.c directly so those statics and
* This white-box #includes wc_xmss_impl.c directly so those static functions and
* link-local entry points are in scope, and drives each targeted decision's
* MC/DC independence pair with hand-built, deliberately tiny XmssParams
* (small tree heights so full keygen/sign/verify cycles stay cheap) instead