nx_ghash_clmul_gate.nx
buildroot/runtime/nx_ghash_clmul_gate.nx
about
nx_ghash_clmul_gate.nx -- KAT-equality gate: the PCLMULQDQ GHASH backend
(nx_ghash_mul_clmul) must be BYTE-IDENTICAL to the canonical bit-by-bit reference
(nx_ghash_mul) on the NIST vector, edge cases, and many pseudo-random inputs.
The bit-by-bit reference is the trusted oracle. Any mismatch fails LOUD with a code.
expect_exit: 0
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_ghash.nxnx_ghash_clmul.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
| 13 | func g_ps(s: *u8, n: i64) -> i64 { sys_write(1, s, n); return 0 } |
| 14 | func g_pn(v: i64) -> i64 |
| 24 | func eq16(a: *u8, b: *u8) -> i64 called by 1: check |
| 33 | func check(x: *u8, h: *u8, zr: *u8, zc: *u8) -> i64 |
| 39 | func main() -> i64 |
| 89 | func gh_byte_from(st: i64, which: i64) -> i64 called by 1: main |