Versions in this module Expand all Collapse all v0 v0.1.0 Apr 24, 2026 Changes in this version + func HashToCurveGenericBESwu(msg, domain []byte, hashFunc func() hash.Hash) (*bls12381.PointG1, error) + func HashToG1GenericBESwu(data, domain []byte) (*bls12381.PointG1, error) + func SwuMapG1BE(u *Fe) (*Fe, *Fe) + type Bls12_381 struct + func NewBls12_381() *Bls12_381 + func (c *Bls12_381) CompressedG1ByteSize() int + func (c *Bls12_381) CompressedG2ByteSize() int + func (c *Bls12_381) CoordinateByteSize() int + func (c *Bls12_381) FExp(a driver.Gt) driver.Gt + func (c *Bls12_381) G1ByteSize() int + func (c *Bls12_381) G2ByteSize() int + func (c *Bls12_381) GenG1() driver.G1 + func (c *Bls12_381) GenG2() driver.G2 + func (c *Bls12_381) GenGt() driver.Gt + func (c *Bls12_381) HashToG1(data []byte) driver.G1 + func (c *Bls12_381) HashToG1WithDomain(data, domain []byte) driver.G1 + func (c *Bls12_381) HashToG2(data []byte) driver.G2 + func (c *Bls12_381) HashToG2WithDomain(data, domain []byte) driver.G2 + func (c *Bls12_381) MultiScalarMul(a []driver.G1, b []driver.Zr) driver.G1 + func (c *Bls12_381) NewG1() driver.G1 + func (c *Bls12_381) NewG1FromBytes(b []byte) driver.G1 + func (c *Bls12_381) NewG1FromCompressed(b []byte) driver.G1 + func (c *Bls12_381) NewG2() driver.G2 + func (c *Bls12_381) NewG2FromBytes(b []byte) driver.G2 + func (c *Bls12_381) NewG2FromCompressed(b []byte) driver.G2 + func (c *Bls12_381) NewGtFromBytes(b []byte) driver.Gt + func (c *Bls12_381) Pairing(p2 driver.G2, p1 driver.G1) driver.Gt + func (c *Bls12_381) Pairing2(p2a, p2b driver.G2, p1a, p1b driver.G1) driver.Gt + func (c *Bls12_381) ScalarByteSize() int + type Bls12_381BBS struct + func NewBls12_381BBS() *Bls12_381BBS + func (c *Bls12_381BBS) HashToG1(data []byte) driver.G1 + func (c *Bls12_381BBS) HashToG1WithDomain(data, domain []byte) driver.G1 + func (c *Bls12_381BBS) HashToG2(data []byte) driver.G2 + func (c *Bls12_381BBS) HashToG2WithDomain(data, domain []byte) driver.G2 + type Fe [fpNumberOfLimbs]uint64 + type PointG1 [3]Fe