code wiki / _hdl_build / nx_poly1305_tput_probe.nx

nx_poly1305_tput_probe.nx

buildroot/runtime/_hdl_build/nx_poly1305_tput_probe.nx

1643 B44 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind probetopic poly1305
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_poly1305.nx nx_poly1305_tput_probe.nx

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

main sys_mmap sys_now_us sys_mmap ↻ sys_clock_gettime_mono poly1305_mac sys_mmap ↻ poly1305_clamp p_load_u32_le p_store_u32_le p_w sys_write p_wn sys_mmap ↻ sys_write ↻ sys_exit

structs

none

consts

7const K_MAGIC_4096: i64 = 4096
8const K_MAGIC_16777216: i64 = 16777216

functions

10func 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 }
called by 1: main calls 1: sys_write
11func p_wn(fd: i64, v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
25func main() -> i64