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