Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Curve.Weierstrass
- type PP = WPPoint BN384 Fq Fr
- type PJ = WJPoint BN384 Fq Fr
- type PA = WAPoint BN384 Fq Fr
- type Fr = PrimeField 39402006196394479212278605372068645601647601647604977711035712095477795040353349547661912204165862202002491141937013
- type Fq = PrimeField 39402006196394479212278605372068645601647601647604977711041989197213181721117185302456933847594895764913993728971019
- data BN384
- _a :: Fq
- _b :: Fq
- _h :: Integer
- _q :: Integer
- _r :: Integer
- _x :: Fq
- _y :: Fq
- gA :: PA
- gJ :: PJ
- gP :: PP
Documentation
module Curve.Weierstrass
type Fr = PrimeField 39402006196394479212278605372068645601647601647604977711035712095477795040353349547661912204165862202002491141937013 Source #
Field of coefficients of BN384 curve.
type Fq = PrimeField 39402006196394479212278605372068645601647601647604977711041989197213181721117185302456933847594895764913993728971019 Source #
Field of points of BN384 curve.
BN384 curve.
Instances
WPCurve BN384 Fq Fr Source # | Projective BN384 curve is a Weierstrass projective curve. |
WJCurve BN384 Fq Fr Source # | Jacobian BN384 curve is a Weierstrass Jacobian curve. |
WACurve BN384 Fq Fr Source # | Affine BN384 curve is a Weierstrass affine curve. |
Curve Weierstrass c BN384 Fq Fr => WCurve c BN384 Fq Fr Source # | BN384 curve is a Weierstrass curve. |