nx_quic_hs.nx
buildroot/runtime/nx_quic_hs.nx
about
nx_quic_hs.nx -- RUNG 6b of the sovereign QUIC transport: TLS 1.3 handshake-message framing (RFC 8446
sec 4) + CRYPTO-frame offset reassembly. In QUIC, TLS handshake messages do NOT use TLS records -- they
are carried as a byte stream inside CRYPTO frames (R4), each fragment at an offset. R6b frames the
messages (type + uint24 length + body) and reassembles fragments into the contiguous handshake buffer
that the sovereign TLS state machine (R6d) consumes. No float. license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_quic_hs_test.nx
structs
| none |
consts
| 9 | const HS_CLIENT_HELLO: i64 = 1 |
| 10 | const HS_SERVER_HELLO: i64 = 2 |
| 11 | const HS_ENCRYPTED_EXTENSIONS: i64 = 8 |
| 12 | const HS_CERTIFICATE: i64 = 11 |
| 13 | const HS_CERTIFICATE_VERIFY: i64 = 15 |
| 14 | const HS_FINISHED: i64 = 20 |
functions
| 17 | func quic_hs_encode(out: *u8, msg_type: i64, body: *u8, body_len: i64) -> i64 called by 1: main |
| 28 | func quic_hs_parse(buf: *u8, n: i64, info: *i64) -> i64 called by 1: main |
| 40 | func quic_hs_reassemble(hsbuf: *u8, data: *u8, offset: i64, dlen: i64, hwm: i64) -> i64 called by 1: main |
| 47 | func main() -> i64 { return 0 } |