Skip to main content

Module handshake

Module handshake 

Source
Expand description

Hybrid qpr-pq-1 handshake: ML-KEM-768 then X25519 into HKDF-SHA-384.

E02.5 splits share exchange, failure gates, and identity binding. The qualified profile keeps 0-RTT disabled (FORBIDDEN_ZERO_RTT).

Re-exports§

pub use failures::admit_early_application_data;
pub use failures::entropy_fill;
pub use failures::qualified_application_data;
pub use failures::qualified_handshake_gate;
pub use identity::identity_binding;
pub use identity::reject_reflected_share;
pub use identity::reject_unknown_key_share;
pub use identity::require_bound_identities;
pub use identity::require_identity_binding;
pub use shares::initiator_complete;
pub use shares::initiator_share;
pub use shares::responder_complete;
pub use shares::HandshakeState;
pub use shares::InitiatorShare;
pub use shares::ResponderShare;
pub use shares::FORBIDDEN_ZERO_RTT;
pub use super::schedule::derive_handshake_keys;
pub use super::schedule::HandshakeKeys;

Modules§

failures
Integrated handshake failure gate: entropy, 0-RTT/downgrade, and complete-path classification via crypto::network::malformed (not duplicated here).
identity
UKS, identity misbinding, and X25519 reflection checks.
shares
Share-exchange: initiator ML-KEM public + X25519, responder ciphertext + X25519.