Skip to main content

ref_compress

Function ref_compress 

Source
pub fn ref_compress(state_in: [u64; 8], m: [u64; 16]) -> [u64; 8]
Expand description

Pure-Rust SHA-512 compression of a single 1024-bit block.

Matches the in-circuit compression exactly. Used for prover-side witness generation and as the test reference.