Daniele Lacamera
83eaac453d
tests: guard frozen-module MC/DC tests against FIPS/selftest builds
...
The FIPS and CAVP-selftest CI legs overlay an ancient frozen wolfCrypt
per module (selftest ~= wc 4.1.0; FIPS v2 = WCv4-stable, older still).
New MC/DC tests call post-freeze wc_* APIs absent from those modules,
which fails to compile under -Werror on those legs. The campaign only
measures MC/DC on open per-module builds, never on FIPS/selftest, so
these functions gain no coverage there and only risk breaking CI.
Guard every affected test function with
!defined(HAVE_SELFTEST) && !defined(HAVE_FIPS) so it compiles out in
frozen builds, determined by diffing each header against both
v4.1.0-stable (selftest) and WCv4-stable (oldest FIPS v2):
- test_dh.c: SetNamedKey/CheckPubKey/CheckPrivKey/CheckKeyPair/
GenerateKeyPair* /Agree/ImportExport/SetKey (named-key, FFDHE,
DhAgree_ct, DhGeneratePublic, DhSetCheckKey - the last v2-only)
- test_ecc.c: mulmod + EccDecisionCoverage/2/4 (key_get_priv,
import_point_der_ex, gen_k, init_label, ctx_set_kdf_salt, ...)
- test_dsa.c: DsaKeyToPublicDer (add FIPS clause to existing selftest guard)
- test_hmac.c: HmacInit_Label, HmacInit_Id (wc_HmacInit_Id v2-only)
- test_random.c: RNG_SeedCb (wc_SetSeed_Cb)
- test_rsa.c: RsaFeatureCoverage (wc_InitRsaKey_Label)
- test_sha512.c: sha512 cryptocb fallback / default-devid variants
test_aes.c already handles this via per-feature guards (PR #10845 ).
Open build stays warning-clean and all guarded tests still run there.
2026-07-13 11:19:24 +02:00
..
2026-02-18 09:52:21 -07:00
2026-07-07 02:35:51 -05:00
2026-07-10 18:56:51 +02:00
2026-07-08 09:33:47 +10:00
2026-07-13 11:19:23 +02:00
2026-07-09 10:02:21 +02:00
2026-06-10 11:36:29 +02:00
2026-06-10 11:36:29 +02:00
2026-02-18 09:52:21 -07:00
2026-05-11 21:07:53 -07:00
2026-04-15 17:05:32 +10:00
2026-07-09 10:02:22 +02:00
2026-07-09 10:02:21 +02:00
2026-04-07 13:18:53 -05:00
2026-02-18 09:52:21 -07:00
2026-07-02 11:36:01 +02:00
2026-07-02 11:36:01 +02:00
2026-07-09 10:02:21 +02:00
2026-06-18 14:52:08 -06:00
2026-05-12 20:59:29 +00:00
2026-05-12 20:59:29 +00:00
2026-07-13 11:19:23 +02:00
2026-07-13 11:19:23 +02:00
2026-07-13 11:19:23 +02:00
2026-07-13 11:19:23 +02:00
2026-05-13 17:02:08 -07:00
2026-05-13 17:02:08 -07:00
2026-07-13 11:19:24 +02:00
2026-07-13 11:19:23 +02:00
2026-06-10 11:36:59 +02:00
2026-06-10 11:36:59 +02:00
2026-07-13 11:19:24 +02:00
2026-07-13 11:19:23 +02:00
2026-02-18 09:52:21 -07:00
2026-07-13 11:19:24 +02:00
2026-07-13 11:19:23 +02:00
2026-07-03 01:03:36 -05:00
2026-07-03 01:03:36 -05:00
2026-07-09 10:02:56 +09:00
2026-07-09 10:02:56 +09:00
2026-07-13 11:19:24 +02:00
2026-07-13 11:19:23 +02:00
2026-06-12 15:58:27 -04:00
2026-05-28 19:53:19 +02:00
2026-07-13 11:19:23 +02:00
2026-07-13 11:19:23 +02:00
2026-06-04 17:26:48 -05:00
2026-03-05 08:51:52 -06:00
2026-05-06 15:25:06 -06:00
2026-02-18 09:52:21 -07:00
2026-07-08 12:20:33 -07:00
2026-06-08 15:30:39 +02:00
2026-07-07 16:41:15 -07:00
2026-02-18 09:52:21 -07:00
2026-04-24 06:52:49 -06:00
2026-02-18 09:52:21 -07:00
2026-07-13 11:19:24 +02:00
2026-07-13 11:19:23 +02:00
2026-07-03 00:44:29 -05:00
2026-06-10 10:51:33 +02:00
2026-05-13 11:36:36 -06:00
2026-02-18 09:52:21 -07:00
2026-05-13 11:36:36 -06:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-06-04 18:29:24 +10:00
2026-05-28 19:34:09 +10:00
2026-05-28 19:34:09 +10:00
2026-05-12 20:59:29 +00:00
2026-05-12 20:59:29 +00:00
2026-07-10 11:51:52 -07:00
2026-07-10 11:51:52 -07:00
2026-07-10 11:51:52 -07:00
2026-07-07 17:41:49 -07:00
2026-02-18 09:52:21 -07:00
2026-07-02 11:36:01 +02:00
2026-07-02 11:36:01 +02:00
2026-04-13 15:50:26 +02:00
2026-02-18 09:52:21 -07:00
2026-06-10 11:36:29 +02:00
2026-05-07 02:33:58 +00:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-04-06 00:53:57 -05:00
2026-02-18 09:52:21 -07:00
2026-05-27 15:38:30 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-06-26 14:44:16 -06:00
2026-06-16 20:19:22 +02:00
2026-06-25 14:44:03 -06:00
2026-05-22 19:24:53 +03:00
2026-05-14 16:59:12 +00:00
2026-05-14 16:59:12 +00:00
2026-07-07 00:19:47 -05:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-07-08 09:33:47 +10:00
2026-07-08 09:33:47 +10:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-06-26 14:44:16 -06:00
2026-05-22 14:56:14 -06:00
2026-07-09 10:02:22 +02:00
2026-07-09 10:02:21 +02:00
2026-06-26 14:44:16 -06:00
2026-02-18 09:52:21 -07:00
2026-06-04 10:38:37 -07:00
2026-06-04 10:38:37 -07:00
2026-04-28 10:06:47 +00:00
2026-04-28 10:06:47 +00:00
2026-06-26 14:44:16 -06:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-07-07 16:02:27 +02:00
2026-07-07 16:02:27 +02:00
2026-07-09 10:02:21 +02:00
2026-02-18 09:52:21 -07:00
2026-07-09 10:02:21 +02:00
2026-07-07 16:02:27 +02:00
2026-07-09 10:02:21 +02:00
2026-07-09 10:02:21 +02:00
2026-07-09 10:02:22 +02:00
2026-07-09 10:02:21 +02:00
2026-07-13 11:19:23 +02:00
2026-04-10 15:43:21 +10:00
2026-06-01 14:23:38 -05:00
2026-05-20 07:25:35 -07:00
2026-07-13 11:19:24 +02:00
2026-07-13 11:19:23 +02:00
2026-07-02 11:36:01 +02:00
2026-07-02 11:36:01 +02:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-07-13 11:19:24 +02:00
2026-07-09 10:02:21 +02:00
2026-05-28 19:34:09 +10:00
2026-05-28 19:34:09 +10:00
2026-06-22 13:35:37 -06:00
2026-06-22 13:35:37 -06:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-07-13 11:19:24 +02:00
2026-06-04 20:21:50 +02:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-04-15 18:03:39 -06:00
2026-04-15 11:28:03 -06:00
2026-07-09 10:55:20 +02:00
2026-07-09 10:02:21 +02:00
2026-05-12 20:59:29 +00:00
2026-05-11 10:14:13 +02:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-04-14 13:25:15 +10:00
2026-04-14 13:25:15 +10:00
2026-06-10 12:05:00 -05:00
2026-06-10 09:11:59 +10:00
2026-07-09 10:27:57 -07:00
2026-07-08 06:17:36 +02:00
2026-06-10 12:05:00 -05:00
2026-06-10 09:11:59 +10:00
2026-07-09 12:05:17 -07:00
2026-07-08 12:36:35 -05:00
2026-06-26 14:44:16 -06:00
2026-06-11 15:29:51 -07:00
2026-07-08 10:52:59 -07:00
2026-07-08 10:52:59 -07:00
2026-07-08 09:33:47 +10:00
2026-07-08 09:33:47 +10:00
2026-04-10 15:43:21 +10:00
2026-04-10 15:43:21 +10:00
2026-07-13 11:19:23 +02:00
2026-07-13 11:19:23 +02:00
2026-06-04 18:29:24 +10:00
2026-04-13 17:02:51 -05:00