nx_ecdsa_p384_bisect_test.nx
buildroot/runtime/nx_ecdsa_p384_bisect_test.nx
about
nx_ecdsa_p384_bisect_test.nx -- bisect the verify failure on
RFC 6979 §A.2.6. Compares each substrate intermediate to the
Python golden bytes. Exit code identifies the first divergent
step.
Step verdicts (returned as exit code):
0 -- all steps match (verify would pass)
1 -- s_inv diverges (p384_modn_inv broken at this scale)
2 -- u1 diverges (p384_modn_mul broken or e_n wrong)
3 -- u2 diverges (same primitives, different input)
4 -- u1G.x diverges (scalar_mul or point_add broken)
5 -- u2Q.x diverges (same scalar_mul, non-G base)
expect_exit: 0
license_tier: ORIGINAL
dependencies 10 imports · 0 importers
imports: nx_syscalls.nxnx_u384.nxnx_p384_field.nxnx_p384_field_mul.nxnx_p384_field_inv.nxnx_p384_modn.nxnx_p384_point.nxnx_p384_point_add.nxnx_p384_scalar_mul.nxnx_ecdsa_p384.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
| 28 | func dump_hex(label0: i64, label1: i64, buf: *i64) -> i64 |
| 51 | func limbs_eq(a: *i64, b: *i64) -> i64 called by 1: main |
| 60 | func main() -> i64 |