Commit Graph

23 Commits

Author SHA1 Message Date
JohnE 424f7607bd wolfssl: add SHA-256 and SHA-512 known-answer tests
The engine now refuses any directly used algorithm without a passing KAT,
and wolfSSL had none for its hashes.

Refs: R3
2026-11-16 21:15:29 -05:00
JohnE 3aec1a8460 wolfssl: add XChaCha, HKDF and HMAC self-test vectors
The cascade and HPKE key schedules use HKDF and HMAC, which had no
known-answer test, so a broken KDF passed the self-test gate.
Refs: R3-6
2026-11-16 19:56:43 -05:00
JohnE 9b11fb0c43 wolfssl: document the FIPS 140-3 build
Explains the bundle variables, configure options and the in-core
hash workflow for release builds.

Refs: R3-7
2026-11-16 19:56:43 -05:00
JohnE d92de9e60b wolfssl: report fips_mode from the FIPS self-test status
fips_mode must mean a validated module whose POST passed, not just a
build flag, so the policy can trust it.

Refs: R3-7
2026-11-16 19:56:43 -05:00
JohnE e68c3f5d46 wolfssl: build against the wolfCrypt FIPS bundle with fips
Release builds need the validated module (D-26); the build fails
when WOLFSSL_FIPS_SOURCE_DIR is missing instead of falling back.

Refs: R3-7
2026-11-16 19:56:43 -05:00
JohnE 6e8f51d23f core: add HQC-192 and FrodoKEM-976 IDs and KEM tiers
The oqs provider needs IDs for them, and the policy checks need a
tier per KEM like the AEADs have.

Refs: R3-5
2026-11-16 19:56:43 -05:00
JohnE 3e0481901c core: add Classic McEliece 460896f KEM ID
Ultra U2 uses the f variant for steady keygen; ID 54 stays as is.
Providers report it as not compiled until they implement it.

Refs: R3-9
2026-11-16 19:56:43 -05:00
JohnE f8c64390e3 wolfssl: fix HKDF-SHA-512 extract
wc_Tls13_HKDF_Extract rejects SHA-512 here, so every HKDF-SHA-512 call
failed; extract is now HMAC(salt, ikm), pinned by reference vectors.
Refs: R3-2
2026-11-16 19:56:43 -05:00
JohnE 7a10b28f2d core: add GCM-SIV, Ascon-AEAD128, X-Wing and tiers
The Rust registry becomes the single source of algorithm IDs and tiers
for CCC v2 (G-8); existing IDs keep their Dart values until R10.
Refs: R3-1
2026-11-16 19:56:43 -05:00
JohnE 80e0e65462 FIX: android ndk path set for cross compile build chain 2026-04-30 20:26:37 -07:00
JohnE cbad181ae6 FIX: wc_XChaCha20Poly1305_Init issues with null AAD when length 0, aad.as_prt() always passed now; also added mroe tests 2026-04-16 16:31:05 -07:00
JohnE 919d4bcc95 MOD: removed debug code 2026-03-13 19:27:34 -07:00
JohnE c9fd4542d7 FIX: build iOS fixes, parse the CMake-generated options.h to extract all #define directives 2026-03-13 19:26:50 -07:00
JohnE b1873b27be FIX: dummy forgot to export tests 2026-03-11 21:53:15 -07:00
JohnE 3ea964d3d9 MOD: cleanup move tests out of reg classes 2026-03-11 21:34:31 -07:00
JohnE cc72bb8919 FIX: test data was not accurate for AEAD 2026-03-11 21:33:48 -07:00
JohnE 68836cfff4 MOD: formatting 2026-03-11 16:12:12 -07:00
JohnE 971f1aeaaa MOD: fixed warnings 2026-03-11 01:47:24 -07:00
JohnE 836cf5063e MOD: milestone 1 complete, tests all pass 2026-02-26 13:52:29 -08:00
JohnE c1d6086214 MOD: build for macos with cargo binaries working 2026-02-24 16:22:59 -08:00
JohnE 4a7a6033b0 FIX: 3 bad test vectors, 3 failures was incorrect expected values in the conformance test vectors 2026-02-23 23:37:04 -08:00
JohnE 3b226d0319 FIX: lots of mis-match between what's in the generated bindings and what our code calls with wolfcrypt 2026-02-23 18:01:22 -08:00
JohnE 3c9320ffa5 NEW: first draft of crates 2026-02-23 14:59:04 -08:00