code wiki / _hdl_build / nx_tls13_aead1302_gate.nx
nx_tls13_aead1302_gate.nx
buildroot/runtime/_hdl_build/nx_tls13_aead1302_gate.nx
about
nx_tls13_aead1302_gate.nx -- proves the 0x1302 (AES-256-GCM-SHA384) AEAD dispatch is REAL.
WHY: our TLS client ADVERTISED 0x1302 and returned BAD_CIPHER, so every server preferring it
(nginx's default) was unreachable -- and the crawler then retired those hosts as if THEY were
dead. This gate covers the record-layer half: dispatch by cipher_suite to nx_aes256_gcm.
It is deliberately a ROUND-TRIP + NEGATIVE-CONTROL gate, not a hand-written golden: sealing
then opening under the same key must return the plaintext, a tampered tag must REFUSE, and an
unknown suite must still return BAD_CIPHER (-2). No invented vectors.
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_tls13_record.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
| none |
functions
| 14 | func ag_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 16 | func main(argc: i64, argv: *i64) -> i64 |