Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
module Data.Pairing
module Data.Pairing.Ate
BN254C curve
BN254C curve.
Instances
Pairing BN254C Source # | |
WACurve BN254C Fq2 Fr | |
WACurve BN254C Fq Fr | |
WJCurve BN254C Fq2 Fr | |
WJCurve BN254C Fq Fr | |
WPCurve BN254C Fq2 Fr | |
WPCurve BN254C Fq Fr | |
Curve Weierstrass c BN254C Fq2 Fr => WCurve c BN254C Fq2 Fr | |
Curve Weierstrass c BN254C Fq Fr => WCurve c BN254C Fq Fr | |
type G1 BN254C Source # | |
Defined in Data.Pairing.BN254C | |
type G2 BN254C Source # | |
Defined in Data.Pairing.BN254C | |
type GT BN254C Source # | |
Defined in Data.Pairing.BN254C |
parameterBin :: [Int8] Source #
BN254C curve parameter s = 6t + 2
in signed binary.
parameterHex :: Integer Source #
BN254C curve parameter t
in hexadecimal.
Fields
Groups
Roots of unity
getRootOfUnity :: Int -> Fr Source #
Precompute primitive roots of unity for binary powers that divide r - 1
.