pub fn compress(
rounds: usize,
h: &mut [u64; 8],
m: [u64; 16],
t: [u64; 2],
f: bool,
)
Expand description
Compression function F takes as an argument the state vector “h”, message block vector “m” (last block is padded with zeros to full block size, if required), 2w-bit offset counter “t”, and final block indicator flag “f”. Local vector v[0..15] is used in processing. F returns a new state vector. The number of rounds, “r”, is 12 for BLAKE2b and 10 for BLAKE2s. Rounds are numbered from 0 to r - 1.