Trait halo2_proofs::poly::commitment::ParamsProver
source · pub trait ParamsProver<C>: Params<C>where
C: CurveAffine,{
// Required methods
fn new(k: u32) -> Self;
fn commit(
&self,
engine: &impl MsmAccel<C>,
poly: &Polynomial<<C as CurveAffine>::ScalarExt, Coeff>,
r: Blind<<C as CurveAffine>::ScalarExt>
) -> <C as CurveAffine>::CurveExt;
}
Expand description
Parameters for circuit synthesis and prover parameters.
Required Methods§
sourcefn commit(
&self,
engine: &impl MsmAccel<C>,
poly: &Polynomial<<C as CurveAffine>::ScalarExt, Coeff>,
r: Blind<<C as CurveAffine>::ScalarExt>
) -> <C as CurveAffine>::CurveExt
fn commit( &self, engine: &impl MsmAccel<C>, poly: &Polynomial<<C as CurveAffine>::ScalarExt, Coeff>, r: Blind<<C as CurveAffine>::ScalarExt> ) -> <C as CurveAffine>::CurveExt
This computes a commitment to a polynomial described by the provided
slice of coefficients. The commitment may be blinded by the blinding
factor r
.
Object Safety§
This trait is not object safe.