JohnE
4fa2651fe4
deps: pair bindgen 0.73 with prettyplease 0.3
...
The lock paired it with prettyplease 0.2 (syn 2), so the AWS-LC-FIPS
build failed to compile bindgen.
Refs: R3
2026-11-16 21:33:14 -05:00
JohnE
cdb600225f
cascade: test against AWS-LC instead of wolfSSL
...
AWS-LC is the default vetted provider now; wolfSSL is opt-in.
Refs: R3
2026-11-16 20:55:55 -05:00
JohnE
d2d2224c1e
conformance: run the CCC v2 cascade vectors on awslc
...
Moving the AES-GCM anchor (and so the HKDF key schedule) or every layer
awslc offers onto it must reproduce cascade_v2.json byte for byte.
Refs: R3
2026-11-16 20:34:06 -05:00
JohnE
7de21de817
conformance: cross-check the awslc provider
...
awslc must reproduce the pinned vectors byte for byte and interoperate on
KEMs; regenerating only added it to provider lists, no output changed.
Refs: R3
2026-11-16 20:34:06 -05:00
JohnE
0631c1c637
awslc: add the aws-lc-rs provider crate with AEADs
...
aws-lc-rs (Apache-2.0/ISC) replaces wolfSSL as the vetted provider and
FIPS anchor; start with AES-256-GCM, AES-256-GCM-SIV and ChaCha20-Poly1305.
Refs: R3
2026-11-16 20:33:07 -05:00
JohnE
bb6a09bd06
conformance: cross-check the boring provider
...
BoringProvider must reproduce every shared vector byte for byte; the
regenerated file only adds "boring" to the provider lists.
Refs: R3
2026-11-16 20:26:52 -05:00
JohnE
0ed4d9bb19
boring: add BoringSSL provider crate with SHA-2
...
Second native provider after the move off wolfSSL, backed by boring 5.5.0.
Starts with the crate skeleton and SHA-256/384/512.
Refs: R3
2026-11-16 20:26:52 -05:00
JohnE
04643dbe97
workspace: refresh Cargo.lock for 0.2.0
...
The new crates were locked at 0.1.0 before the rebase onto the bump.
Refs: R3
2026-11-16 20:04:21 -05:00
JohnE
2fad139f73
cascade: pin CCC v2 and STREAM vectors across providers
...
Cascade output is pinned per built-in suite, and moving a layer to the
other provider must give identical bytes (R3 exit).
Refs: R3-6
2026-11-16 19:56:43 -05:00
JohnE
64082b98a8
oqs: cross-check McEliece against the rustcrypto provider
...
Keys and ciphertexts from either implementation must work in the
other, including implicit rejection.
Refs: R3-9
2026-11-16 19:56:43 -05:00
JohnE
355bfe3c2e
oqs: add experimental liboqs provider crate as a stub
...
Without the liboqs feature it offers nothing, so default builds need
no cmake. The feature builds once the KEM and self-test land.
Refs: R3-5
2026-11-16 19:56:43 -05:00
JohnE
7ba9f6c996
rustcrypto: add Classic McEliece 460896f behind a feature
...
Ultra U2 needs a conservative KEM; work runs on an 8 MiB worker stack
so small caller threads cannot overflow. Not yet marked available.
Refs: R3-9
2026-11-16 19:56:43 -05:00
JohnE
92c75616ef
cascade: add Argon2id with explicit parameters
...
Keyslots record their own Argon2id costs per profile; the providers'
Argon2id has one fixed set. Cross-checked against both providers.
Refs: R5-3
2026-11-16 19:56:43 -05:00
JohnE
9ee740497b
cascade: test built-in suites with both real providers
...
Each suite resolves and round-trips at 1, 3 and 16 rounds, and release
policy refuses this non-FIPS build (fail closed, D-26).
Refs: R3-3, R3-7
2026-11-16 19:56:43 -05:00
JohnE
ba0cda4d26
conformance: pin cross-provider vectors for wolfssl and rustcrypto
...
Every algorithm both providers offer must give byte-identical output;
the vectors are checked in so CI catches drift in either provider.
Refs: R3-6
2026-11-16 19:56:43 -05:00
JohnE
2f1248e447
rustcrypto: add X25519, ML-KEM and X-Wing KEMs
...
Pure-Rust KEMs for the hybrid key agreement; ML-KEM keys are 64-byte
FIPS 203 seeds and X25519 keeps the wolfSSL ephemeral-DH convention.
Refs: R3-4
2026-11-16 19:56:43 -05:00
JohnE
2a8dbdcd6b
rustcrypto: add HKDF, BLAKE2b KDF and Argon2id
...
Same semantics as the wolfSSL provider (zero salt, 255*HashLen cap,
64 MiB/3/4 Argon2id) so either provider derives identical keys.
Refs: R3-4
2026-11-16 19:56:43 -05:00
JohnE
bb5473eeca
rustcrypto: add hash and MAC primitives
...
SHA-2, SHA-3 and BLAKE2b digests plus HMAC, keyed BLAKE2b and Poly1305,
matching the wolfSSL provider's key and tag conventions.
Refs: R3-4
2026-11-16 19:56:43 -05:00
JohnE
bc589960c8
rustcrypto: add pure-Rust provider crate with AEADs
...
Second, independent AEAD implementation for cascade layers (provider
diversity): AES-256-GCM, AES-256-GCM-SIV, (X)ChaCha20-Poly1305, Ascon-AEAD128.
Refs: R3-4
2026-11-16 19:56:43 -05:00
JohnE
7776380a93
cascade: add secret types and bucket padding
...
Secrets never print and are wiped on drop (S8); padding hides sizes
behind buckets and unpads strictly.
Refs: R3-2, R3-8
2026-11-16 19:56:43 -05:00
JohnE
110d33443f
workspace: bump version to 0.2.0 and set authors
...
Owner's pending version bump, committed before merging the v2 work.
Refs: R3
2026-11-16 19:56:34 -05:00
JohnE
db897b5abe
MOD: decupple this rust project from dart
2026-02-24 18:47:25 -08:00
JohnE
c1d6086214
MOD: build for macos with cargo binaries working
2026-02-24 16:22:59 -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