Documentation ¶
Index ¶
- type Bn254
- func (c *Bn254) FExp(a driver.Gt) driver.Gt
- func (c *Bn254) FieldBytes() int
- func (c *Bn254) GenG1() driver.G1
- func (c *Bn254) GenG2() driver.G2
- func (c *Bn254) GenGt() driver.Gt
- func (c *Bn254) GroupOrder() driver.Zr
- func (c *Bn254) HashToG1(data []byte) driver.G1
- func (c *Bn254) HashToZr(data []byte) driver.Zr
- func (*Bn254) ModAdd(a, b, m driver.Zr) driver.Zr
- func (c *Bn254) ModMul(a1, b1, m driver.Zr) driver.Zr
- func (c *Bn254) ModNeg(a1, m driver.Zr) driver.Zr
- func (c *Bn254) ModSub(a, b, m driver.Zr) driver.Zr
- func (c *Bn254) NewG1() driver.G1
- func (c *Bn254) NewG1FromBytes(b []byte) driver.G1
- func (c *Bn254) NewG1FromCoords(ix, iy driver.Zr) driver.G1
- func (c *Bn254) NewG2() driver.G2
- func (c *Bn254) NewG2FromBytes(b []byte) driver.G2
- func (c *Bn254) NewGtFromBytes(b []byte) driver.Gt
- func (c *Bn254) NewRandomZr(rng io.Reader) driver.Zr
- func (c *Bn254) NewZrFromBytes(b []byte) driver.Zr
- func (c *Bn254) NewZrFromInt(i int64) driver.Zr
- func (c *Bn254) Pairing(p2 driver.G2, p1 driver.G1) driver.Gt
- func (c *Bn254) Pairing2(p2a, p2b driver.G2, p1a, p1b driver.G1) driver.Gt
- func (c *Bn254) Rand() (io.Reader, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.