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