pub struct LabradorProver<'a> {
pub pp: &'a PublicPrams,
pub witness: &'a Witness,
pub st: &'a Statement,
pub tr: &'a Challenges,
}
Fields§
§pp: &'a PublicPrams
§witness: &'a Witness
§st: &'a Statement
§tr: &'a Challenges
Implementations§
Source§impl<'a> LabradorProver<'a>
impl<'a> LabradorProver<'a>
pub fn new( pp: &'a PublicPrams, witness: &'a Witness, st: &'a Statement, tr: &'a Challenges, ) -> Self
Sourcepub fn prove(&self, ep: &EnvironmentParameters) -> Result<Proof, ProverError>
pub fn prove(&self, ep: &EnvironmentParameters) -> Result<Proof, ProverError>
all prove steps are from page 17
Auto Trait Implementations§
impl<'a> Freeze for LabradorProver<'a>
impl<'a> RefUnwindSafe for LabradorProver<'a>
impl<'a> Send for LabradorProver<'a>
impl<'a> Sync for LabradorProver<'a>
impl<'a> Unpin for LabradorProver<'a>
impl<'a> UnwindSafe for LabradorProver<'a>
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