Skip to main content

challenge_block

Function challenge_block 

Source
pub fn challenge_block(r_enc: [b64; 4], a: [b64; 4], msg: Words512) -> [b64; 16]
Expand description

Big-endian SHA words of R || A || M (first of two blocks).

The 128 bytes fill the block exactly; the ring appends the constant padding block of a 1,024-bit message when the job sets second_pad.