Versions in this module Expand all Collapse all v0 v0.0.2 Feb 21, 2023 v0.0.1 Apr 14, 2022 Changes in this version + type Fp256Miraclbn struct + func (*Fp256Miraclbn) FExp(e driver.Gt) driver.Gt + func (*Fp256Miraclbn) GenG1() driver.G1 + func (*Fp256Miraclbn) GenG2() driver.G2 + func (*Fp256Miraclbn) ModMul(a1, b1, m driver.Zr) driver.Zr + func (*Fp256Miraclbn) ModNeg(a1, m driver.Zr) driver.Zr + func (*Fp256Miraclbn) Pairing(a driver.G2, b driver.G1) driver.Gt + func (*Fp256Miraclbn) Pairing2(p2a, p2b driver.G2, p1a, p1b driver.G1) driver.Gt + func (p *Fp256Miraclbn) FieldBytes() int + func (p *Fp256Miraclbn) GenGt() driver.Gt + func (p *Fp256Miraclbn) GroupOrder() driver.Zr + func (p *Fp256Miraclbn) HashToG1(data []byte) driver.G1 + func (p *Fp256Miraclbn) HashToZr(data []byte) driver.Zr + func (p *Fp256Miraclbn) ModAdd(a, b, m driver.Zr) driver.Zr + func (p *Fp256Miraclbn) ModSub(a, b, m driver.Zr) driver.Zr + func (p *Fp256Miraclbn) NewG1() driver.G1 + func (p *Fp256Miraclbn) NewG1FromBytes(b []byte) driver.G1 + func (p *Fp256Miraclbn) NewG1FromCoords(ix, iy driver.Zr) driver.G1 + func (p *Fp256Miraclbn) NewG2() driver.G2 + func (p *Fp256Miraclbn) NewG2FromBytes(b []byte) driver.G2 + func (p *Fp256Miraclbn) NewGtFromBytes(b []byte) driver.Gt + func (p *Fp256Miraclbn) NewRandomZr(rng io.Reader) driver.Zr + func (p *Fp256Miraclbn) NewZrFromBytes(b []byte) driver.Zr + func (p *Fp256Miraclbn) NewZrFromInt(i int64) driver.Zr + func (p *Fp256Miraclbn) Rand() (io.Reader, error) + type Fp256bn struct + func (*Fp256bn) FExp(e driver.Gt) driver.Gt + func (*Fp256bn) GenG1() driver.G1 + func (*Fp256bn) GenG2() driver.G2 + func (*Fp256bn) ModMul(a1, b1, m driver.Zr) driver.Zr + func (*Fp256bn) ModNeg(a1, m driver.Zr) driver.Zr + func (*Fp256bn) Pairing(a driver.G2, b driver.G1) driver.Gt + func (*Fp256bn) Pairing2(p2a, p2b driver.G2, p1a, p1b driver.G1) driver.Gt + func (p *Fp256bn) FieldBytes() int + func (p *Fp256bn) GenGt() driver.Gt + func (p *Fp256bn) GroupOrder() driver.Zr + func (p *Fp256bn) HashToG1(data []byte) driver.G1 + func (p *Fp256bn) HashToZr(data []byte) driver.Zr + func (p *Fp256bn) ModAdd(a, b, m driver.Zr) driver.Zr + func (p *Fp256bn) ModSub(a, b, m driver.Zr) driver.Zr + func (p *Fp256bn) NewG1() driver.G1 + func (p *Fp256bn) NewG1FromBytes(b []byte) driver.G1 + func (p *Fp256bn) NewG1FromCoords(ix, iy driver.Zr) driver.G1 + func (p *Fp256bn) NewG2() driver.G2 + func (p *Fp256bn) NewG2FromBytes(b []byte) driver.G2 + func (p *Fp256bn) NewGtFromBytes(b []byte) driver.Gt + func (p *Fp256bn) NewRandomZr(rng io.Reader) driver.Zr + func (p *Fp256bn) NewZrFromBytes(b []byte) driver.Zr + func (p *Fp256bn) NewZrFromInt(i int64) driver.Zr + func (p *Fp256bn) Rand() (io.Reader, error)