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