Skip to main content

pack_message_block

Function pack_message_block 

Source
pub fn pack_message_block(
    w: &mut WitnessFiller<'_>,
    m_wires: &[Wire; 16],
    block: [u8; 128],
)
Expand description

Packs a 128-byte SHA-512 message block into the 16 message wires of compress.

Each output wire receives the 64-bit big-endian word formed from the corresponding 8 input bytes.