elliptic-curve-0.3.0: Elliptic curve library

Safe HaskellNone
LanguageHaskell2010

Data.Curve.Montgomery.Curve25519

Contents

Synopsis

Documentation

Curve25519 curve

type PA = MAPoint Curve25519 Fq Fr Source #

Affine Curve25519 curve point.

type R = 7237005577332262213973186563042994240857116359379907606001950938285454250989 Source #

type Fr = Prime R Source #

Field of coefficients of Curve25519 curve.

type Q = 57896044618658097711785492504343953926634992332820282019728792003956564819949 Source #

type Fq = Prime Q Source #

Field of points of Curve25519 curve.

_a :: Fq Source #

Coefficient A of Curve25519 curve.

_b :: Fq Source #

Coefficient B of Curve25519 curve.

_h :: Natural Source #

Cofactor of Curve25519 curve.

_q :: Natural Source #

Characteristic of Curve25519 curve.

_r :: Natural Source #

Order of Curve25519 curve.

_x :: Fq Source #

Coordinate X of Curve25519 curve.

_y :: Fq Source #

Coordinate Y of Curve25519 curve.

gA :: PA Source #

Generator of affine Curve25519 curve.