nx_aesctr_ni_bench.nx
buildroot/runtime/nx_aesctr_ni_bench.nx
about
nx_aesctr_ni_bench.nx -- direct 1:1 speedup of the AES-GCM hot path (AES-CTR block
encryption): software aes128_encrypt_block vs hardware __aes128_enc_block, same key,
same buffer, same tools. Must be compiled by the AES-NI-capable toolchain.
expect_exit: 0 (prints both throughputs; exits nonzero only on a correctness mismatch)
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_aes128_gcm.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
| 9 | const K_MAGIC_2970000: i64 = 2970000 |
| 10 | const K_MAGIC_1000000: i64 = 1000000 |
functions
| 12 | func b_ps(s: *u8, n: i64) -> i64 { sys_write(1, s, n); return 0 } |
| 13 | func b_pn(v: i64) -> i64 |
| 24 | func main() -> i64 |