Struct ark_poly_commit::marlin::marlin_pst13_pc::CommitterKey[][src]

pub struct CommitterKey<E, P> where
    E: PairingEngine,
    P: MVPolynomial<E::Fr>,
    P::Point: Index<usize, Output = E::Fr>, 
{ pub powers_of_g: BTreeMap<P::Term, E::G1Affine>, pub gamma_g: E::G1Affine, pub powers_of_gamma_g: Vec<Vec<E::G1Affine>>, pub num_vars: usize, pub supported_degree: usize, pub max_degree: usize, }

CommitterKey is used to commit to and create evaluation proofs for a given polynomial.

Fields

powers_of_g: BTreeMap<P::Term, E::G1Affine>

Contains group elements corresponding to all possible monomials with num_vars and maximum degree supported_degree evaluated at \beta

gamma_g: E::G1Affine

\gamma times the generater of G1

powers_of_gamma_g: Vec<Vec<E::G1Affine>>

Group elements of the form { \beta_i^j \gamma G }, where i ranges from 0 to num_vars-1 and j ranges from 1 to supported_degree+1.

num_vars: usize

The number of variables self is initialized for

supported_degree: usize

The maximum degree supported by the trimmed parameters that self is a part of

max_degree: usize

The maximum degree supported by the UniversalParams self was derived from.

Trait Implementations

impl<E, P> CanonicalDeserialize for CommitterKey<E, P> where
    E: PairingEngine,
    P: MVPolynomial<E::Fr>,
    P::Point: Index<usize, Output = E::Fr>, 
[src]

impl<E, P> CanonicalSerialize for CommitterKey<E, P> where
    E: PairingEngine,
    P: MVPolynomial<E::Fr>,
    P::Point: Index<usize, Output = E::Fr>, 
[src]

impl<E, P> Clone for CommitterKey<E, P> where
    E: PairingEngine,
    P: MVPolynomial<E::Fr>,
    P::Point: Index<usize, Output = E::Fr>, 
[src]

impl<E, P> Debug for CommitterKey<E, P> where
    E: PairingEngine,
    P: MVPolynomial<E::Fr>,
    P::Point: Index<usize, Output = E::Fr>, 
[src]

impl<E, P> Hash for CommitterKey<E, P> where
    E: PairingEngine,
    P: MVPolynomial<E::Fr>,
    P::Point: Index<usize, Output = E::Fr>, 
[src]

impl<E, P> PCCommitterKey for CommitterKey<E, P> where
    E: PairingEngine,
    P: MVPolynomial<E::Fr>,
    P::Point: Index<usize, Output = E::Fr>, 
[src]

Auto Trait Implementations

impl<E, P> RefUnwindSafe for CommitterKey<E, P> where
    <E as PairingEngine>::G1Affine: RefUnwindSafe,
    <P as MVPolynomial<<E as PairingEngine>::Fr>>::Term: RefUnwindSafe

impl<E, P> Send for CommitterKey<E, P>

impl<E, P> Sync for CommitterKey<E, P>

impl<E, P> Unpin for CommitterKey<E, P> where
    <E as PairingEngine>::G1Affine: Unpin

impl<E, P> UnwindSafe for CommitterKey<E, P> where
    <E as PairingEngine>::G1Affine: RefUnwindSafe + UnwindSafe,
    <P as MVPolynomial<<E as PairingEngine>::Fr>>::Term: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash + ?Sized

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,