nx_rsa2048_mont_gate.nx
buildroot/runtime/nx_rsa2048_mont_gate.nx
about
nx_rsa2048_mont_gate.nx -- correctness gate: Montgomery modexp MUST equal the
trusted bit-by-bit modexp for the same (s, e, n). Pins rsa2048_mod_exp_mont
before it replaces the slow path in TLS cert verification.
expect_exit: 0
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_u2048.nxnx_u2048_mul.nxnx_rsa2048_mod.nxnx_rsa2048_mod_exp.nxnx_rsa2048_mont.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
| 14 | func g_ps(s: *u8, n: i64) -> i64 { sys_write(1, s, n); return 0 } |
| 15 | func g_pn(v: i64) -> i64 |
| 27 | func mk_n(n: *i64, seed: i64) -> i64 called by 1: one_case |
| 39 | func mk_s(s: *i64, seed: i64) -> i64 called by 1: one_case |
| 49 | func one_case(seed: i64, e: i64) -> i64 |
| 61 | func main() -> i64 |