code wiki / _hdl_build / nx_sha256_native_kat_gate.nx
nx_sha256_native_kat_gate.nx
buildroot/runtime/_hdl_build/nx_sha256_native_kat_gate.nx
about
nx_sha256_native_kat_gate.nx -- DISTINGUISHING test for task #21: run nx_sha256_one_shot NATIVELY (x86, no wasm,
no VM) on "abc" and check the FIPS 180-4 KAT. If this PASSES, the algorithm in nx_sha256_wasm.nx is correct and the
wrong digest seen via nx_wasm_vm is a wasm-compile or VM-execution issue. If it FAILS, the algorithm itself is buggy.
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_gate_emit_lib.nxnx_sha256_wasm.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
| none |
functions
| 9 | func main() -> i64 |