nx_sha256_shared_gate.nx
buildroot/runtime/nx_sha256_shared_gate.nx
about
Native Linux x86-64 qualification of existing shared allocation and canonical hash reuse.
No ENOMEM claim: allocation-failure control is actual zero-length mapping refusal.
dependencies 2 imports · 0 importers
imports: nx_sha256.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
| 5 | const SG_DIGEST: i64 = 32 |
| 6 | const SG_HEX: i64 = 64 |
| 7 | const SG_CANARY: i64 = 165 |
| 8 | const SG_BOUNDARY_MAX: i64 = 130 |
| 9 | const SG_PATTERN_BYTES: i64 = 257 |
| 10 | const SG_PATTERN_FACTOR: i64 = 31 |
| 11 | const SG_PATTERN_ADD: i64 = 7 |
| 12 | const SG_BYTE_VALUES: i64 = 256 |
| 13 | const SG_MILLION: i64 = 1000000 |
| 14 | const SG_STREAM_CHUNK: i64 = 63 |
functions
| 15 | func sg_len(s: *u8) -> i64 { var n: i64=0; while s[n] != (0 as u8) { n=n+1 }; return n } |
| 16 | func sg_uint(s: *u8) -> i64 |
| 20 | func sg_equal(a: *u8, b: *u8, n: i64) -> i64 |
| 23 | func sg_fill(b: *u8, n: i64, v: i64) -> i64 { var i: i64=0; while i < n { b[i]=v as u8; i=i+1 }; return 0 } |
| 24 | func sg_all(b: *u8, n: i64, v: i64) -> i64 { var i: i64=0; while i < n { if b[i] != (v as u8) { return 0 }; i=i+1 }; return 1 } called by 1: main |
| 25 | func sg_hex(b: *u8, out: *u8) -> i64 |
| 29 | func sg_vector(input: *u8, n: i64, expected: *u8, output: *u8, legacy: *u8, hex: *u8) -> i64 |
| 36 | func sg_read_exact(path: *u8, expected: i64, out: *u8) -> i64 called by 1: main |
| 46 | func main(argc: i64, argv: *i64) -> i64 |