Commit Graph

10 Commits

Author SHA1 Message Date
JohnE a3b33ae10c cascade: compare lineages and refuse provider aliases
Release policy now requires distinct adjacent lineages, and no provider can
be registered under another provider's name or a slot name.

Refs: R3
2026-11-16 21:03:11 -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 f8bca636b5 cascade: bind the vetted layer through a provider slot
Built-in suites name a 'vetted' slot that AWS-LC, BoringSSL or wolfSSL can
fill; the ciphertext does not depend on which one.

Refs: R3
2026-11-16 20:20:13 -05:00
JohnE 44a10149ce cascade: add HPKE PSK mode
LGP's Ultra U2 layer passes the McEliece secret as the HPKE PSK (spec
§8.5); interop with the hpke crate is tested both ways.
Refs: R4-10
2026-11-16 19:56:43 -05:00
JohnE 61e135f48d cascade: anchor the key schedule in the FIPS AES-GCM layer
Release suites need AES-256-GCM from a FIPS provider, whose HKDF keys
every layer; untested algorithms are refused; suite and rounds join the
HKDF info; STREAM gets a consuming finish().
Refs: R3-3, R3-6, R3-7
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 71d07bd495 cascade: add RFC 9180 HPKE base mode over the providers
Inbox seals and LGP hand-outs use X-Wing HPKE with the vetted AEAD and
KDF; interop is checked against the independent hpke crate.
Refs: R3-9
2026-11-16 19:56:43 -05:00
JohnE 743e9ee00e cascade: add STREAM mode for blobs
64 KiB segments with counter and last-flag nonces, so blobs cannot be
reordered or truncated, with memory bounded by one segment.
Refs: R3-2
2026-11-16 19:56:43 -05:00
JohnE 7058c5ffa4 cascade: add CCC v2 seal and open with suite policy
Independent HKDF-SHA-512 key and nonce per layer per round, AAD bound to
suite and layout, at most 16 rounds, fail closed on policy or self-test.
Refs: R3-2, R3-3, R3-6
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