INNER CODE UNIT · Rust
ARGON2_QWORDS_IN_BLOCK
brndnmtthws/dryoc · src/argon2/mod.rs:11
const ARGON2_QWORDS_IN_BLOCK: usize = ARGON2_BLOCK_SIZE / 8;
// Number of pseudo-random values generated by one call to Blake in Argon2i to
// generate reference block positions
const ARGON2_ADDRESSES_IN_BLOCK: u32 = 128;
// Pre-hashing digest length and its extension
const ARGON2_PREHASH_DIGEST_LENGTH: usize = 64;
const ARGON2_PREHASH_SEED_LENGTH: usize = 72;
const ARGON2_MIN_LANES: u32 = 1;
const ARGON2_MAX_LANES: u32 = 0xFFFFFF;
// Number of synchronization points between lanes per pass
const ARGON2_SYNC_POINTS: u32 = 4;
// Minimum and maximum digest size in bytes
const ARGON2_MIN_OUTLEN: usize = 16;