code wiki / (root) / nx_hash_bench_test.nx

nx_hash_bench_test.nx

buildroot/runtime/nx_hash_bench_test.nx

1071 B28 linesdepth 6pulls 8 transitivereach 0 importersview sourcekind gate/prooftopic hash
docsdependenciesstructsconstsfunctions

about

nx_hash_bench_test.nx -- correctness KAT for the hashing benchmark (deterministic only). Native sovereign lane; exit 0 = pass, N = assertion N failed. Throughput is measured by nx_hash_bench_run (timing, non-deterministic) and is NOT asserted here.

dependencies 2 imports · 0 importers

nx_str.nx nx_hash_bench.nx nx_hash_bench_test.nx

imports: nx_str.nxnx_hash_bench.nx

imported by: nobody (leaf or entry point)

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

main nx_hb_fill nx_hb_sha1_ok sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sha1 sys_mmap ↻ sha1_process_block if_ge nx_hb_sha256_ok sys_mmap ↻ sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_seed_allocated sha256_k sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress sha256_compress_ni blk_word blk_byte sha256_final blk_set_byte ↻ sha256_compress ↻

structs

none

consts

none

functions

8func main() -> i64