pairing-1.1.0: Bilinear pairings

Safe HaskellNone
LanguageHaskell2010

Data.Pairing.BN462

Contents

Synopsis

Documentation

BN462 curve

data BN462 #

BN462 curve.

Instances
Pairing BN462 Source # 
Instance details

Defined in Data.Pairing.BN462

Associated Types

type G1 BN462 = (g :: Type) Source #

type G2 BN462 = (g :: Type) Source #

type GT BN462 = (g :: Type) Source #

Methods

pairing :: G1 BN462 -> G2 BN462 -> GT BN462 Source #

WACurve BN462 Fq2 Fr 
Instance details

Defined in Data.Curve.Weierstrass.BN462T

Methods

gA_ :: WAPoint BN462 Fq2 Fr #

WACurve BN462 Fq Fr 
Instance details

Defined in Data.Curve.Weierstrass.BN462

Methods

gA_ :: WAPoint BN462 Fq Fr #

WJCurve BN462 Fq2 Fr 
Instance details

Defined in Data.Curve.Weierstrass.BN462T

Methods

gJ_ :: WJPoint BN462 Fq2 Fr #

WJCurve BN462 Fq Fr 
Instance details

Defined in Data.Curve.Weierstrass.BN462

Methods

gJ_ :: WJPoint BN462 Fq Fr #

WPCurve BN462 Fq2 Fr 
Instance details

Defined in Data.Curve.Weierstrass.BN462T

Methods

gP_ :: WPPoint BN462 Fq2 Fr #

WPCurve BN462 Fq Fr 
Instance details

Defined in Data.Curve.Weierstrass.BN462

Methods

gP_ :: WPPoint BN462 Fq Fr #

Curve Weierstrass c BN462 Fq2 Fr => WCurve c BN462 Fq2 Fr 
Instance details

Defined in Data.Curve.Weierstrass.BN462T

Curve Weierstrass c BN462 Fq Fr => WCurve c BN462 Fq Fr 
Instance details

Defined in Data.Curve.Weierstrass.BN462

Methods

a_ :: WPoint c BN462 Fq Fr -> Fq #

b_ :: WPoint c BN462 Fq Fr -> Fq #

h_ :: WPoint c BN462 Fq Fr -> Natural #

q_ :: WPoint c BN462 Fq Fr -> Natural #

r_ :: WPoint c BN462 Fq Fr -> Natural #

type G1 BN462 Source # 
Instance details

Defined in Data.Pairing.BN462

type G1 BN462 = G1'
type G2 BN462 Source # 
Instance details

Defined in Data.Pairing.BN462

type G2 BN462 = G2'
type GT BN462 Source # 
Instance details

Defined in Data.Pairing.BN462

type GT BN462 = GT'

parameterBin :: [Int8] Source #

BN462 curve parameter s = 6t + 2 in signed binary.

parameterHex :: Integer Source #

BN462 curve parameter t in hexadecimal.

Fields

type Fq = Prime Q #

Field of points of BN462 curve.

type Fq2 = Extension U Fq #

Field of points of BN462 curve over Fq2.

type Fq6 = Extension V Fq2 Source #

Field of points of BN462 curve over Fq6.

type Fq12 = Extension W Fq6 Source #

Field of points of BN462 curve over Fq12.

type Fr = Prime R #

Field of coefficients of BN462 curve.

Groups

type G1' = PA Source #

BN462 curve left group G1 = E(Fq).

type G2' = PA Source #

BN462 curve right group G2 = E'(Fq2).

type GT' = RootsOfUnity R Fq12 Source #

Fq12 multiplicative target group GT.

Roots of unity

getRootOfUnity :: Int -> Fr Source #

Precompute primitive roots of unity for binary powers that divide r - 1.

Orphan instances

Pairing BN462 Source # 
Instance details

Associated Types

type G1 BN462 = (g :: Type) Source #

type G2 BN462 = (g :: Type) Source #

type GT BN462 = (g :: Type) Source #

Methods

pairing :: G1 BN462 -> G2 BN462 -> GT BN462 Source #