Struct snarkvm_curves::edwards_bls12::parameters::EdwardsParameters
source · pub struct EdwardsParameters;
Trait Implementations§
source§impl Clone for EdwardsParameters
impl Clone for EdwardsParameters
source§fn clone(&self) -> EdwardsParameters
fn clone(&self) -> EdwardsParameters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EdwardsParameters
impl Debug for EdwardsParameters
source§impl Hash for EdwardsParameters
impl Hash for EdwardsParameters
source§impl ModelParameters for EdwardsParameters
impl ModelParameters for EdwardsParameters
type BaseField = Fp256<FrParameters>
type ScalarField = Fp256<FrParameters>
source§impl MontgomeryParameters for EdwardsParameters
impl MontgomeryParameters for EdwardsParameters
source§const MONTGOMERY_A: Fq = _
const MONTGOMERY_A: Fq = _
MONTGOMERY_A = 3990301581132929505568273333084066329187552697088022219156688740916631500114 = 0x8D26E3FADA9010A26949031ECE3971B93952AD84D4753DDEDB748DA37E8F552
source§const MONTGOMERY_B: Fq = _
const MONTGOMERY_B: Fq = _
MONTGOMERY_B = 4454160168295440918680551605697480202188346638066041608778544715000777738925 = 0x9D8F71EEC83A44C3A1FBCEC6F5418E5C6154C2682B8AC231C5A3725C8170AAD
type TwistedEdwardsParameters = EdwardsParameters
source§impl PartialEq<EdwardsParameters> for EdwardsParameters
impl PartialEq<EdwardsParameters> for EdwardsParameters
source§fn eq(&self, other: &EdwardsParameters) -> bool
fn eq(&self, other: &EdwardsParameters) -> bool
source§impl TwistedEdwardsParameters for EdwardsParameters
impl TwistedEdwardsParameters for EdwardsParameters
source§const AFFINE_GENERATOR_COEFFS: (Self::BaseField, Self::BaseField) = _
const AFFINE_GENERATOR_COEFFS: (Self::BaseField, Self::BaseField) = _
Generated randomly
source§const COFACTOR_INV: Fr = _
const COFACTOR_INV: Fr = _
COFACTOR_INV = 527778859339273151515551558673846658209717731602102048798421311598680340096
source§fn 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?