Expand description
CRY-02 PQ handshake transitions over the existing HandshakeState FSM.
Draft until FND-03 freeze: initiator share wire bytes are exactly
ml_kem_pk || x25519_pk with no version prefix. Responder share encoding,
length-delimited transcripts, dual proofs, and CRY-02.12 independent
vectors remain open. No security proof is claimed. Live KEM encapsulate
is not exercised here (RNG/provider); encodings + FSM + 0-RTT only.
Allowed successive states:
Idle → Reachability → SharesExchanged → HandshakeKeys → Proofs → Finished → Traffic
Constants§
- INITIATOR_
SHARE_ WIRE_ LEN - Exact initiator-share slice length:
ML_KEM_768_PK_LEN || X25519_LEN.
Functions§
- application_
data_ allowed - Application data is admitted only in
Traffic. Initial-profile 0-RTT is false. - classical_
only_ authority_ is_ enough - CRY-02.06 partial: classical-only controller/delegation is never sufficient.
- decode_
initiator_ share - Decode initiator share from
ml_kem_pk || x25519_pk. Truncatedsrcfails. Extra bytes areCryptoError::Malformed. Does not callinitiator_share. - encode_
initiator_ share - Encode initiator share as
ml_kem_pk || x25519_pk(draft; no version byte). - ml_
kem_ then_ x25519_ secret_ input - Concatenate ML-KEM shared secret then X25519 shared secret. Order is frozen.
- qlink_
domain - QLink HKDF/domain label. Distinct from
qsession_domain. - qsession_
domain - QSession HKDF/domain label. Distinct from
qlink_domain. - transition
- Advance
fromtotoonly whentois the immediate successor.