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