elliptic-curve-0.2.2: Elliptic curve library

Safe HaskellNone
LanguageHaskell2010

Curve.Weierstrass.BN254

Synopsis

Documentation

type PP = WPPoint BN254 Fq Fr Source #

Projective BN254 point.

type PJ = WJPoint BN254 Fq Fr Source #

Jacobian BN254 point.

type PA = WAPoint BN254 Fq Fr Source #

Affine BN254 curve point.

type Fr = PrimeField 21888242871839275222246405745257275088548364400416034343698204186575808495617 Source #

Field of coefficients of BN254 curve.

type Fq = PrimeField 21888242871839275222246405745257275088696311157297823662689037894645226208583 Source #

Field of points of BN254 curve.

data BN254 Source #

BN254 curve.

Instances
WPCurve BN254 Fq Fr Source #

Projective BN254 curve is a Weierstrass projective curve.

Instance details

Defined in Curve.Weierstrass.BN254

WJCurve BN254 Fq Fr Source #

Jacobian BN254 curve is a Weierstrass Jacobian curve.

Instance details

Defined in Curve.Weierstrass.BN254

WACurve BN254 Fq Fr Source #

Affine BN254 curve is a Weierstrass affine curve.

Instance details

Defined in Curve.Weierstrass.BN254

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

BN254 curve is a Weierstrass curve.

Instance details

Defined in Curve.Weierstrass.BN254

_a :: Fq Source #

Coefficient A of BN254 curve.

_b :: Fq Source #

Coefficient B of BN254 curve.

_h :: Integer Source #

Cofactor of BN254 curve.

_q :: Integer Source #

Characteristic of BN254 curve.

_r :: Integer Source #

Order of BN254 curve.

_x :: Fq Source #

Coordinate X of BN254 curve.

_y :: Fq 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.