elliptic-curve-0.2.1: Elliptic curve library

Safe HaskellNone
LanguageHaskell2010

Curve.Weierstrass.SECP256R1

Synopsis

Documentation

type PP = WPPoint SECP256R1 Fq Fr Source #

Projective SECP256R1 point.

type PJ = WJPoint SECP256R1 Fq Fr Source #

Jacobian SECP256R1 point.

type PA = WAPoint SECP256R1 Fq Fr Source #

Affine SECP256R1 curve point.

type Fr = PrimeField 115792089210356248762697446949407573529996955224135760342422259061068512044369 Source #

Field of coefficients of SECP256R1 curve.

type Fq = PrimeField 115792089210356248762697446949407573530086143415290314195533631308867097853951 Source #

Field of points of SECP256R1 curve.

data SECP256R1 Source #

SECP256R1 curve.

Instances
WPCurve SECP256R1 Fq Fr Source #

Projective SECP256R1 curve is a Weierstrass projective curve.

Instance details

Defined in Curve.Weierstrass.SECP256R1

WJCurve SECP256R1 Fq Fr Source #

Jacobian SECP256R1 curve is a Weierstrass Jacobian curve.

Instance details

Defined in Curve.Weierstrass.SECP256R1

WACurve SECP256R1 Fq Fr Source #

Affine SECP256R1 curve is a Weierstrass affine curve.

Instance details

Defined in Curve.Weierstrass.SECP256R1

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

SECP256R1 curve is a Weierstrass curve.

Instance details

Defined in Curve.Weierstrass.SECP256R1

_a :: Fq Source #

Coefficient A of SECP256R1 curve.

_b :: Fq Source #

Coefficient B of SECP256R1 curve.

_h :: Integer Source #

Cofactor of SECP256R1 curve.

_q :: Integer Source #

Characteristic of SECP256R1 curve.

_r :: Integer Source #

Order of SECP256R1 curve.

_x :: Fq Source #

Coordinate X of SECP256R1 curve.

_y :: Fq Source #

Coordinate Y of SECP256R1 curve.

gA :: PA Source #

Generator of affine SECP256R1 curve.

gJ :: PJ Source #

Generator of Jacobian SECP256R1 curve.

gP :: PP Source #

Generator of projective SECP256R1 curve.