code wiki / (root) / nx_esign_gate.nx

nx_esign_gate.nx

buildroot/runtime/nx_esign_gate.nx

5341 B115 linesdepth 8pulls 13 transitivereach 0 importersview sourcekind gate/prooftopic esign
docsdependenciesstructsconstsfunctions

about

nx_esign_gate.nx -- INDEPENDENT GATE: the ESIGN/UETA four-element test (core teeth). Proves the two things that decide enforceability: (1) the test is ALL-OR-NOTHING -- three of four is VOID, and the fourth element is what flips it; (2) the ESIGN 101(c) CONSUMER OVERLAY is independent -- a consumer signature with a PERFECT 4/4 base test is still unenforceable without the disclosures. WRITE BUDGET (debt 1785519597): reg_put is disk-bound at ~0.7s+ and degrades under NAS I/O contention, while reg_get is ~70us. This gate therefore upgrades ONE signature and spends exactly FIVE writes, with unlimited free assertions between them. Wider coverage lives in sibling gates (nx_esign_eidas_gate) rather than being crammed here past the execution budget. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 1 imports · 0 importers

nx_esign_lib.nx nx_esign_gate.nx

imports: nx_esign_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_now_us sys_mmap sys_clock_gettime_mono zz_pfx mt_catcopy mt_catn zz_puts zz_ck zz_puts ↻ zz_putn es_elements es_elements_pure es_is1 es_intent es_yes es_get es_key mt_catcopy ↻ reg_get reg_key ss_get mt_field mt_r32 mt_streq es_consent es_yes ↻ es_association es_yes ↻ es_retention es_yes ↻ es_ueta_valid es_ueta_pure es_elements_pure ↻ es_intent ↻ es_consent ↻ es_association ↻ es_retention ↻ es_ready es_ready_pure

structs

none

consts

none

functions

14func zz_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 3: zz_ckzz_cksmain
15func zz_putn(v: i64) -> i64
called by 2: zz_ckmain
29func zz_ck(cnt: *i64, name: *u8, got: i64, want: i64) -> i64
called by 1: main calls 2: zz_putszz_putn
40func zz_cks(cnt: *i64, name: *u8, got: *u8, want: *u8) -> i64
calls 1: zz_puts
51func zz_pfx(tag: *u8, nonce: i64, out: *u8) -> i64
called by 1: main calls 2: mt_catcopymt_catn
62func main(argc: i64, argv: *i64) -> i64