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