pub struct DynamicDoryEvaluationProof(/* private fields */);
Expand description
The CommitmentEvaluationProof
for the Dory PCS.
Trait Implementations§
Source§impl Clone for DynamicDoryEvaluationProof
impl Clone for DynamicDoryEvaluationProof
Source§fn clone(&self) -> DynamicDoryEvaluationProof
fn clone(&self) -> DynamicDoryEvaluationProof
Returns a copy 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 CommitmentEvaluationProof for DynamicDoryEvaluationProof
impl CommitmentEvaluationProof for DynamicDoryEvaluationProof
Source§type Commitment = DynamicDoryCommitment
type Commitment = DynamicDoryCommitment
The associated commitment type.
Source§type ProverPublicSetup<'a> = &'a ProverSetup<'a>
type ProverPublicSetup<'a> = &'a ProverSetup<'a>
The public setup parameters required by the prover.
This is simply precomputed data that is required by the prover to create a proof.
Source§type VerifierPublicSetup<'a> = &'a VerifierSetup
type VerifierPublicSetup<'a> = &'a VerifierSetup
The public setup parameters required by the verifier.
This is simply precomputed data that is required by the verifier to verify a proof.
Source§fn new(
transcript: &mut impl Transcript,
a: &[Self::Scalar],
b_point: &[Self::Scalar],
generators_offset: u64,
setup: &Self::ProverPublicSetup<'_>,
) -> Self
fn new( transcript: &mut impl Transcript, a: &[Self::Scalar], b_point: &[Self::Scalar], generators_offset: u64, setup: &Self::ProverPublicSetup<'_>, ) -> Self
Create a new proof. Read more
Source§fn verify_batched_proof(
&self,
transcript: &mut impl Transcript,
commit_batch: &[Self::Commitment],
batching_factors: &[Self::Scalar],
product: &Self::Scalar,
b_point: &[Self::Scalar],
generators_offset: u64,
_table_length: usize,
setup: &Self::VerifierPublicSetup<'_>,
) -> Result<(), Self::Error>
fn verify_batched_proof( &self, transcript: &mut impl Transcript, commit_batch: &[Self::Commitment], batching_factors: &[Self::Scalar], product: &Self::Scalar, b_point: &[Self::Scalar], generators_offset: u64, _table_length: usize, setup: &Self::VerifierPublicSetup<'_>, ) -> Result<(), Self::Error>
Verify a batch proof. This can be more efficient than verifying individual proofs for some schemes.
Source§fn verify_proof(
&self,
transcript: &mut impl Transcript,
a_commit: &Self::Commitment,
product: &Self::Scalar,
b_point: &[Self::Scalar],
generators_offset: u64,
table_length: usize,
setup: &Self::VerifierPublicSetup<'_>,
) -> Result<(), Self::Error>
fn verify_proof( &self, transcript: &mut impl Transcript, a_commit: &Self::Commitment, product: &Self::Scalar, b_point: &[Self::Scalar], generators_offset: u64, table_length: usize, setup: &Self::VerifierPublicSetup<'_>, ) -> Result<(), Self::Error>
Verify a proof. Read more
Source§impl Debug for DynamicDoryEvaluationProof
impl Debug for DynamicDoryEvaluationProof
Source§impl Default for DynamicDoryEvaluationProof
impl Default for DynamicDoryEvaluationProof
Source§fn default() -> DynamicDoryEvaluationProof
fn default() -> DynamicDoryEvaluationProof
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DynamicDoryEvaluationProof
impl<'de> Deserialize<'de> for DynamicDoryEvaluationProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DynamicDoryEvaluationProof
impl StructuralPartialEq for DynamicDoryEvaluationProof
Auto Trait Implementations§
impl Freeze for DynamicDoryEvaluationProof
impl RefUnwindSafe for DynamicDoryEvaluationProof
impl Send for DynamicDoryEvaluationProof
impl Sync for DynamicDoryEvaluationProof
impl Unpin for DynamicDoryEvaluationProof
impl UnwindSafe for DynamicDoryEvaluationProof
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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