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