Skip to main content

compress256_multi

Function compress256_multi 

Source
pub fn compress256_multi<const N: usize>(
    states: &mut [[u32; 8]; N],
    blocks: &[[u8; 64]; N],
)
Expand description

Compresses one 64-byte block into each of a batch of independent SHA-256 states, in place.

Each lane absorbs its own block and ends holding what the scalar block function would leave there, whichever kernel ran.

No padding or length suffix is involved; the caller owns the block contents.