Struct ark_poly_commit::marlin::marlin_pc::PreparedVerifierKey [−][src]
pub struct PreparedVerifierKey<E: PairingEngine> { pub prepared_vk: PreparedVerifierKey<E>, pub prepared_degree_bounds_and_shift_powers: Option<Vec<(usize, Vec<E::G1Affine>)>>, pub max_degree: usize, pub supported_degree: usize, }
Expand description
PreparedVerifierKey
is used to check evaluation proofs for a given commitment.
Fields
prepared_vk: PreparedVerifierKey<E>
The verification key for the underlying KZG10 scheme.
prepared_degree_bounds_and_shift_powers: Option<Vec<(usize, Vec<E::G1Affine>)>>
Information required to enforce degree bounds. Each pair
is of the form (degree_bound, shifting_advice)
.
This is None
if self
does not support enforcing any degree bounds.
max_degree: usize
The maximum degree supported by the UniversalParams
self
was derived
from.
supported_degree: usize
The maximum degree supported by the trimmed parameters that self
is
a part of.
Trait Implementations
prepare PreparedVerifierKey
from VerifierKey
Auto Trait Implementations
impl<E> RefUnwindSafe for PreparedVerifierKey<E> where
<E as PairingEngine>::G1Affine: RefUnwindSafe,
<E as PairingEngine>::G2Prepared: RefUnwindSafe,
impl<E> Send for PreparedVerifierKey<E>
impl<E> Sync for PreparedVerifierKey<E>
impl<E> Unpin for PreparedVerifierKey<E> where
<E as PairingEngine>::G1Affine: Unpin,
<E as PairingEngine>::G2Prepared: Unpin,
impl<E> UnwindSafe for PreparedVerifierKey<E> where
<E as PairingEngine>::G1Affine: UnwindSafe,
<E as PairingEngine>::G2Prepared: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V