Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Curve.Edwards
- type PP = EPPoint Ed25519 Fq Fr
- type PA = EAPoint Ed25519 Fq Fr
- type Fr = PrimeField 7237005577332262213973186563042994240857116359379907606001950938285454250989
- type Fq = PrimeField 57896044618658097711785492504343953926634992332820282019728792003956564819949
- data Ed25519
- _a :: Fq
- _d :: Fq
- _h :: Integer
- _q :: Integer
- _r :: Integer
- _x :: Fq
- _y :: Fq
- gA :: PA
- gP :: PP
Documentation
module Curve.Edwards
type Fr = PrimeField 7237005577332262213973186563042994240857116359379907606001950938285454250989 Source #
Field of coefficients of Ed25519 curve.
type Fq = PrimeField 57896044618658097711785492504343953926634992332820282019728792003956564819949 Source #
Field of points of Ed25519 curve.
Ed25519 curve.
Instances
EPCurve Ed25519 Fq Fr Source # | Projective Ed25519 curve is an Edwards projective curve. |
EACurve Ed25519 Fq Fr Source # | Affine Ed25519 curve is an Edwards affine curve. |
Curve Edwards c Ed25519 Fq Fr => ECurve c Ed25519 Fq Fr Source # | Ed25519 curve is an Edwards curve. |
Defined in Curve.Edwards.Ed25519 |