pub struct DoryProof<G1: Group, G2, GT> {
pub vmv_message: VMVMessage<G1, GT>,
pub first_messages: Vec<FirstReduceMessage<G1, G2, GT>>,
pub second_messages: Vec<SecondReduceMessage<G1, G2, GT>>,
pub final_message: ScalarProductMessage<G1, G2>,
pub nu: usize,
pub sigma: usize,
pub e2: Option<G2>,
pub y_com: Option<G1>,
pub sigma1_proof: Option<Sigma1Proof<G1, G2, G1::Scalar>>,
pub sigma2_proof: Option<Sigma2Proof<G1::Scalar, GT>>,
pub scalar_product_proof: Option<ScalarProductProof<G1, G2, G1::Scalar, GT>>,
}Expand description
A complete Dory evaluation proof
The proof demonstrates that a committed polynomial evaluates to a specific value at a given point. It consists of messages from the interactive protocol made non-interactive via Fiat-Shamir.
The proof includes the matrix dimensions (nu, sigma) used during proof generation, which the verifier uses to ensure consistency with the evaluation point.
Fields§
§vmv_message: VMVMessage<G1, GT>Vector-Matrix-Vector message for PCS transformation
first_messages: Vec<FirstReduceMessage<G1, G2, GT>>First reduce messages for each round (nu rounds total)
second_messages: Vec<SecondReduceMessage<G1, G2, GT>>Second reduce messages for each round (nu rounds total)
final_message: ScalarProductMessage<G1, G2>Final scalar product message
nu: usizeLog₂ of number of rows in the coefficient matrix
sigma: usizeLog₂ of number of columns in the coefficient matrix
e2: Option<G2>Blinded E₂ element for zero-knowledge proofs
y_com: Option<G1>Pedersen commitment to the blinding vector y
sigma1_proof: Option<Sigma1Proof<G1, G2, G1::Scalar>>Σ₁ proof: E₂ and y_com commit to the same y
sigma2_proof: Option<Sigma2Proof<G1::Scalar, GT>>Σ₂ proof: consistency of E₁ with D₂
scalar_product_proof: Option<ScalarProductProof<G1, G2, G1::Scalar, GT>>ZK scalar product proof: (C, D₁, D₂) consistency with blinded vectors
Trait Implementations§
Source§impl<G1: PartialEq + Group, G2: PartialEq, GT: PartialEq> PartialEq for DoryProof<G1, G2, GT>
impl<G1: PartialEq + Group, G2: PartialEq, GT: PartialEq> PartialEq for DoryProof<G1, G2, GT>
impl<G1: Group, G2, GT> StructuralPartialEq for DoryProof<G1, G2, GT>
Auto Trait Implementations§
impl<G1, G2, GT> Freeze for DoryProof<G1, G2, GT>
impl<G1, G2, GT> RefUnwindSafe for DoryProof<G1, G2, GT>where
GT: RefUnwindSafe,
G1: RefUnwindSafe,
G2: RefUnwindSafe,
<G1 as Group>::Scalar: RefUnwindSafe,
impl<G1, G2, GT> Send for DoryProof<G1, G2, GT>
impl<G1, G2, GT> Sync for DoryProof<G1, G2, GT>
impl<G1, G2, GT> Unpin for DoryProof<G1, G2, GT>
impl<G1, G2, GT> UnsafeUnpin for DoryProof<G1, G2, GT>
impl<G1, G2, GT> UnwindSafe for DoryProof<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
Source§impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
fn hash<H>(&self) -> GenericArray<u8, <H as OutputSizeUser>::OutputSize>where
H: Digest,
fn hash_uncompressed<H>(
&self,
) -> GenericArray<u8, <H as OutputSizeUser>::OutputSize>where
H: Digest,
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>
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>
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