Struct ark_poly_commit::marlin::marlin_pst13_pc::CommitterKey [−][src]
CommitterKey is used to commit to and create evaluation proofs for a given
polynomial.
Fields
powers_of_g: BTreeMap<P::Term, E::G1Affine>Contains group elements corresponding to all possible monomials with
num_vars and maximum degree supported_degree evaluated at \beta
gamma_g: E::G1Affine\gamma times the generater of G1
powers_of_gamma_g: Vec<Vec<E::G1Affine>>Group elements of the form { \beta_i^j \gamma G }, where i ranges
from 0 to num_vars-1 and j ranges from 1 to supported_degree+1.
num_vars: usizeThe number of variables self is initialized for
supported_degree: usizeThe maximum degree supported by the trimmed parameters that self is
a part of
max_degree: usizeThe maximum degree supported by the UniversalParams self was derived
from.
Trait Implementations
impl<E, P> CanonicalDeserialize for CommitterKey<E, P> where
E: PairingEngine,
P: MVPolynomial<E::Fr>,
P::Point: Index<usize, Output = E::Fr>, [src]
E: PairingEngine,
P: MVPolynomial<E::Fr>,
P::Point: Index<usize, Output = E::Fr>,
fn deserialize<R: Read>(reader: R) -> Result<Self, SerializationError>[src]
fn deserialize_uncompressed<R: Read>(
reader: R
) -> Result<Self, SerializationError>[src]
reader: R
) -> Result<Self, SerializationError>
fn deserialize_unchecked<R: Read>(reader: R) -> Result<Self, SerializationError>[src]
impl<E, P> CanonicalSerialize for CommitterKey<E, P> where
E: PairingEngine,
P: MVPolynomial<E::Fr>,
P::Point: Index<usize, Output = E::Fr>, [src]
E: PairingEngine,
P: MVPolynomial<E::Fr>,
P::Point: Index<usize, Output = E::Fr>,
fn serialize<W: Write>(&self, writer: W) -> Result<(), SerializationError>[src]
fn serialized_size(&self) -> usize[src]
fn serialize_uncompressed<W: Write>(
&self,
writer: W
) -> Result<(), SerializationError>[src]
&self,
writer: W
) -> Result<(), SerializationError>
fn serialize_unchecked<W: Write>(
&self,
writer: W
) -> Result<(), SerializationError>[src]
&self,
writer: W
) -> Result<(), SerializationError>
fn uncompressed_size(&self) -> usize[src]
impl<E, P> Clone for CommitterKey<E, P> where
E: PairingEngine,
P: MVPolynomial<E::Fr>,
P::Point: Index<usize, Output = E::Fr>, [src]
E: PairingEngine,
P: MVPolynomial<E::Fr>,
P::Point: Index<usize, Output = E::Fr>,
fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<E, P> Debug for CommitterKey<E, P> where
E: PairingEngine,
P: MVPolynomial<E::Fr>,
P::Point: Index<usize, Output = E::Fr>, [src]
E: PairingEngine,
P: MVPolynomial<E::Fr>,
P::Point: Index<usize, Output = E::Fr>,
impl<E, P> Hash for CommitterKey<E, P> where
E: PairingEngine,
P: MVPolynomial<E::Fr>,
P::Point: Index<usize, Output = E::Fr>, [src]
E: PairingEngine,
P: MVPolynomial<E::Fr>,
P::Point: Index<usize, Output = E::Fr>,
fn hash<__HEP>(&self, __state: &mut __HEP) where
__HEP: Hasher, [src]
__HEP: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<E, P> PCCommitterKey for CommitterKey<E, P> where
E: PairingEngine,
P: MVPolynomial<E::Fr>,
P::Point: Index<usize, Output = E::Fr>, [src]
E: PairingEngine,
P: MVPolynomial<E::Fr>,
P::Point: Index<usize, Output = E::Fr>,
fn max_degree(&self) -> usize[src]
fn supported_degree(&self) -> usize[src]
Auto Trait Implementations
impl<E, P> RefUnwindSafe for CommitterKey<E, P> where
<E as PairingEngine>::G1Affine: RefUnwindSafe,
<P as MVPolynomial<<E as PairingEngine>::Fr>>::Term: RefUnwindSafe,
<E as PairingEngine>::G1Affine: RefUnwindSafe,
<P as MVPolynomial<<E as PairingEngine>::Fr>>::Term: RefUnwindSafe,
impl<E, P> Send for CommitterKey<E, P>
impl<E, P> Sync for CommitterKey<E, P>
impl<E, P> Unpin for CommitterKey<E, P> where
<E as PairingEngine>::G1Affine: Unpin,
<E as PairingEngine>::G1Affine: Unpin,
impl<E, P> UnwindSafe for CommitterKey<E, P> where
<E as PairingEngine>::G1Affine: RefUnwindSafe + UnwindSafe,
<P as MVPolynomial<<E as PairingEngine>::Fr>>::Term: RefUnwindSafe,
<E as PairingEngine>::G1Affine: RefUnwindSafe + UnwindSafe,
<P as MVPolynomial<<E as PairingEngine>::Fr>>::Term: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> CallHasher for T where
T: Hash + ?Sized,
T: Hash + ?Sized,
pub default fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64 where
B: BuildHasher,
H: Hash + ?Sized,
B: BuildHasher,
H: Hash + ?Sized,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,