code wiki / (root) / nx_quic_tls_schedule.nx

nx_quic_tls_schedule.nx

buildroot/runtime/nx_quic_tls_schedule.nx

2584 B57 linesdepth 8pulls 10 transitivereach 1 importersview sourcekind tooltopic quic
docsdependenciesstructsconstsfunctions

about

nx_quic_tls_schedule.nx -- RUNG 6c of the sovereign QUIC transport: the TLS 1.3 key schedule (RFC 8446 sec 7.1) that turns the (EC)DHE shared secret into the handshake + 1-RTT traffic secrets. QUIC reuses TLS 1.3's schedule unchanged; the 1-RTT app secret then feeds R5a's quic key/iv/hp derivation to protect DATAGRAM-carrying packets. Built on the sovereign HKDF (R5a). Gated byte-exact against the RFC 8448 trace. No float. license_tier: ORIGINAL

dependencies 1 imports · 1 importers

nx_quic_keys.nx nx_quic_tls_schedule.nx nx_quic_tls_schedule_test.nx

imports: nx_quic_keys.nx

imported by: nx_quic_tls_schedule_test.nx

structs

none

consts

none

functions

9func tls13_empty_hash(out: *u8) -> i64
23func tls13_early_secret(out: *u8) -> i64
called by 1: main
31func tls13_derived_secret(secret: *u8, out: *u8) -> i64
38func tls13_handshake_secret(derived_from_early: *u8, ecdhe: *u8, ecdhe_len: i64, out: *u8) -> i64
called by 1: main
44func tls13_master_secret(handshake_secret: *u8, out: *u8) -> i64
52func tls13_traffic_secret(secret: *u8, label: *u8, label_len: i64, transcript_hash: *u8, out: *u8) -> i64
57func main() -> i64 { return 0 }