Documentation ¶
Index ¶
- type Fp256Miraclbn
- func (*Fp256Miraclbn) FExp(e driver.Gt) driver.Gt
- func (p *Fp256Miraclbn) FieldBytes() int
- func (*Fp256Miraclbn) GenG1() driver.G1
- func (*Fp256Miraclbn) GenG2() driver.G2
- 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 (*Fp256Miraclbn) ModMul(a1, b1, m driver.Zr) driver.Zr
- func (*Fp256Miraclbn) ModNeg(a1, 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 (*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) Rand() (io.Reader, error)
- type Fp256bn
- func (*Fp256bn) FExp(e driver.Gt) driver.Gt
- func (p *Fp256bn) FieldBytes() int
- func (*Fp256bn) GenG1() driver.G1
- func (*Fp256bn) GenG2() driver.G2
- 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 (*Fp256bn) ModMul(a1, b1, m driver.Zr) driver.Zr
- func (*Fp256bn) ModNeg(a1, 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 (*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) Rand() (io.Reader, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fp256Miraclbn ¶
type Fp256Miraclbn struct { }
func (*Fp256Miraclbn) FieldBytes ¶
func (p *Fp256Miraclbn) FieldBytes() int
func (*Fp256Miraclbn) GenG1 ¶
func (*Fp256Miraclbn) GenG1() driver.G1
func (*Fp256Miraclbn) GenG2 ¶
func (*Fp256Miraclbn) GenG2() driver.G2
func (*Fp256Miraclbn) GenGt ¶
func (p *Fp256Miraclbn) GenGt() driver.Gt
func (*Fp256Miraclbn) GroupOrder ¶
func (p *Fp256Miraclbn) GroupOrder() driver.Zr
func (*Fp256Miraclbn) NewG1 ¶
func (p *Fp256Miraclbn) NewG1() driver.G1
func (*Fp256Miraclbn) NewG1FromBytes ¶
func (p *Fp256Miraclbn) NewG1FromBytes(b []byte) driver.G1
func (*Fp256Miraclbn) NewG1FromCoords ¶
func (p *Fp256Miraclbn) NewG1FromCoords(ix, iy driver.Zr) driver.G1
func (*Fp256Miraclbn) NewG2 ¶
func (p *Fp256Miraclbn) NewG2() driver.G2
func (*Fp256Miraclbn) NewG2FromBytes ¶
func (p *Fp256Miraclbn) NewG2FromBytes(b []byte) driver.G2
func (*Fp256Miraclbn) NewGtFromBytes ¶
func (p *Fp256Miraclbn) NewGtFromBytes(b []byte) driver.Gt
func (*Fp256Miraclbn) NewRandomZr ¶
func (p *Fp256Miraclbn) NewRandomZr(rng io.Reader) driver.Zr
func (*Fp256Miraclbn) NewZrFromBytes ¶
func (p *Fp256Miraclbn) NewZrFromBytes(b []byte) driver.Zr
func (*Fp256Miraclbn) NewZrFromInt ¶
func (p *Fp256Miraclbn) NewZrFromInt(i int64) driver.Zr
type Fp256bn ¶
type Fp256bn struct { }
func (*Fp256bn) FieldBytes ¶
func (*Fp256bn) GroupOrder ¶
Click to show internal directories.
Click to hide internal directories.