Struct snarkvm_curves::edwards_bw6::EdwardsParameters
source · [−]pub struct EdwardsParameters;
Trait Implementations
sourceimpl Clone for EdwardsParameters
impl Clone for EdwardsParameters
sourcefn clone(&self) -> EdwardsParameters
fn clone(&self) -> EdwardsParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for EdwardsParameters
impl Default for EdwardsParameters
sourcefn default() -> EdwardsParameters
fn default() -> EdwardsParameters
Returns the “default value” for a type. Read more
sourceimpl ModelParameters for EdwardsParameters
impl ModelParameters for EdwardsParameters
type BaseField = Fq
type ScalarField = Fr
sourceimpl MontgomeryParameters for EdwardsParameters
impl MontgomeryParameters for EdwardsParameters
sourceconst COEFF_A: Fq
const COEFF_A: Fq
COEFF_A = 0x95D53EB3F6AC3F7A53C26020144439DC6073BCAE513E03FD06B6B3BAA390F25E51534B26719E33F4CD906D4DA9B535
sourceconst COEFF_B: Fq
const COEFF_B: Fq
COEFF_B = 0x118650763CE64AB4BE743604C8D05013DC2663652A3D58B21ECAB7BFF65B70DB8BA09F9098E61CC903B2F92B2564ACA
type TwistedEdwardsParameters = EdwardsParameters
sourceimpl TwistedEdwardsParameters for EdwardsParameters
impl TwistedEdwardsParameters for EdwardsParameters
sourceconst AFFINE_GENERATOR_COEFFS: (Self::BaseField, Self::BaseField)
const AFFINE_GENERATOR_COEFFS: (Self::BaseField, Self::BaseField)
AFFINE_GENERATOR_COEFFS = (GENERATOR_X, GENERATOR_Y)
sourceconst COEFF_A: Fq
const COEFF_A: Fq
COEFF_A = -1 = 258664426012969094010652733694893533536393512754914660539884262666720468348340822774968888139573360124440321458176
sourceconst COFACTOR: &'static [u64]
const COFACTOR: &'static [u64]
COFACTOR = 8
sourceconst COFACTOR_INV: Fr
const COFACTOR_INV: Fr
COFACTOR^(-1) mod r = 12124894969357926281749346891948134384518445910386624712788431705725441736421489799867521238554906438478484045560
type MontgomeryParameters = EdwardsParameters
fn empirical_recommended_wnaf_for_scalar(
scalar: <Self::ScalarField as PrimeField>::BigInteger
) -> usize
fn empirical_recommended_wnaf_for_num_scalars(num_scalars: usize) -> usize
impl Eq for EdwardsParameters
impl StructuralEq for EdwardsParameters
impl StructuralPartialEq for EdwardsParameters
Auto Trait Implementations
impl RefUnwindSafe for EdwardsParameters
impl Send for EdwardsParameters
impl Sync for EdwardsParameters
impl Unpin for EdwardsParameters
impl UnwindSafe for EdwardsParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more