nx_tls13_handshake_tcp_test.nx
buildroot/runtime/nx_tls13_handshake_tcp_test.nx
about
nx_tls13_handshake_tcp_test.nx -- full TLS 1.3 client+server
handshake driven over real TCP sockets via fork loopback.
Same state-machine sequence as nx_tls13_loopback_test (which runs
in-process), but each message hop crosses a real kernel socket.
Plaintext throughout (the AEAD record-protection layer is a
SEPARATE wrap exercised by nx_https_class_loopback_x86_64_smoke).
This is the substrate-level proof that the client+server state
machines can drive a complete TLS 1.3 handshake to mutual
CONNECTED with byte-exact transcripts -- the prerequisite for
nx_https_get to make actual TLS calls.
expect_exit: 0
license_tier: ORIGINAL
dependencies 12 imports · 0 importers
diagram shows first 10 each side; +2 more imports, +0 more importers in the complete lists below.
imports: nx_syscalls.nxnx_connect.nxnx_x25519.nxnx_tls13.nxnx_tls13_ext.nxnx_tls13_hello.nxnx_tls13_finished.nxnx_tls13_transcript.nxnx_tls13_handshake.nxnx_tls13_schedule.nxnx_tls13_client.nxnx_tls13_server.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 30 | const TEST_PORT: i64 = 19443 |
functions
| 33 | func send_msg(fd: i64, buf: *u8, n: i64) -> i64 |
| 44 | func recv_msg(fd: i64, buf: *u8, cap: i64) -> i64 |
| 65 | func build_addr(out: *u8, port: i64) -> i64 called by 1: main |
| 75 | func main() -> i64 |