_u256_cmov_gate.nx
buildroot/runtime/_u256_cmov_gate.nx
about
_u256_cmov_gate.nx -- KAT for u256_cmov (the SEC-CT-001 foundation primitive).
flag=0 -> dst unchanged; flag=1 -> dst becomes src; src NEVER mutated; all 8 limbs covered.
NEG control: a flag=0 then flag=1 on the SAME pair must yield two DIFFERENT dst states (teeth).
Sovereign native lane: exit 0 = GREEN, N = first failed assertion.
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_u256.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
| 8 | const UCG_LOG: *u8 = "knowledge/status/speed_gate.log" |
functions
| 10 | func gw(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return 0 } |
| 12 | func main() -> i64 |