Struct snarkvm_gadgets::algorithms::crh::pedersen::PedersenCompressedCRHGadget [−][src]
Trait Implementations
impl<F: Field, G: Group + ProjectiveCurve, GG: CompressedGroupGadget<G, F>, S: PedersenSize> CRHGadget<PedersenCompressedCRH<G, S>, F> for PedersenCompressedCRHGadget<G, F, GG>
[src]
type OutputGadget = GG::BaseFieldGadget
type ParametersGadget = PedersenCRHParametersGadget<G, S, F, GG>
fn check_evaluation_gadget<CS: ConstraintSystem<F>>(
cs: CS,
parameters: &Self::ParametersGadget,
input: Vec<UInt8>
) -> Result<Self::OutputGadget, SynthesisError>
[src]
cs: CS,
parameters: &Self::ParametersGadget,
input: Vec<UInt8>
) -> Result<Self::OutputGadget, SynthesisError>
impl<G: Clone + Group + ProjectiveCurve, F: Clone + Field, GG: Clone + CompressedGroupGadget<G, F>> Clone for PedersenCompressedCRHGadget<G, F, GG>
[src]
fn clone(&self) -> PedersenCompressedCRHGadget<G, F, GG>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<G: Debug + Group + ProjectiveCurve, F: Debug + Field, GG: Debug + CompressedGroupGadget<G, F>> Debug for PedersenCompressedCRHGadget<G, F, GG>
[src]
impl<G: Eq + Group + ProjectiveCurve, F: Eq + Field, GG: Eq + CompressedGroupGadget<G, F>> Eq for PedersenCompressedCRHGadget<G, F, GG>
[src]
impl<F: PrimeField, G: Group + ProjectiveCurve, GG: CompressedGroupGadget<G, F>, S: PedersenSize> MaskedCRHGadget<PedersenCompressedCRH<G, S>, F> for PedersenCompressedCRHGadget<G, F, GG>
[src]
fn check_evaluation_gadget_masked<CS: ConstraintSystem<F>>(
cs: CS,
parameters: &Self::ParametersGadget,
input: Vec<UInt8>,
mask_parameters: &Self::ParametersGadget,
mask: Vec<UInt8>
) -> Result<Self::OutputGadget, SynthesisError>
[src]
cs: CS,
parameters: &Self::ParametersGadget,
input: Vec<UInt8>,
mask_parameters: &Self::ParametersGadget,
mask: Vec<UInt8>
) -> Result<Self::OutputGadget, SynthesisError>
pub fn extend_mask<CS>(
CS,
mask: &[UInt8]
) -> Result<Vec<UInt8, Global>, SynthesisError> where
CS: ConstraintSystem<F>,
[src]
CS,
mask: &[UInt8]
) -> Result<Vec<UInt8, Global>, SynthesisError> where
CS: ConstraintSystem<F>,
impl<G: PartialEq + Group + ProjectiveCurve, F: PartialEq + Field, GG: PartialEq + CompressedGroupGadget<G, F>> PartialEq<PedersenCompressedCRHGadget<G, F, GG>> for PedersenCompressedCRHGadget<G, F, GG>
[src]
fn eq(&self, other: &PedersenCompressedCRHGadget<G, F, GG>) -> bool
[src]
fn ne(&self, other: &PedersenCompressedCRHGadget<G, F, GG>) -> bool
[src]
impl<G: Group + ProjectiveCurve, F: Field, GG: CompressedGroupGadget<G, F>> StructuralEq for PedersenCompressedCRHGadget<G, F, GG>
[src]
impl<G: Group + ProjectiveCurve, F: Field, GG: CompressedGroupGadget<G, F>> StructuralPartialEq for PedersenCompressedCRHGadget<G, F, GG>
[src]
Auto Trait Implementations
impl<G, F, GG> RefUnwindSafe for PedersenCompressedCRHGadget<G, F, GG> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<G, F, GG> Send for PedersenCompressedCRHGadget<G, F, GG>
impl<G, F, GG> Sync for PedersenCompressedCRHGadget<G, F, GG>
impl<G, F, GG> Unpin for PedersenCompressedCRHGadget<G, F, GG> where
F: Unpin,
F: Unpin,
impl<G, F, GG> UnwindSafe for PedersenCompressedCRHGadget<G, F, GG> where
F: UnwindSafe,
F: 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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,