Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Curve.Weierstrass
- type PP = WPPoint BN254BT Fq2 Fr
- type PJ = WJPoint BN254BT Fq2 Fr
- type PA = WAPoint BN254BT Fq2 Fr
- type Fr = PrimeField 16798108731015832284940804142231733909759579603404752749028378864165570215949
- type Fq2 = ExtensionField Fq PolynomialU
- data PolynomialU
- data BN254BT
- _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 16798108731015832284940804142231733909759579603404752749028378864165570215949 Source #
Field of coefficients of BN254BT curve.
type Fq2 = ExtensionField Fq PolynomialU Source #
data PolynomialU Source #
Field of points of BN254BT curve.
Instances
IrreducibleMonic Fq PolynomialU Source # | |
Defined in Curve.Weierstrass.BN254BT split :: ExtensionField Fq PolynomialU -> VPoly Fq # deg' :: ExtensionField Fq PolynomialU -> Int | |
WPCurve BN254BT Fq2 Fr Source # | Projective BN254BT curve is a Weierstrass projective curve. |
WJCurve BN254BT Fq2 Fr Source # | Jacobian BN254BT curve is a Weierstrass Jacobian curve. |
WACurve BN254BT Fq2 Fr Source # | Affine BN254BT curve is a Weierstrass affine curve. |
Curve Weierstrass c BN254BT Fq2 Fr => WCurve c BN254BT Fq2 Fr Source # | BN254BT curve is a Weierstrass curve. |
Defined in Curve.Weierstrass.BN254BT |
BN254BT curve.
Instances
WPCurve BN254BT Fq2 Fr Source # | Projective BN254BT curve is a Weierstrass projective curve. |
WJCurve BN254BT Fq2 Fr Source # | Jacobian BN254BT curve is a Weierstrass Jacobian curve. |
WACurve BN254BT Fq2 Fr Source # | Affine BN254BT curve is a Weierstrass affine curve. |
Curve Weierstrass c BN254BT Fq2 Fr => WCurve c BN254BT Fq2 Fr Source # | BN254BT curve is a Weierstrass curve. |
Defined in Curve.Weierstrass.BN254BT |