code wiki / _hdl_build / nx_quic_aead_test.nx
nx_quic_aead_test.nx
buildroot/runtime/_hdl_build/nx_quic_aead_test.nx
about
nx_quic_aead_gate.nx -- RUNG 5b gate: QUIC AEAD packet protection. Exact vectors: nonce (RFC 9001 sec
5.3, A.2 -> fa044b2f42a3fd3b46fb255e) + header-protection mask (RFC 9001 sec 5.4.2 -> 437b9aec36) +
AES-128-GCM seal->open round-trip + tamper rejection + HP apply/remove symmetry. Native, sovereign.
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_quic_aead.nxnx_gate_emit_lib.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
| 8 | func hexnib(c: i64) -> i64 { if c>=48 { if c<=57 { return c-48 } } if c>=97 { if c<=102 { return c-87 } } return 0 } called by 1: set_hex |
| 9 | func set_hex(out: *u8, hex: *u8, nbytes: i64) -> i64 { var i: i64=0; while i<nbytes { out[i]=((hexnib(hex[i*2] as i64)<<4)|hexnib(hex[i*2+1] as i64)) as u8; i=i+1 } return 0 } |
| 10 | func eq(a: *u8, b: *u8, n: i64) -> i64 { var i: i64=0; while i<n { if a[i]!=b[i] { return 0 } i=i+1 } return 1 } called by 1: main |
| 11 | func g_phex(b: *u8, n: i64) -> i64 called by 1: main |
| 18 | func main() -> i64 |