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