symbolic-base-0.1.0.0: ZkFold Symbolic compiler and zero-knowledge proof protocols
Safe HaskellSafe-Inferred
LanguageHaskell2010

ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Synopsis

Documentation

type BLS12_381_Scalar = 52435875175126190479447740508185965837690552500527637822603658699938581184513 Source #

type BLS12_381_Base = 4002409555221667393417789825735904156556882819939007885332058136124031650490837864442687629129015664037894272559787 Source #

type IP1 = "IP1" Source #

type IP2 = "IP2" Source #

type IP3 = "IP3" Source #

data BLS12_381_G1 Source #

Instances

Instances details
Generic BLS12_381_G1 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Associated Types

type Rep BLS12_381_G1 :: Type -> Type #

NFData BLS12_381_G1 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Methods

rnf :: BLS12_381_G1 -> () #

EllipticCurve BLS12_381_G1 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

StandardEllipticCurve BLS12_381_G1 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Pairing BLS12_381_G1 BLS12_381_G2 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Binary (Point BLS12_381_G1) Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Binary (PointCompressed BLS12_381_G1) Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

PedersonSetup (Point BLS12_381_G1) Source # 
Instance details

Defined in ZkFold.Base.Protocol.Protostar.Commit

type Rep BLS12_381_G1 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

type Rep BLS12_381_G1 = D1 ('MetaData "BLS12_381_G1" "ZkFold.Base.Algebra.EllipticCurve.BLS12_381" "symbolic-base-0.1.0.0-inplace" 'False) (V1 :: Type -> Type)
type BaseField BLS12_381_G1 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

type ScalarField BLS12_381_G1 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

type TargetGroup BLS12_381_G1 BLS12_381_G2 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

data BLS12_381_G2 Source #

Instances

Instances details
Generic BLS12_381_G2 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Associated Types

type Rep BLS12_381_G2 :: Type -> Type #

NFData BLS12_381_G2 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Methods

rnf :: BLS12_381_G2 -> () #

EllipticCurve BLS12_381_G2 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

StandardEllipticCurve BLS12_381_G2 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Pairing BLS12_381_G1 BLS12_381_G2 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Binary (Point BLS12_381_G2) Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Binary (PointCompressed BLS12_381_G2) Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

type Rep BLS12_381_G2 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

type Rep BLS12_381_G2 = D1 ('MetaData "BLS12_381_G2" "ZkFold.Base.Algebra.EllipticCurve.BLS12_381" "symbolic-base-0.1.0.0-inplace" 'False) (V1 :: Type -> Type)
type BaseField BLS12_381_G2 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

type ScalarField BLS12_381_G2 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

type TargetGroup BLS12_381_G1 BLS12_381_G2 Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

bytesOf :: (ToConstant a, Const a ~ Natural) => Int -> a -> [Word8] Source #

newtype BLS12_381_GT Source #

An image of a pairing is a cyclic multiplicative subgroup of Fq12 of order BLS12_381_Scalar.

Constructors

BLS12_381_GT Fq12 

Instances

Instances details
Show BLS12_381_GT Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Eq BLS12_381_GT Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Finite BLS12_381_GT Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Associated Types

type Order BLS12_381_GT :: Natural Source #

MultiplicativeGroup BLS12_381_GT Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

MultiplicativeMonoid BLS12_381_GT Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

MultiplicativeSemigroup BLS12_381_GT Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Exponent BLS12_381_GT Integer Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Exponent BLS12_381_GT Natural Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

type Order BLS12_381_GT Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Orphan instances

Prime BLS12_381_Base Source # 
Instance details

Prime BLS12_381_Scalar Source # 
Instance details

IrreduciblePoly Fq IP1 Source # 
Instance details

IrreduciblePoly Fq2 IP2 Source # 
Instance details

IrreduciblePoly Fq6 IP3 Source # 
Instance details