pub trait MontCurveConfig: CurveConfig {
    type TECurveConfig: TECurveConfig<BaseField = Self::BaseField>;

    const COEFF_A: Self::BaseField;
    const COEFF_B: Self::BaseField;
}
Expand description

Constants and convenience functions that collectively define the Montgomery model of the curve. In this model, the curve equation is b * y² = x³ + a * x² + x, for constants a and b.

Required Associated Types§

source

type TECurveConfig: TECurveConfig<BaseField = Self::BaseField>

Model parameters for the Twisted Edwards curve that is birationally equivalent to this curve.

Required Associated Constants§

source

const COEFF_A: Self::BaseField

Coefficient a of the curve equation.

source

const COEFF_B: Self::BaseField

Coefficient b of the curve equation.

Implementors§