pub struct Context<'a, const FULL_ROUNDS: usize, G: KimchiCurve<FULL_ROUNDS>, OpeningProof: OpenProof<G, FULL_ROUNDS>, SRS> {
pub verifier_index: &'a VerifierIndex<FULL_ROUNDS, G, SRS>,
pub proof: &'a ProverProof<G, OpeningProof, FULL_ROUNDS>,
pub public_input: &'a [G::ScalarField],
}Fields§
§verifier_index: &'a VerifierIndex<FULL_ROUNDS, G, SRS>The VerifierIndex associated to the proof
proof: &'a ProverProof<G, OpeningProof, FULL_ROUNDS>The proof to verify
public_input: &'a [G::ScalarField]The public input used in the creation of the proof
Implementations§
Source§impl<'a, const FULL_ROUNDS: usize, G: KimchiCurve<FULL_ROUNDS>, OpeningProof: OpenProof<G, FULL_ROUNDS>, SRS> Context<'a, FULL_ROUNDS, G, OpeningProof, SRS>
impl<'a, const FULL_ROUNDS: usize, G: KimchiCurve<FULL_ROUNDS>, OpeningProof: OpenProof<G, FULL_ROUNDS>, SRS> Context<'a, FULL_ROUNDS, G, OpeningProof, SRS>
pub fn get_column(&self, col: Column) -> Option<&'a PolyComm<G>>
Trait Implementations§
Auto Trait Implementations§
impl<'a, const FULL_ROUNDS: usize, G, OpeningProof, SRS> Freeze for Context<'a, FULL_ROUNDS, G, OpeningProof, SRS>
impl<'a, const FULL_ROUNDS: usize, G, OpeningProof, SRS> RefUnwindSafe for Context<'a, FULL_ROUNDS, G, OpeningProof, SRS>where
<G as AffineRepr>::ScalarField: RefUnwindSafe + UnwindSafe,
OpeningProof: RefUnwindSafe,
SRS: RefUnwindSafe,
G: RefUnwindSafe,
impl<'a, const FULL_ROUNDS: usize, G, OpeningProof, SRS> Send for Context<'a, FULL_ROUNDS, G, OpeningProof, SRS>
impl<'a, const FULL_ROUNDS: usize, G, OpeningProof, SRS> Sync for Context<'a, FULL_ROUNDS, G, OpeningProof, SRS>
impl<'a, const FULL_ROUNDS: usize, G, OpeningProof, SRS> Unpin for Context<'a, FULL_ROUNDS, G, OpeningProof, SRS>
impl<'a, const FULL_ROUNDS: usize, G, OpeningProof, SRS> UnwindSafe for Context<'a, FULL_ROUNDS, G, OpeningProof, SRS>where
<G as AffineRepr>::ScalarField: RefUnwindSafe + UnwindSafe,
OpeningProof: RefUnwindSafe,
SRS: RefUnwindSafe,
G: RefUnwindSafe,
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