[][src]Trait group::prime::PrimeCurveAffine

pub trait PrimeCurveAffine: GroupEncoding + Copy + Clone + Sized + Send + Sync + Debug + PartialEq + Eq + 'static + Neg<Output = Self> + Mul<Self::Scalar, Output = Self::Curve> + for<'r> Mul<Self::Scalar, Output = Self::Curve> {
    type Scalar: PrimeField;
    type Curve: PrimeCurve<Affine = Self, Scalar = Self::Scalar>;
    pub fn identity() -> Self;
pub fn generator() -> Self;
pub fn is_identity(&self) -> Choice;
pub fn to_curve(&self) -> Self::Curve; }

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

Associated Types

type Scalar: PrimeField[src]

type Curve: PrimeCurve<Affine = Self, Scalar = Self::Scalar>[src]

Loading content...

Required methods

pub fn identity() -> Self[src]

Returns the additive identity.

pub fn generator() -> Self[src]

Returns a fixed generator of unknown exponent.

pub fn is_identity(&self) -> Choice[src]

Determines if this point represents the point at infinity; the additive identity.

pub fn to_curve(&self) -> Self::Curve[src]

Converts this element to its curve representation.

Loading content...

Implementors

Loading content...