Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Curve.Weierstrass
- type PP = WPPoint BLS12381T Fq2 Fr
- type PJ = WJPoint BLS12381T Fq2 Fr
- type PA = WAPoint BLS12381T Fq2 Fr
- type Fr = PrimeField 52435875175126190479447740508185965837690552500527637822603658699938581184513
- type Fq2 = ExtensionField Fq PolynomialU
- data PolynomialU
- data BLS12381T
- _a :: Fq2
- _b :: Fq2
- _h :: Integer
- _q :: Integer
- _r :: Integer
- _x :: Fq2
- _y :: Fq2
- gA :: PA
- gJ :: PJ
- gP :: PP
Documentation
module Curve.Weierstrass
type Fr = PrimeField 52435875175126190479447740508185965837690552500527637822603658699938581184513 Source #
Field of coefficients of BLS12381T curve.
type Fq2 = ExtensionField Fq PolynomialU Source #
data PolynomialU Source #
Field of points of BLS12381T curve.
Instances
IrreducibleMonic Fq PolynomialU Source # | |
Defined in Curve.Weierstrass.BLS12381T split :: ExtensionField Fq PolynomialU -> VPoly Fq # deg' :: ExtensionField Fq PolynomialU -> Int | |
WPCurve BLS12381T Fq2 Fr Source # | Projective BLS12381T curve is a Weierstrass projective curve. |
WJCurve BLS12381T Fq2 Fr Source # | Jacobian BLS12381T curve is a Weierstrass Jacobian curve. |
WACurve BLS12381T Fq2 Fr Source # | Affine BLS12381T curve is a Weierstrass affine curve. |
Curve Weierstrass c BLS12381T Fq2 Fr => WCurve c BLS12381T Fq2 Fr Source # | BLS12381T curve is a Weierstrass curve. |
Defined in Curve.Weierstrass.BLS12381T |
BLS12381T curve.
Instances
WPCurve BLS12381T Fq2 Fr Source # | Projective BLS12381T curve is a Weierstrass projective curve. |
WJCurve BLS12381T Fq2 Fr Source # | Jacobian BLS12381T curve is a Weierstrass Jacobian curve. |
WACurve BLS12381T Fq2 Fr Source # | Affine BLS12381T curve is a Weierstrass affine curve. |
Curve Weierstrass c BLS12381T Fq2 Fr => WCurve c BLS12381T Fq2 Fr Source # | BLS12381T curve is a Weierstrass curve. |
Defined in Curve.Weierstrass.BLS12381T |