Skip to main content

software_padded_block

Function software_padded_block 

Source
pub fn software_padded_block(
    message: &[u8],
    block_index: usize,
) -> Option<[u32; 16]>
Expand description

Independently construct one SHA-256 padded byte block in software.

This is an oracle for tests and integration models, not a hardware path. It returns None for an invalid block index or an unrepresentable bit length.