Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Data.Curve.Edwards
- type PP = EPPoint Ed25519 Fq Fr
- type PA = EAPoint Ed25519 Fq Fr
- type R = 7237005577332262213973186563042994240857116359379907606001950938285454250989
- type Fr = Prime R
- type Q = 57896044618658097711785492504343953926634992332820282019728792003956564819949
- type Fq = Prime Q
- data Ed25519
- _a :: Fq
- _d :: Fq
- _h :: Natural
- _q :: Natural
- _r :: Natural
- _x :: Fq
- _y :: Fq
- gA :: PA
- gP :: PP