pub trait MontgomeryParameters: ModelParameters {
type TwistedEdwardsParameters: TwistedEdwardsParameters<BaseField = Self::BaseField>;
const MONTGOMERY_A: <Self as ModelParameters>::BaseField;
const MONTGOMERY_B: <Self as ModelParameters>::BaseField;
}
Required Associated Constants§
Sourceconst MONTGOMERY_A: <Self as ModelParameters>::BaseField
const MONTGOMERY_A: <Self as ModelParameters>::BaseField
The coefficient A
of the Montgomery curve.
Sourceconst MONTGOMERY_B: <Self as ModelParameters>::BaseField
const MONTGOMERY_B: <Self as ModelParameters>::BaseField
The coefficient B
of the Montgomery curve.
Required Associated Types§
type TwistedEdwardsParameters: TwistedEdwardsParameters<BaseField = Self::BaseField>
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.