franklin_crypto::plonk::circuit::sha256

Function sha256_compression_function

Source
pub fn sha256_compression_function<E, CS>(
    cs: &mut CS,
    input: &[Boolean],
    current_hash_value: &[UInt32],
) -> Result<Vec<UInt32>, SynthesisError>
where E: Engine, CS: ConstraintSystem<E>,