Skip to main content

CofactorCurve

Trait CofactorCurve 

pub trait CofactorCurve: Curve<AffineRepr = Self::Affine> + CofactorGroup {
    type Affine: CofactorCurveAffine<Curve = Self, Scalar = Self::Scalar, Output = Self, Output = Self> + Mul<Self::Scalar> + for<'r> Mul<&'r Self::Scalar>;
}
Expand description

Efficient representation of an elliptic curve point guaranteed to be in the correct prime order subgroup.

Required Associated Types§

type Affine: CofactorCurveAffine<Curve = Self, Scalar = Self::Scalar, Output = Self, Output = Self> + Mul<Self::Scalar> + for<'r> Mul<&'r Self::Scalar>

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.

Implementors§