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 nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ tls13_ext_emit_alpn_http11 tls_write_u16_be

structs

none

consts

none

functions

10func main() -> i64