pub struct RingProver<F, CS, Curve, T = ArkTranscript>{ /* private fields */ }Implementations§
Source§impl<F, CS, Curve, T> RingProver<F, CS, Curve, T>
impl<F, CS, Curve, T> RingProver<F, CS, Curve, T>
pub fn init( prover_key: ProverKey<F, CS, Affine<Curve>>, piop_params: PiopParams<F, Curve>, k: usize, empty_transcript: T, ) -> Self
pub fn prove(&self, t: Curve::ScalarField) -> RingProof<F, CS>
pub fn piop_params(&self) -> &PiopParams<F, Curve>
Auto Trait Implementations§
impl<F, CS, Curve, T> Freeze for RingProver<F, CS, Curve, T>
impl<F, CS, Curve, T> RefUnwindSafe for RingProver<F, CS, Curve, T>
impl<F, CS, Curve, T> Send for RingProver<F, CS, Curve, T>
impl<F, CS, Curve, T> Sync for RingProver<F, CS, Curve, T>where
T: Sync,
impl<F, CS, Curve, T> Unpin for RingProver<F, CS, Curve, T>
impl<F, CS, Curve, T> UnwindSafe for RingProver<F, CS, Curve, T>
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> 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