1
0
mirror of https://github.com/wolfSSL/wolfssl.git synced 2026-10-24 04:09:07 +03:00

tests: reword "statics" in MC/DC comments (codespell)

codespell reads "statics" as a misspelling of "statistics" and fails the
Codespell CI lane. Reword the whitebox doc comments/notes to "static
helpers" (falcon/frodokem/rsa fault white-boxes). Comment/string only.
This commit is contained in:
Daniele Lacamera
2026-07-29 09:43:32 +02:00
parent 290504d2d6
commit 6213cbf1cf
4 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@
* with well-formed, self-consistent operands, so the argument-check and
* bound-check decisions inside the file-static helpers cannot have both halves of
* each independence pair demonstrated from tests/api. This TU #includes falcon.c
* so the statics are in scope, and drives each targeted decision with both halves
* so the static helpers are in scope, and drives each targeted decision with both halves
* of every independence pair in a single binary (MC/DC is computed per binary).
*
* Two complementary techniques are used:

View File

@@ -25,7 +25,7 @@
* wolfcrypt/src/wc_frodokem.c and wolfcrypt/src/wc_frodokem_mat.c are compiled
* as SEPARATE translation units in the library, so each involved file gets its
* own white-box driver TU that #includes just that one .c (so llvm-cov
* instruments its file-statics), then #includes THIS header for the common
* instruments its file-static helpers), then #includes THIS header for the common
* main()/sweep. The harness links each driver against libwolfssl.a with only
* the one instrumented object trimmed, so the other FrodoKEM object is still
* provided by the archive -- make/encap/decap therefore run end to end in both

View File

@@ -23,7 +23,7 @@
* MC/DC fault-injection white-box for wolfcrypt/src/wc_frodokem.c.
*
* #includes wc_frodokem.c directly so llvm-cov instruments this file's copy
* (reaching its file-statics), then #includes the shared driver body which
* (reaching its file-static helpers), then #includes the shared driver body which
* installs the heap-fault injector and sweeps the fail-index across
* make/encap/decap for every compiled parameter set -- driving the FALSE
* (ret != 0) halves of wc_frodokem.c's allocation success chains. See

View File

@@ -452,7 +452,7 @@ int main(int argc, char** argv)
if (WANT("makekey"))
wb_makersakey_alloc_guard(&rng);
WB_NOTE("fault-index sweeps over public/private/check/der + statics done");
WB_NOTE("fault-index sweeps over public/private/check/der + helpers done");
}
mcdc_fa_disarm();