Struct snarkvm_wasm::groth16::PreparedVerifyingKey[][src]

pub struct PreparedVerifyingKey<E> where
    E: PairingEngine
{ pub vk: VerifyingKey<E>, pub alpha_g1_beta_g2: <E as PairingEngine>::Fqk, pub gamma_g2_neg_pc: <<E as PairingEngine>::G2Affine as PairingCurve>::Prepared, pub delta_g2_neg_pc: <<E as PairingEngine>::G2Affine as PairingCurve>::Prepared, }

Preprocessed verification key parameters that enable faster verification at the expense of larger size in memory.

Fields

vk: VerifyingKey<E>alpha_g1_beta_g2: <E as PairingEngine>::Fqkgamma_g2_neg_pc: <<E as PairingEngine>::G2Affine as PairingCurve>::Prepareddelta_g2_neg_pc: <<E as PairingEngine>::G2Affine as PairingCurve>::Prepared

Trait Implementations

impl<E> Clone for PreparedVerifyingKey<E> where
    E: Clone + PairingEngine,
    <E as PairingEngine>::Fqk: Clone,
    <E as PairingEngine>::G2Affine: Clone
[src]

impl<E> Debug for PreparedVerifyingKey<E> where
    E: Debug + PairingEngine,
    <E as PairingEngine>::Fqk: Debug,
    <E as PairingEngine>::G2Affine: Debug
[src]

impl<E> From<Parameters<E>> for PreparedVerifyingKey<E> where
    E: PairingEngine
[src]

impl<E> From<PreparedVerifyingKey<E>> for VerifyingKey<E> where
    E: PairingEngine
[src]

impl<E> From<VerifyingKey<E>> for PreparedVerifyingKey<E> where
    E: PairingEngine
[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for PreparedVerifyingKey<E> where
    <E as PairingEngine>::Fqk: RefUnwindSafe,
    <E as PairingEngine>::G1Affine: RefUnwindSafe,
    <E as PairingEngine>::G2Affine: RefUnwindSafe,
    <<E as PairingEngine>::G2Affine as PairingCurve>::Prepared: RefUnwindSafe

impl<E> Send for PreparedVerifyingKey<E>

impl<E> Sync for PreparedVerifyingKey<E>

impl<E> Unpin for PreparedVerifyingKey<E> where
    <E as PairingEngine>::Fqk: Unpin,
    <E as PairingEngine>::G1Affine: Unpin,
    <E as PairingEngine>::G2Affine: Unpin,
    <<E as PairingEngine>::G2Affine as PairingCurve>::Prepared: Unpin

impl<E> UnwindSafe for PreparedVerifyingKey<E> where
    <E as PairingEngine>::Fqk: UnwindSafe,
    <E as PairingEngine>::G1Affine: UnwindSafe,
    <E as PairingEngine>::G2Affine: UnwindSafe,
    <<E as PairingEngine>::G2Affine as PairingCurve>::Prepared: 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> From<T> 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>,