elliptic-curve-0.3.0: Elliptic curve library

Safe HaskellNone
LanguageHaskell2010

Data.Curve.Edwards.Ed25519

Contents

Synopsis

Documentation

Ed25519 curve

type PP = EPPoint Ed25519 Fq Fr Source #

Projective Ed25519 point.

type PA = EAPoint Ed25519 Fq Fr Source #

Affine Ed25519 curve point.

type R = 7237005577332262213973186563042994240857116359379907606001950938285454250989 Source #

type Fr = Prime R Source #

Field of coefficients of Ed25519 curve.

type Q = 57896044618658097711785492504343953926634992332820282019728792003956564819949 Source #

type Fq = Prime Q Source #

Field of points of Ed25519 curve.

_a :: Fq Source #

Coefficient A of Ed25519 curve.

_d :: Fq Source #

Coefficient D of Ed25519 curve.

_h :: Natural Source #

Cofactor of Ed25519 curve.

_q :: Natural Source #

Characteristic of Ed25519 curve.

_r :: Natural Source #

Order of Ed25519 curve.

_x :: Fq Source #

Coordinate X of Ed25519 curve.

_y :: Fq Source #

Coordinate Y of Ed25519 curve.

gA :: PA Source #

Generator of affine Ed25519 curve.

gP :: PP Source #

Generator of projective Ed25519 curve.