code wiki / (root) / nx_aesni_kat.nx

nx_aesni_kat.nx

buildroot/runtime/nx_aesni_kat.nx

1690 B42 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_aesni_kat.nx -- end-to-end proof of the AES-NI pipeline (assembler mnemonics + compiler __aes128_enc_block intrinsic). FIPS-197 Appendix C.1 AES-128 vector: key = 00 01 02 ... 0f in = 00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff out = 69 c4 e0 d8 6a 7b 04 30 d8 cd b7 80 70 b4 c5 5a Key expansion stays software (one-time); the block cipher runs on AES-NI. exit 0 = hardware AES-NI produced the exact FIPS ciphertext. expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_aes128_gcm.nx nx_aesni_kat.nx

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

main sys_mmap aes128_expand_key _aes_sbox _aes_rcon sys_exit

structs

none

consts

none

functions

14func main() -> i64