group::cofactor

Trait CofactorCurve

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

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

Required Associated Types§

Source

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

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§