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 sha1 sys_mmap ↻ sha1_process_block if_ge nx_hb_sha256_ok sys_mmap ↻ sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ 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 ↻ nx_hb_sha1_mbps sys_mmap ↻ sys_now_us sys_mmap ↻ sys_clock_gettime_mono sha1 ↻ nx_hb_sha256_mbps sys_mmap ↻ sys_now_us ↻ sha256_digest ↻

structs

none

consts

none

functions

8func main() -> i64