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