acvm::pwg::blackbox::hash

Function get_hash_input

Source
fn get_hash_input<F: AcirField>(
    initial_witness: &WitnessMap<F>,
    inputs: &[FunctionInput<F>],
    message_size: Option<&FunctionInput<F>>,
    num_bits: usize,
) -> Result<Vec<u8>, OpcodeResolutionError<F>>
Expand description

Reads the hash function input from a WitnessMap.