Skip to main content

sha512_block_kernel

Function sha512_block_kernel 

Source
pub fn sha512_block_kernel(message: [b8; 64]) -> [b64; 16]
Expand description

The single padded SHA-512 block of a 64-byte message, big-endian words: the message, 0x80, zeros, and the 128-bit length 512.

SHA-512 works on 128-byte blocks. A 64-byte message plus its padding fits in exactly one block, so one pass of the core is one chain step. Combinational.