elliptic-curve-0.3.0: Elliptic curve library

Safe HaskellNone
LanguageHaskell2010

Data.Curve.Montgomery.M221

Contents

Synopsis

Documentation

M221 curve

type PA = MAPoint M221 Fq Fr Source #

Affine M221 curve point.

type R = 421249166674228746791672110734682167926895081980396304944335052891 Source #

type Fr = Prime R Source #

Field of coefficients of M221 curve.

type Q = 3369993333393829974333376885877453834204643052817571560137951281149 Source #

type Fq = Prime Q Source #

Field of points of M221 curve.

data M221 Source #

M221 curve.

Instances
MACurve M221 Fq Fr Source # 
Instance details

Defined in Data.Curve.Montgomery.M221

Curve Montgomery c M221 Fq Fr => MCurve c M221 Fq Fr Source # 
Instance details

Defined in Data.Curve.Montgomery.M221

_a :: Fq Source #

Coefficient A of M221 curve.

_b :: Fq Source #

Coefficient B of M221 curve.

_h :: Natural Source #

Cofactor of M221 curve.

_q :: Natural Source #

Characteristic of M221 curve.

_r :: Natural Source #

Order of M221 curve.

_x :: Fq Source #

Coordinate X of M221 curve.

_y :: Fq Source #

Coordinate Y of M221 curve.

gA :: PA Source #

Generator of affine M221 curve.