code wiki / _hdl_build / nx_poly1305_tput_probe.nx
nx_poly1305_tput_probe.nx
buildroot/runtime/_hdl_build/nx_poly1305_tput_probe.nx
about
nx_poly1305_tput_probe.nx -- measure Nishi Poly1305 MAC throughput in
isolation (16 MiB), the OTHER per-byte cost in ChaCha20-Poly1305 AEAD.
Mirrors nx_chacha_tput_probe so the two halves of the TLS cipher are
comparable apples-to-apples. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.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
| 7 | const K_MAGIC_4096: i64 = 4096 |
| 8 | const K_MAGIC_16777216: i64 = 16777216 |
functions
| 10 | func p_w(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return 0 } |
| 11 | func p_wn(fd: i64, v: i64) -> i64 |
| 25 | func main() -> i64 |