code wiki / (root) / nx_argon2id_test.nx

nx_argon2id_test.nx

buildroot/runtime/nx_argon2id_test.nx

4729 B133 linesdepth 3pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic argon2id
docsdependenciesstructsconstsfunctions

about

nx_argon2id_test.nx -- internal-consistency smoke for Argon2id (p=1). expect_exit: 0 Property tests (RFC compliance NOT yet cross-validated against argon2_ref C output; this proves the orchestrator is internally consistent + sensitive to every parameter): 1. Determinism: same (P, S, p, m, t, tau) -> same tag. 2. Salt sensitivity: change one salt byte -> different tag. 3. Password sensitivity: change one password byte -> different tag. 4. Memory sensitivity: change m -> different tag. 5. Iteration sensitivity: change t -> different tag. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls_x86_64.nx nx_blake2b.nx nx_argon2_block.nx nx_argon2id.nx nx_argon2id_test.nx

imports: nx_syscalls_x86_64.nxnx_blake2b.nxnx_argon2_block.nxnx_argon2id.nx

imported by: nobody (leaf or entry point)

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

main make_ctx nx_argon2id_hash _ar2_h0 _ar2_write_le32 nx_blake2b_hash nx_blake2b_init _b2b_iv nx_blake2b_update _b2b_compress _b2b_load_u64_le _b2b_iv ↻ _b2b_mix _b2b_sigma nx_blake2b_final _b2b_compress ↻ _b2b_store_u64_le _b2b_shr64 _b2b_shr64 ↻ _ar2_block_at nx_blake2b_long _b2bl_write_le32 nx_blake2b_hash ↻ _b2bl_copy _ar2_gen_address_block _ar2_write_le64 nx_argon2_g _a2b_load_u64_le _a2b_p _a2b_gb _a2b_rotr64 _a2b_store_u64_le _a2b_shr64 _ar2_load_u64_le _ar2_map_index _ar2_lshr32 nx_argon2_g ↻ _ar2_block_xor_into _ar2_block_copy bytes_eq

structs

none

consts

none

functions

22func bytes_eq(a: *u8, b: *u8, n: i64) -> i64
called by 1: main
32func make_ctx(m_kib: i64) -> *NxArgon2idCtx
called by 1: main
56func main() -> i64