nx_tls13_cert_cache_gate.nx
buildroot/runtime/nx_tls13_cert_cache_gate.nx
about
nx_tls13_cert_cache_gate.nx -- proves the additive cert-validation CACHE in nx_tls13_client_validate_certificate:
a byte-identical cached cert short-circuits to OK (skipping the ECDSA chain crypto), ANY mismatch / no-cache runs
full validation, and the presented cert is captured to cert_out (bounded, no overflow). The test cert is
DELIBERATELY INVALID -- so a cache-hit returning OK conclusively proves the pipeline was skipped, and a
cache-miss returning non-OK proves it was NOT. GREEN + exit 0 iff all pass. license_tier: ORIGINAL expect_exit: 0
dependencies 3 imports · 0 importers
imports: nx_tls13_client_validate_certificate.nxnx_syscalls.nxnx_gate_verdict.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
| 10 | func cg_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 11 | func cg_putn(v: i64) -> i64 |
| 20 | func cg_memeq(a: *u8, an: i64, b: *u8, bn: i64) -> i64 called by 1: main |
| 26 | func cg_row(name: *u8, ok: i64) -> i64 |
| 32 | func main() -> i64 |