Struct snarkvm_curves::edwards_bls12::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 moresourceimpl Debug for EdwardsParameters
impl Debug for EdwardsParameters
sourceimpl Hash for EdwardsParameters
impl Hash for EdwardsParameters
sourceimpl ModelParameters for EdwardsParameters
impl ModelParameters for EdwardsParameters
type BaseField = Fp256<FrParameters>
type ScalarField = Fp256<FrParameters>
sourceimpl MontgomeryParameters for EdwardsParameters
impl MontgomeryParameters for EdwardsParameters
sourceconst MONTGOMERY_A: Fq = _
const MONTGOMERY_A: Fq = _
MONTGOMERY_A = 3990301581132929505568273333084066329187552697088022219156688740916631500114 = 0x8D26E3FADA9010A26949031ECE3971B93952AD84D4753DDEDB748DA37E8F552
sourceconst MONTGOMERY_B: Fq = _
const MONTGOMERY_B: Fq = _
MONTGOMERY_B = 4454160168295440918680551605697480202188346638066041608778544715000777738925 = 0x9D8F71EEC83A44C3A1FBCEC6F5418E5C6154C2682B8AC231C5A3725C8170AAD
type TwistedEdwardsParameters = EdwardsParameters
sourceimpl PartialEq<EdwardsParameters> for EdwardsParameters
impl PartialEq<EdwardsParameters> for EdwardsParameters
sourcefn eq(&self, other: &EdwardsParameters) -> bool
fn eq(&self, other: &EdwardsParameters) -> bool
sourceimpl TwistedEdwardsParameters for EdwardsParameters
impl TwistedEdwardsParameters for EdwardsParameters
sourceconst AFFINE_GENERATOR_COEFFS: (Self::BaseField, Self::BaseField) = _
const AFFINE_GENERATOR_COEFFS: (Self::BaseField, Self::BaseField) = _
Generated randomly
sourceconst COFACTOR_INV: Fr = _
const COFACTOR_INV: Fr = _
COFACTOR_INV = 527778859339273151515551558673846658209717731602102048798421311598680340096
sourcefn mul_by_a(elem: &Self::BaseField) -> Self::BaseField
fn mul_by_a(elem: &Self::BaseField) -> Self::BaseField
Multiplication by a
is just negation.
Is a
1 or -1?
type MontgomeryParameters = EdwardsParameters
impl Copy for EdwardsParameters
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more