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