Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Curve.Weierstrass
- type PP = WPPoint BLS12381 Fq Fr
- type PJ = WJPoint BLS12381 Fq Fr
- type PA = WAPoint BLS12381 Fq Fr
- type Fr = PrimeField 52435875175126190479447740508185965837690552500527637822603658699938581184513
- type Fq = PrimeField 4002409555221667393417789825735904156556882819939007885332058136124031650490837864442687629129015664037894272559787
- data BLS12381
- _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 52435875175126190479447740508185965837690552500527637822603658699938581184513 Source #
Field of coefficients of BLS12381 curve.
type Fq = PrimeField 4002409555221667393417789825735904156556882819939007885332058136124031650490837864442687629129015664037894272559787 Source #
Field of points of BLS12381 curve.
BLS12381 curve.
Instances
WPCurve BLS12381 Fq Fr Source # | Projective BLS12381 curve is a Weierstrass projective curve. |
WJCurve BLS12381 Fq Fr Source # | Jacobian BLS12381 curve is a Weierstrass Jacobian curve. |
WACurve BLS12381 Fq Fr Source # | Affine BLS12381 curve is a Weierstrass affine curve. |
Curve Weierstrass c BLS12381 Fq Fr => WCurve c BLS12381 Fq Fr Source # | BLS12381 curve is a Weierstrass curve. |
Defined in Curve.Weierstrass.BLS12381 |