pub trait TwistedEdwardsParameters: ModelParameters {
    type MontgomeryParameters: MontgomeryParameters<BaseField = Self::BaseField>;
    const EDWARDS_A: <Self as ModelParameters>::BaseField;
    const EDWARDS_D: <Self as ModelParameters>::BaseField;
    const COFACTOR: &'static [u64];
    const COFACTOR_INV: <Self as ModelParameters>::ScalarField;
    const AFFINE_GENERATOR_COEFFS: (Self::BaseField, Self::BaseField);
    // Provided method
    fn mul_by_a(elem: &Self::BaseField) -> Self::BaseField { ... }
}Required Associated Constants§
Sourceconst EDWARDS_A: <Self as ModelParameters>::BaseField
 
const EDWARDS_A: <Self as ModelParameters>::BaseField
The coefficient A of the twisted Edwards curve.
Sourceconst EDWARDS_D: <Self as ModelParameters>::BaseField
 
const EDWARDS_D: <Self as ModelParameters>::BaseField
The coefficient D of the twisted Edwards curve.
Sourceconst COFACTOR_INV: <Self as ModelParameters>::ScalarField
 
const COFACTOR_INV: <Self as ModelParameters>::ScalarField
The cofactor inverse of the twisted Edwards curve.
Sourceconst AFFINE_GENERATOR_COEFFS: (Self::BaseField, Self::BaseField)
 
const AFFINE_GENERATOR_COEFFS: (Self::BaseField, Self::BaseField)
The affine generator of the twisted Edwards curve.
Required Associated Types§
type MontgomeryParameters: MontgomeryParameters<BaseField = Self::BaseField>
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.