nx_crypto_bench.nx
buildroot/runtime/bin/nx_crypto_bench.nx
about
nx_crypto_bench.nx -- micro-benchmark the handshake-dominating crypto
ops so we optimize the right thing (P1 of the S-class roadmap).
Times: X25519 keygen (fixed-base), X25519 ECDH (variable-base),
P-256 ECDSA sign (fixed-base k*G + modinv). Prints us/op.
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_csprng.nxnx_x25519_ephemeral.nxnx_ecdsa_p256_sign.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 bench_strlen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 { n = n + 1 } return n } called by 1: bench_print |
| 12 | func bench_print(label: *u8, n: i64) -> i64 |
| 38 | func main() -> i64 |