nx_aead_bench.nx
buildroot/runtime/nx_aead_bench.nx
about
nx_aead_bench.nx -- reliable cipher cost split (run in WSL where the monotonic
clock is real ns, not the Windows ~15ms-granular FILETIME). Times ChaCha20 and
Poly1305 over one large buffer to find which half of the AEAD decrypt is the
measured TLS-transfer bottleneck, and the raw MB/s of each (hardware-up target).
expect_exit: 0
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_chacha20.nxnx_poly1305.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
| 11 | const K_MAGIC_2970000: i64 = 2970000 |
| 12 | const K_MAGIC_1000000: i64 = 1000000 |
functions
| 14 | func b_ps(s: *u8, n: i64) -> i64 { sys_write(1, s, n); return 0 } |
| 15 | func b_pn(v: i64) -> i64 |
| 26 | func main() -> i64 |