elliptic-curve-0.2.2: Elliptic curve library

Safe HaskellNone
LanguageHaskell2010

Curve.Weierstrass.SECP256K1

Synopsis

Documentation

type PP = WPPoint SECP256K1 Fq Fr Source #

Projective SECP256K1 point.

type PJ = WJPoint SECP256K1 Fq Fr Source #

Jacobian SECP256K1 point.

type PA = WAPoint SECP256K1 Fq Fr Source #

Affine SECP256K1 curve point.

type Fr = PrimeField 115792089237316195423570985008687907852837564279074904382605163141518161494337 Source #

Field of coefficients of SECP256K1 curve.

type Fq = PrimeField 115792089237316195423570985008687907853269984665640564039457584007908834671663 Source #

Field of points of SECP256K1 curve.

data SECP256K1 Source #

SECP256K1 curve.

Instances
WPCurve SECP256K1 Fq Fr Source #

Projective SECP256K1 curve is a Weierstrass projective curve.

Instance details

Defined in Curve.Weierstrass.SECP256K1

WJCurve SECP256K1 Fq Fr Source #

Jacobian SECP256K1 curve is a Weierstrass Jacobian curve.

Instance details

Defined in Curve.Weierstrass.SECP256K1

WACurve SECP256K1 Fq Fr Source #

Affine SECP256K1 curve is a Weierstrass affine curve.

Instance details

Defined in Curve.Weierstrass.SECP256K1

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

SECP256K1 curve is a Weierstrass curve.

Instance details

Defined in Curve.Weierstrass.SECP256K1

_a :: Fq Source #

Coefficient A of SECP256K1 curve.

_b :: Fq Source #

Coefficient B of SECP256K1 curve.

_h :: Integer Source #

Cofactor of SECP256K1 curve.

_q :: Integer Source #

Characteristic of SECP256K1 curve.

_r :: Integer Source #

Order of SECP256K1 curve.

_x :: Fq Source #

Coordinate X of SECP256K1 curve.

_y :: Fq Source #

Coordinate Y of SECP256K1 curve.

gA :: PA Source #

Generator of affine SECP256K1 curve.

gJ :: PJ Source #

Generator of Jacobian SECP256K1 curve.

gP :: PP Source #

Generator of projective SECP256K1 curve.