pub trait ParamsProver<'params, C: CurveAffine>: Params<'params, C> {
    type ParamsVerifier: ParamsVerifier<'params, C>;

    fn new(k: u32) -> Self;
    fn commit(
        &self,
        poly: &Polynomial<C::ScalarExt, Coeff>,
        r: Blind<C::ScalarExt>
    ) -> C::CurveExt; fn get_g(&self) -> &[C]Notable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]; fn verifier_params(&'params self) -> &'params Self::ParamsVerifier; }
Expand description

Parameters for circuit sysnthesis and prover parameters.

Required Associated Types

Constant verifier parameters.

Required Methods

Returns new instance of parameters

This computes a commitment to a polynomial described by the provided slice of coefficients. The commitment may be blinded by the blinding factor r.

Getter for g generators

Returns verification parameters.

Implementors