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