nx_p256_wnaf_difftest.nx
buildroot/runtime/nx_p256_wnaf_difftest.nx
about
nx_p256_wnaf_difftest.nx -- prove p256_scalar_mul_wnaf == p256_scalar_mul (generic double-and-add,
the proven reference) over random scalars + edge cases (0, 1, small, high-bit-set). Compares in
AFFINE form (Jacobian reps of the same point differ in x/y/z but are equal after to_affine).
expect_exit: 0 license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_csprng.nxnx_p256_scalar_mul_wnaf.nxnx_p256_scalar_mul.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
| 10 | func dp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 11 | func dn(v: i64) -> i64 |
| 19 | func chk(k: *i64, g: *P256Point) -> i64 |
| 33 | func main() -> i64 |