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