nx_drbg_hmac_test.nx
buildroot/runtime/nx_drbg_hmac_test.nx
about
nx_drbg_hmac_test.nx -- self-consistency smoke for HMAC-DRBG.
Tests:
1. Same seed -> same output (determinism)
2. Different seed -> different output (sensitivity)
3. Successive Generate calls advance state (no repetition)
4. Non-block-multiple length works (e.g. 17 bytes)
5. Reseed counter advances on Generate
expect_exit: 0
license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_sha256.nxnx_hmac.nxnx_drbg_hmac.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
| none |
functions
| 19 | func _bytes_equal(a: *u8, b: *u8, n: i64) -> i64 called by 1: main |
| 28 | func main() -> i64 |