elliptic-curve-0.2.1: Elliptic curve library

Safe HaskellNone
LanguageHaskell2010

Curve.Weierstrass.BN256

Synopsis

Documentation

type PP = WPPoint BN256 Fq Fr Source #

Projective BN256 point.

type PJ = WJPoint BN256 Fq Fr Source #

Jacobian BN256 point.

type PA = WAPoint BN256 Fq Fr Source #

Affine BN256 curve point.

type Fr = PrimeField 115792089237314936872688561244471742058035595988840268584488757999429535617037 Source #

Field of coefficients of BN256 curve.

type Fq = PrimeField 115792089237314936872688561244471742058375878355761205198700409522629664518163 Source #

Field of points of BN256 curve.

data BN256 Source #

BN256 curve.

Instances
WPCurve BN256 Fq Fr Source #

Projective BN256 curve is a Weierstrass projective curve.

Instance details

Defined in Curve.Weierstrass.BN256

WJCurve BN256 Fq Fr Source #

Jacobian BN256 curve is a Weierstrass Jacobian curve.

Instance details

Defined in Curve.Weierstrass.BN256

WACurve BN256 Fq Fr Source #

Affine BN256 curve is a Weierstrass affine curve.

Instance details

Defined in Curve.Weierstrass.BN256

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

BN256 curve is a Weierstrass curve.

Instance details

Defined in Curve.Weierstrass.BN256

_a :: Fq Source #

Coefficient A of BN256 curve.

_b :: Fq Source #

Coefficient B of BN256 curve.

_h :: Integer Source #

Cofactor of BN256 curve.

_q :: Integer Source #

Characteristic of BN256 curve.

_r :: Integer Source #

Order of BN256 curve.

_x :: Fq Source #

Coordinate X of BN256 curve.

_y :: Fq Source #

Coordinate Y of BN256 curve.

gA :: PA Source #

Generator of affine BN256 curve.

gJ :: PJ Source #

Generator of Jacobian BN256 curve.

gP :: PP Source #

Generator of projective BN256 curve.