Struct ark_poly_commit::marlin::marlin_pc::PreparedVerifierKey
source · 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: 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§
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> RefUnwindSafe for PreparedVerifierKey<E>where <E as Pairing>::G1Affine: RefUnwindSafe, <E as Pairing>::G2Prepared: RefUnwindSafe,
impl<E> Send for PreparedVerifierKey<E>
impl<E> Sync for PreparedVerifierKey<E>
impl<E> Unpin for PreparedVerifierKey<E>where <E as Pairing>::G1Affine: Unpin, <E as Pairing>::G2Prepared: Unpin,
impl<E> UnwindSafe for PreparedVerifierKey<E>where <E as Pairing>::G1Affine: UnwindSafe, <E as Pairing>::G2Prepared: UnwindSafe,
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