elliptic-curve-0.3.0: Elliptic curve library

Safe HaskellNone
LanguageHaskell2010

Data.Curve.Weierstrass.BN254T

Contents

Synopsis

Documentation

BN254 curve

type PP = WPPoint BN254 Fq2 Fr Source #

Projective BN254 point.

type PJ = WJPoint BN254 Fq2 Fr Source #

Jacobian BN254 point.

type PA = WAPoint BN254 Fq2 Fr Source #

Affine BN254 curve point.

type Fq2 = Extension U Fq Source #

Field of points of BN254 curve over Fq2.

_a :: Fq2 Source #

Coefficient A of BN254 curve.

_b :: Fq2 Source #

Coefficient B of BN254 curve.

_h :: Natural Source #

Cofactor of BN254 curve.

_q :: Natural Source #

Characteristic of BN254 curve.

_r :: Natural Source #

Order of BN254 curve.

_x :: Fq2 Source #

Coordinate X of BN254 curve.

_y :: Fq2 Source #

Coordinate Y of BN254 curve.

gA :: PA Source #

Generator of affine BN254 curve.

gJ :: PJ Source #

Generator of Jacobian BN254 curve.

gP :: PP Source #

Generator of projective BN254 curve.