Skip to main content

Module session

Module session 

Source
Expand description

Session protocol — Phase 3 prototype. Mirrors tools/tf-types-ts/src/core/session.ts byte-for-byte where deterministic.

3-message handshake (HelloI, HelloR, Auth) followed by sequence-numbered AEAD frames. Rekey is in-band via rekey-req / rekey-ack.

Structs§

Auth
HelloI
HelloR
Initiator
Responder
SessionConfig
SessionState

Enums§

Role
SessionError
SessionFrame

Constants§

KNOWN_SESSION_SUITES
Suites this build of TrustForge knows how to honour. Order is preference.
SESSION_SUITE
SESSION_SUITE_HYBRID_ED25519_MLDSA65
SESSION_VERSION