[−][src]Trait snarkvm_models::gadgets::algorithms::commitment::CommitmentGadget
Associated Types
type OutputGadget: ConditionalEqGadget<F> + CondSelectGadget<F> + EqGadget<F> + ToBytesGadget<F> + AllocGadget<C::Output, F> + Clone + Sized + Debug[src]
type ParametersGadget: AllocGadget<C::Parameters, F> + Clone[src]
type RandomnessGadget: AllocGadget<C::Randomness, F> + Clone[src]
Required methods
pub fn check_commitment_gadget<CS: ConstraintSystem<F>>(
cs: CS,
parameters: &Self::ParametersGadget,
input: &[UInt8],
r: &Self::RandomnessGadget
) -> Result<Self::OutputGadget, SynthesisError>[src]
cs: CS,
parameters: &Self::ParametersGadget,
input: &[UInt8],
r: &Self::RandomnessGadget
) -> Result<Self::OutputGadget, SynthesisError>