Type Alias PreparedVerifierKey

Source
pub type PreparedVerifierKey<G> = VerifierKey<G>;
Expand description

Nothing to do to prepare this verifier key (for now).

Aliased Type§

struct PreparedVerifierKey<G> {
    pub comm_key: Vec<G>,
    pub h: G,
    pub s: G,
    pub max_degree: usize,
}

Fields§

§comm_key: Vec<G>

The key used to commit to polynomials.

§h: G

A random group generator.

§s: G

A random group generator that is to be used to make a commitment hiding.

§max_degree: usize

The maximum degree supported by the parameters this key was derived from.

Trait Implementations§

Source§

impl<G: AffineRepr> PCPreparedVerifierKey<CommitterKey<G>> for PreparedVerifierKey<G>

Source§

fn prepare(vk: &VerifierKey<G>) -> Self

prepare PreparedVerifierKey from VerifierKey