Struct snarkvm_wasm::EdwardsParameters[][src]

pub struct EdwardsParameters;

Trait Implementations

impl Clone for EdwardsParameters[src]

impl Default for EdwardsParameters[src]

impl Eq for EdwardsParameters[src]

impl ModelParameters for EdwardsParameters[src]

impl MontgomeryModelParameters for EdwardsParameters[src]

type TEModelParameters = EdwardsParameters

pub const COEFF_A: Fp256<FrParameters>[src]

COEFF_A = 0x8D26E3FADA9010A26949031ECE3971B93952AD84D4753DDEDB748DA37E8F552

pub const COEFF_B: Fp256<FrParameters>[src]

COEFF_B = 0x9D8F71EEC83A44C3A1FBCEC6F5418E5C6154C2682B8AC231C5A3725C8170AAD

impl PartialEq<EdwardsParameters> for EdwardsParameters[src]

impl StructuralEq for EdwardsParameters[src]

impl StructuralPartialEq for EdwardsParameters[src]

impl TEModelParameters for EdwardsParameters[src]

type MontgomeryModelParameters = EdwardsParameters

pub const AFFINE_GENERATOR_COEFFS: (<EdwardsParameters as ModelParameters>::BaseField, <EdwardsParameters as ModelParameters>::BaseField)[src]

Generated randomly

pub const COEFF_A: Fp256<FrParameters>[src]

COEFF_A = -1

pub const COEFF_D: Fp256<FrParameters>[src]

COEFF_D = 3021

pub const COFACTOR: &'static [u64][src]

COFACTOR = 4

pub const COFACTOR_INV: Fp256<FrParameters>[src]

COFACTOR_INV = 527778859339273151515551558673846658209717731602102048798421311598680340096

pub fn mul_by_a(
    elem: &<EdwardsParameters as ModelParameters>::BaseField
) -> <EdwardsParameters as ModelParameters>::BaseField
[src]

Multiplication by a is just negation. Is a 1 or -1?

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,