pub struct PreparedVerifierKey<E: Pairing> {
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: usizeThe maximum degree supported by the UniversalParams self was derived
from.
supported_degree: usizeThe maximum degree supported by the trimmed parameters that self is
a part of.
Trait Implementations§
Source§impl<E: Pairing> Clone for PreparedVerifierKey<E>
impl<E: Pairing> Clone for PreparedVerifierKey<E>
Source§impl<E: Pairing> Debug for PreparedVerifierKey<E>
impl<E: Pairing> Debug for PreparedVerifierKey<E>
Source§impl<E: Pairing> PCPreparedVerifierKey<VerifierKey<E>> for PreparedVerifierKey<E>
impl<E: Pairing> PCPreparedVerifierKey<VerifierKey<E>> for PreparedVerifierKey<E>
Source§fn prepare(vk: &VerifierKey<E>) -> Self
fn prepare(vk: &VerifierKey<E>) -> Self
prepare PreparedVerifierKey from VerifierKey
Auto Trait Implementations§
impl<E> Freeze for PreparedVerifierKey<E>
impl<E> RefUnwindSafe for PreparedVerifierKey<E>
impl<E> Send for PreparedVerifierKey<E>
impl<E> Sync for PreparedVerifierKey<E>
impl<E> Unpin for PreparedVerifierKey<E>
impl<E> UnwindSafe for PreparedVerifierKey<E>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more