nx_sha1_diff_probe.nx
buildroot/runtime/nx_sha1_diff_probe.nx
about
nx_sha1_diff_probe.nx -- differential oracle for the SHA-1 optimization.
Hashes deterministic inputs of every length 0..256 (all padding boundaries) and rolls a
single hash over all 20-byte digests. Golden BEFORE the optimization must equal AFTER.
dependencies 1 imports · 0 importers
imports: nx_sha1.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
| 6 | const K_MAGIC_1000000007: i64 = 1000000007 |
| 7 | const K_MAGIC_196783082: i64 = 196783082 |
functions
| 9 | func _p_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 |
| 10 | func _p_putn(v: i64) -> i64 called by 1: main |
| 17 | func main() -> i64 |