pub struct RingVerifier<F, CS, Jubjub, T = ArkTranscript>{ /* private fields */ }Implementations§
Source§impl<F, CS, Jubjub, T> RingVerifier<F, CS, Jubjub, T>
impl<F, CS, Jubjub, T> RingVerifier<F, CS, Jubjub, T>
pub fn init( verifier_key: VerifierKey<F, CS>, piop_params: PiopParams<F, Jubjub>, empty_transcript: T, ) -> Self
pub fn verify(&self, proof: RingProof<F, CS>, result: Affine<Jubjub>) -> bool
pub fn piop_params(&self) -> &PiopParams<F, Jubjub>
Auto Trait Implementations§
impl<F, CS, Jubjub, T> Freeze for RingVerifier<F, CS, Jubjub, T>
impl<F, CS, Jubjub, T> RefUnwindSafe for RingVerifier<F, CS, Jubjub, T>where
<CS as PCS<F>>::C: RefUnwindSafe,
<CS as PCS<F>>::VK: RefUnwindSafe,
T: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, CS, Jubjub, T> Send for RingVerifier<F, CS, Jubjub, T>
impl<F, CS, Jubjub, T> Sync for RingVerifier<F, CS, Jubjub, T>
impl<F, CS, Jubjub, T> Unpin for RingVerifier<F, CS, Jubjub, T>
impl<F, CS, Jubjub, T> UnwindSafe for RingVerifier<F, CS, Jubjub, 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