Skip to main content

MontgomeryParameters

Trait MontgomeryParameters 

Source
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§

Source

const MONTGOMERY_A: <Self as ModelParameters>::BaseField

The coefficient A of the Montgomery curve.

Source

const MONTGOMERY_B: <Self as ModelParameters>::BaseField

The coefficient B of the Montgomery curve.

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§