Skip to main content

sha256_blocks

Function sha256_blocks 

Source
pub fn sha256_blocks(state: &mut [u32; 8], blocks: &[u8]) -> bool
Expand description

Runs the SHA-256 compression function over whole 64-byte blocks with the CPU’s SHA instructions. Returns false (and does nothing) if the CPU lacks them or blocks.len() is not a multiple of 64.