Struct ark_poly_commit::ipa_pc::CommitterKey[][src]

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

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

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

impl<G: AffineCurve> CanonicalDeserialize for CommitterKey<G>[src]

impl<G: AffineCurve> CanonicalSerialize for CommitterKey<G>[src]

impl<G: AffineCurve> Clone for CommitterKey<G>[src]

impl<G: AffineCurve> Debug for CommitterKey<G>[src]

impl<G: AffineCurve> Default for CommitterKey<G>[src]

impl<G: AffineCurve> Hash for CommitterKey<G>[src]

impl<G: AffineCurve> PCCommitterKey for CommitterKey<G>[src]

impl<G: AffineCurve> PCPreparedVerifierKey<CommitterKey<G>> for PreparedVerifierKey<G>[src]

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

prepare PreparedVerifierKey from VerifierKey

Auto Trait Implementations

impl<G> RefUnwindSafe for CommitterKey<G> where
    G: RefUnwindSafe

impl<G> Send for CommitterKey<G>

impl<G> Sync for CommitterKey<G>

impl<G> Unpin for CommitterKey<G> where
    G: Unpin

impl<G> UnwindSafe for CommitterKey<G> where
    G: UnwindSafe

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>,