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