elliptic-curve-0.2.2: Elliptic curve library

Safe HaskellNone
LanguageHaskell2010

Curve.Weierstrass.BLS12381

Synopsis

Documentation

type PP = WPPoint BLS12381 Fq Fr Source #

Projective BLS12381 point.

type PJ = WJPoint BLS12381 Fq Fr Source #

Jacobian BLS12381 point.

type PA = WAPoint BLS12381 Fq Fr Source #

Affine BLS12381 curve point.

type Fr = PrimeField 52435875175126190479447740508185965837690552500527637822603658699938581184513 Source #

Field of coefficients of BLS12381 curve.

type Fq = PrimeField 4002409555221667393417789825735904156556882819939007885332058136124031650490837864442687629129015664037894272559787 Source #

Field of points of BLS12381 curve.

data BLS12381 Source #

BLS12381 curve.

Instances
WPCurve BLS12381 Fq Fr Source #

Projective BLS12381 curve is a Weierstrass projective curve.

Instance details

Defined in Curve.Weierstrass.BLS12381

WJCurve BLS12381 Fq Fr Source #

Jacobian BLS12381 curve is a Weierstrass Jacobian curve.

Instance details

Defined in Curve.Weierstrass.BLS12381

WACurve BLS12381 Fq Fr Source #

Affine BLS12381 curve is a Weierstrass affine curve.

Instance details

Defined in Curve.Weierstrass.BLS12381

Curve Weierstrass c BLS12381 Fq Fr => WCurve c BLS12381 Fq Fr Source #

BLS12381 curve is a Weierstrass curve.

Instance details

Defined in Curve.Weierstrass.BLS12381

_a :: Fq Source #

Coefficient A of BLS12381 curve.

_b :: Fq Source #

Coefficient B of BLS12381 curve.

_h :: Integer Source #

Cofactor of BLS12381 curve.

_q :: Integer Source #

Characteristic of BLS12381 curve.

_r :: Integer Source #

Order of BLS12381 curve.

_x :: Fq Source #

Coordinate X of BLS12381 curve.

_y :: Fq Source #

Coordinate Y of BLS12381 curve.

gA :: PA Source #

Generator of affine BLS12381 curve.

gJ :: PJ Source #

Generator of Jacobian BLS12381 curve.

gP :: PP Source #

Generator of projective BLS12381 curve.