Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Curve.Edwards
- type PP = EPPoint JubJub Fq Fr
- type PA = EAPoint JubJub Fq Fr
- type Fr = PrimeField 6554484396890773809930967563523245729705921265872317281365359162392183254199
- type Fq = PrimeField 52435875175126190479447740508185965837690552500527637822603658699938581184513
- data JubJub
- _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 6554484396890773809930967563523245729705921265872317281365359162392183254199 Source #
Field of coefficients of JubJub curve.
type Fq = PrimeField 52435875175126190479447740508185965837690552500527637822603658699938581184513 Source #
Field of points of JubJub curve.
JubJub curve.
Instances
EPCurve JubJub Fq Fr Source # | Projective JubJub curve is an Edwards projective curve. |
EACurve JubJub Fq Fr Source # | Affine JubJub curve is an Edwards affine curve. |
Curve Edwards c JubJub Fq Fr => ECurve c JubJub Fq Fr Source # | JubJub curve is an Edwards curve. |