Trait ethers::core::k256::elliptic_curve::group::cofactor::CofactorCurveAffine[]

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

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

Associated Types

Required methods

Returns the additive identity.

Returns a fixed generator of unknown exponent.

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

Converts this element to its curve representation.

Implementors