pub struct SecondReduceMessage<G1, G2, GT> {
pub c_plus: GT,
pub c_minus: GT,
pub e1_plus: G1,
pub e1_minus: G1,
pub e2_plus: G2,
pub e2_minus: G2,
}Expand description
Second prover message in the Dory-Reduce protocol (Section 3.2)
Contains C₊, C₋, E₁₊, E₁₋, E₂₊, E₂₋
Fields§
§c_plus: GTC₊ - plus combination
c_minus: GTC₋ - minus combination
e1_plus: G1E₁₊ - extension element plus in G1
e1_minus: G1E₁₋ - extension element minus in G1
e2_plus: G2E₂₊ - extension element plus in G2
e2_minus: G2E₂₋ - extension element minus in G2
Trait Implementations§
Source§impl<G1: Clone, G2: Clone, GT: Clone> Clone for SecondReduceMessage<G1, G2, GT>
impl<G1: Clone, G2: Clone, GT: Clone> Clone for SecondReduceMessage<G1, G2, GT>
Source§fn clone(&self) -> SecondReduceMessage<G1, G2, GT>
fn clone(&self) -> SecondReduceMessage<G1, G2, GT>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<G1: PartialEq, G2: PartialEq, GT: PartialEq> PartialEq for SecondReduceMessage<G1, G2, GT>
impl<G1: PartialEq, G2: PartialEq, GT: PartialEq> PartialEq for SecondReduceMessage<G1, G2, GT>
Source§fn eq(&self, other: &SecondReduceMessage<G1, G2, GT>) -> bool
fn eq(&self, other: &SecondReduceMessage<G1, G2, GT>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<G1, G2, GT> StructuralPartialEq for SecondReduceMessage<G1, G2, GT>
Auto Trait Implementations§
impl<G1, G2, GT> Freeze for SecondReduceMessage<G1, G2, GT>
impl<G1, G2, GT> RefUnwindSafe for SecondReduceMessage<G1, G2, GT>
impl<G1, G2, GT> Send for SecondReduceMessage<G1, G2, GT>
impl<G1, G2, GT> Sync for SecondReduceMessage<G1, G2, GT>
impl<G1, G2, GT> Unpin for SecondReduceMessage<G1, G2, GT>
impl<G1, G2, GT> UnsafeUnpin for SecondReduceMessage<G1, G2, GT>
impl<G1, G2, GT> UnwindSafe for SecondReduceMessage<G1, G2, GT>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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