code wiki / (root) / nx_tls13_alpn_test.nx

nx_tls13_alpn_test.nx

buildroot/runtime/nx_tls13_alpn_test.nx

2685 B68 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic tls13
docsdependenciesstructsconstsfunctions

about

nx_tls13_alpn_test.nx -- smoke for the ALPN (RFC 7301) extension emitter. Verifies tls13_ext_emit_alpn_http11 produces the correct 15-byte wire sequence for advertising the single protocol "http/1.1" and that buffer-overflow detection works.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_tls13.nx nx_tls13_ext.nx nx_tls13_alpn_test.nx

imports: nx_syscalls.nxnx_tls13.nxnx_tls13_ext.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap tls13_ext_emit_alpn_http11 tls_write_u16_be

structs

none

consts

none

functions

10func main() -> i64