Struct kimchi::proof::ProverCommitments
source · pub struct ProverCommitments<G: AffineRepr> {
pub w_comm: [PolyComm<G>; 15],
pub z_comm: PolyComm<G>,
pub t_comm: PolyComm<G>,
pub lookup: Option<LookupCommitments<G>>,
}
Expand description
All the commitments that the prover creates as part of the proof.
Fields§
§w_comm: [PolyComm<G>; 15]
The commitments to the witness (execution trace)
z_comm: PolyComm<G>
The commitment to the permutation polynomial
t_comm: PolyComm<G>
The commitment to the quotient polynomial
lookup: Option<LookupCommitments<G>>
Commitments related to the lookup argument
Trait Implementations§
source§impl<G: Clone + AffineRepr> Clone for ProverCommitments<G>
impl<G: Clone + AffineRepr> Clone for ProverCommitments<G>
source§fn clone(&self) -> ProverCommitments<G>
fn clone(&self) -> ProverCommitments<G>
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<G: Debug + AffineRepr> Debug for ProverCommitments<G>
impl<G: Debug + AffineRepr> Debug for ProverCommitments<G>
source§impl<'de, G> Deserialize<'de> for ProverCommitments<G>where
G: CanonicalDeserialize + CanonicalSerialize + AffineRepr,
impl<'de, G> Deserialize<'de> for ProverCommitments<G>where G: CanonicalDeserialize + CanonicalSerialize + AffineRepr,
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
source§impl<G, CamlG> From<CamlProverCommitments<CamlG>> for ProverCommitments<G>where
G: AffineRepr,
PolyComm<G>: From<CamlPolyComm<CamlG>>,
impl<G, CamlG> From<CamlProverCommitments<CamlG>> for ProverCommitments<G>where G: AffineRepr, PolyComm<G>: From<CamlPolyComm<CamlG>>,
source§fn from(caml_prover_comm: CamlProverCommitments<CamlG>) -> ProverCommitments<G>
fn from(caml_prover_comm: CamlProverCommitments<CamlG>) -> ProverCommitments<G>
Converts to this type from the input type.
source§impl<G, CamlG> From<ProverCommitments<G>> for CamlProverCommitments<CamlG>where
G: AffineRepr,
CamlPolyComm<CamlG>: From<PolyComm<G>>,
impl<G, CamlG> From<ProverCommitments<G>> for CamlProverCommitments<CamlG>where G: AffineRepr, CamlPolyComm<CamlG>: From<PolyComm<G>>,
source§fn from(prover_comm: ProverCommitments<G>) -> Self
fn from(prover_comm: ProverCommitments<G>) -> Self
Converts to this type from the input type.
source§impl<G: PartialEq + AffineRepr> PartialEq<ProverCommitments<G>> for ProverCommitments<G>
impl<G: PartialEq + AffineRepr> PartialEq<ProverCommitments<G>> for ProverCommitments<G>
source§fn eq(&self, other: &ProverCommitments<G>) -> bool
fn eq(&self, other: &ProverCommitments<G>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<G> Serialize for ProverCommitments<G>where
G: CanonicalDeserialize + CanonicalSerialize + AffineRepr,
impl<G> Serialize for ProverCommitments<G>where G: CanonicalDeserialize + CanonicalSerialize + AffineRepr,
impl<G: AffineRepr> StructuralPartialEq for ProverCommitments<G>
Auto Trait Implementations§
impl<G> RefUnwindSafe for ProverCommitments<G>where G: RefUnwindSafe,
impl<G> Send for ProverCommitments<G>
impl<G> Sync for ProverCommitments<G>
impl<G> Unpin for ProverCommitments<G>where G: Unpin,
impl<G> UnwindSafe for ProverCommitments<G>where G: 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