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