Commit Graph

5 Commits

Author SHA1 Message Date
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 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 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