code wiki / _hdl_build / nx_vault_suite_test.nx

nx_vault_suite_test.nx

buildroot/runtime/_hdl_build/nx_vault_suite_test.nx

4337 B73 linesdepth 6pulls 14 transitivereach 0 importersview sourcekind gate/prooftopic vault
docsdependenciesstructsconstsfunctions

about

nx_vault_suite_test.nx -- SUITEGATE: the workstream regression-lock for the whole sovereign Vault. Imports ALL engines (transit / lease / acl / dynamic / auth / shamir / rotation) into ONE binary and runs a canonical check from each. This proves (a) they all still COMPILE + COMPOSE together (catches a cross-organ regression that 7 separate gates would miss), and (b) each core property holds. One unit, one verdict. exit 0 on 7/7. license_tier: ORIGINAL

dependencies 8 imports · 0 importers

nx_vault_transit.nx nx_vault_lease.nx nx_vault_acl.nx nx_vault_dynamic.nx nx_vault_auth.nx nx_vault_shamir.nx nx_vault_rotation.nx nx_syscalls.nx nx_vault_suite_test.nx

imports: nx_vault_transit.nxnx_vault_lease.nxnx_vault_acl.nxnx_vault_dynamic.nxnx_vault_auth.nxnx_vault_shamir.nxnx_vault_rotation.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main su_puts sys_write sys_mmap su_fill tr_encrypt sys_mmap ↻ nx_aes128_gcm_seal sys_mmap ↻ aes128_expand_key _aes_sbox _aes_rcon aes128_encrypt_block nx_ghash_reflect16 gh_byterev_bits gh_revtab sys_mmap ↻ gh_revbyte nx_ghash_mul_rev gh_clmul_core gh_scratch sys_mmap ↻ gh_clmul_mul256_acc gh_scratch ↻ gh_clmul_reduce256 gh_lshr nx_ghash_upd_rev gh_rev_scratch sys_mmap ↻ gh_byterev_bits ↻ gh_clmul_core ↻ nx_aes128_gcm_inc32 gcm_ctr_store nx_aes128_gcm_inc32 ↻ nx_ghash_upd_rev4 gh_agg_scratch sys_mmap ↻ gh_byterev_bits ↻ gh_clmul_mul256_acc ↻ gh_clmul_reduce256 ↻

structs

none

consts

none

functions

15func su_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 1: main calls 1: sys_write
16func su_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
17func su_fill(buf: *u8, val: i64, n: i64) -> i64 { var i: i64 = 0; while i < n { buf[i] = val as u8; i = i + 1 } return 0 }
called by 1: main
18func su_recon3(x0: i64, x1: i64, x2: i64, y0: i64, y1: i64, y2: i64) -> i64
called by 1: main calls 2: sys_mmapsh_reconstruct
25func main() -> i64