[][src]Struct sapling_crypto_ce::circuit::baby_eddsa::EddsaSignature

pub struct EddsaSignature<E: JubjubEngine> {
    pub r: EdwardsPoint<E>,
    pub s: AllocatedNum<E>,
    pub pk: EdwardsPoint<E>,
}

Fields

r: EdwardsPoint<E>s: AllocatedNum<E>pk: EdwardsPoint<E>

Methods

impl<E: JubjubEngine> EddsaSignature<E>[src]

pub fn verify_schnorr_blake2s<CS>(
    &self,
    cs: CS,
    params: &E::Params,
    message: &[Boolean],
    generator: EdwardsPoint<E>
) -> Result<(), SynthesisError> where
    CS: ConstraintSystem<E>, 
[src]

pub fn verify_sha256_musig<CS>(
    &self,
    cs: CS,
    params: &E::Params,
    message: &[Boolean],
    generator: EdwardsPoint<E>
) -> Result<(), SynthesisError> where
    CS: ConstraintSystem<E>, 
[src]

pub fn verify_raw_message_signature<CS>(
    &self,
    cs: CS,
    params: &E::Params,
    message: &[Boolean],
    generator: EdwardsPoint<E>,
    max_message_len: usize
) -> Result<(), SynthesisError> where
    CS: ConstraintSystem<E>, 
[src]

Trait Implementations

impl<E: Clone + JubjubEngine> Clone for EddsaSignature<E>[src]

Auto Trait Implementations

impl<E> Send for EddsaSignature<E> where
    <E as ScalarEngine>::Fr: Send

impl<E> Sync for EddsaSignature<E> where
    <E as ScalarEngine>::Fr: Sync

impl<E> Unpin for EddsaSignature<E> where
    <E as ScalarEngine>::Fr: Unpin

impl<E> UnwindSafe for EddsaSignature<E> where
    <E as ScalarEngine>::Fr: UnwindSafe

impl<E> RefUnwindSafe for EddsaSignature<E> where
    <E as ScalarEngine>::Fr: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self