HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulecrypto-pubkey-types-0.4.3Haskell98

Crypto.Types.PubKey.ECC

  • 8 types
  • 4 values
datadata Curve
#

Define either a binary curve or a prime curve.

Constructors

Instances4Eq, Data, Read, Show
  • Eq CurveDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Data CurveDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Read CurveDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Show CurveDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
datadata Point
#

Define a point on a curve.

Constructors

Instances4Eq, Data, Read, Show
  • Eq PointDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Data PointDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Read PointDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Show PointDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
datadata CurveBinary
#

Define an elliptic curve in 𝔽(2^m). The firt parameter is the Integer representatioin of the irreducible polynomial f(x).

Instances4Eq, Data, Read, Show
  • Eq CurveBinaryDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Data CurveBinaryDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Read CurveBinaryDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Show CurveBinaryDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
datadata CurvePrime
#

Define an elliptic curve in 𝔽p. The first parameter is the Prime Number.

Instances4Eq, Data, Read, Show
  • Eq CurvePrimeDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Data CurvePrimeDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Read CurvePrimeDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Show CurvePrimeDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
datadata CurveCommon
#

Define common parameters in a curve definition of the form: y^2 = x^3 + ax + b.

Constructors

Instances4Eq, Data, Read, Show
  • Eq CurveCommonDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Data CurveCommonDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Read CurveCommonDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Show CurveCommonDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC

recommended curves definition

2 declarations
datadata CurveName
#
Instances8Enum, Eq, Data, Ord, Read, Show, …
  • Enum CurveNameDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Eq CurveNameDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Data CurveNameDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Ord CurveNameDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Read CurveNameDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • Show CurveNameDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • OIDNameable CurveNameDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC
  • OIDable CurveNameDefined in crypto-pubkey-types-0.4.3 · Crypto.Types.PubKey.ECC