Struct snarkvm_wasm::algorithms::snark::Groth16VerifierGadget [−][src]
Trait Implementations
impl<PairingE, ConstraintF, P, C, V> SNARKVerifierGadget<Groth16<PairingE, C, V>, ConstraintF> for Groth16VerifierGadget<PairingE, ConstraintF, P> where
C: ConstraintSynthesizer<<PairingE as PairingEngine>::Fr>,
P: PairingGadget<PairingE, ConstraintF>,
V: ToConstraintField<<PairingE as PairingEngine>::Fr>,
PairingE: PairingEngine,
ConstraintF: Field,
[src]
C: ConstraintSynthesizer<<PairingE as PairingEngine>::Fr>,
P: PairingGadget<PairingE, ConstraintF>,
V: ToConstraintField<<PairingE as PairingEngine>::Fr>,
PairingE: PairingEngine,
ConstraintF: Field,
type ProofGadget = ProofGadget<PairingE, ConstraintF, P>
type VerificationKeyGadget = VerifyingKeyGadget<PairingE, ConstraintF, P>
pub fn check_verify<'a, CS, I, T>(
cs: CS,
vk: &<Groth16VerifierGadget<PairingE, ConstraintF, P> as SNARKVerifierGadget<Groth16<PairingE, C, V>, ConstraintF>>::VerificationKeyGadget,
public_inputs: I,
proof: &<Groth16VerifierGadget<PairingE, ConstraintF, P> as SNARKVerifierGadget<Groth16<PairingE, C, V>, ConstraintF>>::ProofGadget
) -> Result<(), SynthesisError> where
CS: ConstraintSystem<ConstraintF>,
T: 'a + ToBitsGadget<ConstraintF> + ?Sized,
I: Iterator<Item = &'a T>,
[src]
cs: CS,
vk: &<Groth16VerifierGadget<PairingE, ConstraintF, P> as SNARKVerifierGadget<Groth16<PairingE, C, V>, ConstraintF>>::VerificationKeyGadget,
public_inputs: I,
proof: &<Groth16VerifierGadget<PairingE, ConstraintF, P> as SNARKVerifierGadget<Groth16<PairingE, C, V>, ConstraintF>>::ProofGadget
) -> Result<(), SynthesisError> where
CS: ConstraintSystem<ConstraintF>,
T: 'a + ToBitsGadget<ConstraintF> + ?Sized,
I: Iterator<Item = &'a T>,
Auto Trait Implementations
impl<PairingE, ConstraintF, P> RefUnwindSafe for Groth16VerifierGadget<PairingE, ConstraintF, P> where
ConstraintF: RefUnwindSafe,
P: RefUnwindSafe,
PairingE: RefUnwindSafe,
ConstraintF: RefUnwindSafe,
P: RefUnwindSafe,
PairingE: RefUnwindSafe,
impl<PairingE, ConstraintF, P> Send for Groth16VerifierGadget<PairingE, ConstraintF, P> where
P: Send,
P: Send,
impl<PairingE, ConstraintF, P> Sync for Groth16VerifierGadget<PairingE, ConstraintF, P> where
P: Sync,
P: Sync,
impl<PairingE, ConstraintF, P> Unpin for Groth16VerifierGadget<PairingE, ConstraintF, P> where
ConstraintF: Unpin,
P: Unpin,
PairingE: Unpin,
ConstraintF: Unpin,
P: Unpin,
PairingE: Unpin,
impl<PairingE, ConstraintF, P> UnwindSafe for Groth16VerifierGadget<PairingE, ConstraintF, P> where
ConstraintF: UnwindSafe,
P: UnwindSafe,
PairingE: UnwindSafe,
ConstraintF: UnwindSafe,
P: UnwindSafe,
PairingE: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,