Skip to main content

PrimeCurveArithmetic

Trait PrimeCurveArithmetic 

pub trait PrimeCurveArithmetic: PrimeCurve + CurveArithmetic<ProjectivePoint = Self::CurveGroup> {
    type CurveGroup: PrimeCurve<Affine = Self::AffinePoint>;
}
Expand description

Prime order elliptic curve with projective arithmetic implementation.

Required Associated Types§

type CurveGroup: PrimeCurve<Affine = Self::AffinePoint>

Prime order elliptic curve group.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

§

impl PrimeCurveArithmetic for NistP256

§

type CurveGroup = ProjectivePoint<NistP256>