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