code wiki / (root) / nx_blake2b_long_test.nx

nx_blake2b_long_test.nx

buildroot/runtime/nx_blake2b_long_test.nx

5830 B155 linesdepth 3pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic blake2b
docsdependenciesstructsconstsfunctions

about

nx_blake2b_long_test.nx -- internal-consistency smoke for H'. expect_exit: 0 Verifies: 1. H'(T <= 64, A) = BLAKE2b(le32(T) || A, out=T) 2. H'(T > 64, A)[0..31] = BLAKE2b(le32(T) || A, out=64)[0..31] 3. H'(T = 65, A) trailing byte derived correctly. 4. H'(T = 1024, A) -- the Argon2 use case -- runs to completion without buffer overflow; first/last bytes consistent with BLAKE2b chain. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls_x86_64.nx nx_blake2b.nx nx_blake2b_long.nx nx_blake2b_long_test.nx

imports: nx_syscalls_x86_64.nxnx_blake2b.nxnx_blake2b_long.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_blake2b_long _b2bl_write_le32 nx_blake2b_hash nx_blake2b_init _b2b_iv nx_blake2b_update _b2b_compress _b2b_load_u64_le _b2b_iv ↻ _b2b_mix _b2b_rotr64 _b2b_sigma nx_blake2b_final _b2b_compress ↻ _b2b_store_u64_le _b2b_shr64 _b2b_shr64 ↻ _b2bl_copy nx_blake2b_hash ↻ bytes_eq

structs

none

consts

none

functions

19func bytes_eq(a: *u8, b: *u8, n: i64) -> i64
called by 1: main
28func main() -> i64