code wiki / (root) / nx_live_https_reach.nx

nx_live_https_reach.nx

buildroot/runtime/nx_live_https_reach.nx

2545 B54 linesdepth 21pulls 127 transitivereach 0 importersview sourcekind tooltopic live
docsdependenciesstructsconstsfunctions

about

nx_live_https_reach.nx -- LIVE reach test of the sovereign TLS 1.3 client against a real HTTPS host. Empty CA store (chain validation will refuse, which is the honest verdict), so this proves how far we get: TCP :443 + TLS handshake engagement with a real server. Full validated HTTPS needs the CA trust store populated (PEM->X509 loader -> trust_store_add) -- the bounded next step.

dependencies 5 imports · 0 importers

nx_str.nx nx_syscalls.nx nx_csprng.nx nx_x509_trust_store.nx nx_https_get.nx nx_live_https_reach.nx

imports: nx_str.nxnx_syscalls.nxnx_csprng.nxnx_x509_trust_store.nxnx_https_get.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 nx_csprng_fill sys_mmap ↻ nx_csprng_urandom_path sys_openat_rd sys_read sys_close trust_store_alloc sys_mmap ↻

structs

none

consts

12const K_MAGIC_65536: i64 = 65536

functions

14func nx_putc(c: i64) -> i64 { let b: *u8 = sys_mmap(1); b[0] = c; sys_write(1, b, 1); return 0 }
called by 1: nx_pi calls 2: sys_mmapsys_write
15func nx_puts(s: *u8) -> i64 { sys_write(1, s, nx_str_len(s)); return 0 }
16func nx_pi(n: i64) -> i64
25func main() -> i64