pub type ParamsVerifierIPA<C> = ParamsIPA<C>;
Expand description
Verifier parameters
Aliased Type§
struct ParamsVerifierIPA<C> { /* private fields */ }
Trait Implementations
Source§impl<'params, C: CurveAffine> Params<'params, C> for ParamsIPA<C>
impl<'params, C: CurveAffine> Params<'params, C> for ParamsIPA<C>
Source§fn commit_lagrange(
&self,
poly: &Polynomial<C::Scalar, LagrangeCoeff>,
r: Blind<C::Scalar>,
) -> C::Curve
fn commit_lagrange( &self, poly: &Polynomial<C::Scalar, LagrangeCoeff>, r: Blind<C::Scalar>, ) -> C::Curve
This commits to a polynomial using its evaluations over the $2^k$ size
evaluation domain. The commitment will be blinded by the blinding factor
r
.
Source§impl<'params, C: CurveAffine> ParamsProver<'params, C> for ParamsIPA<C>
impl<'params, C: CurveAffine> ParamsProver<'params, C> for ParamsIPA<C>
Source§fn new(k: u32) -> Self
fn new(k: u32) -> Self
Initializes parameters for the curve, given a random oracle to draw points from.
Source§fn commit(
&self,
poly: &Polynomial<C::Scalar, Coeff>,
r: Blind<C::Scalar>,
) -> C::Curve
fn commit( &self, poly: &Polynomial<C::Scalar, Coeff>, r: Blind<C::Scalar>, ) -> C::Curve
This computes a commitment to a polynomial described by the provided
slice of coefficients. The commitment will be blinded by the blinding
factor r
.
Source§type ParamsVerifier = ParamsIPA<C>
type ParamsVerifier = ParamsIPA<C>
Constant verifier parameters.
Source§fn verifier_params(&'params self) -> &'params Self::ParamsVerifier
fn verifier_params(&'params self) -> &'params Self::ParamsVerifier
Returns verification parameters.