Trait group::prime::PrimeCurve

source ·
pub trait PrimeCurve: Curve<AffineRepr = Self::Affine> + PrimeGroup {
    type Affine: PrimeCurveAffine<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: PrimeCurveAffine<Curve = Self, Scalar = Self::Scalar> + Mul<Self::Scalar, Output = Self> + for<'r> Mul<&'r Self::Scalar, Output = Self>

Object Safety§

This trait is not object safe.

Implementors§