Documentation ¶
Overview ¶
+build linux
Index ¶
- type Element
- func (e *Element) Bytes() []byte
- func (e *Element) BytesLen() int
- func (e *Element) Div(x *Element, y *Element) *Element
- func (e *Element) Invert(x *Element) *Element
- func (e *Element) Mul(x *Element, y *Element) *Element
- func (e *Element) Pair(x, y *Element) *Element
- func (e *Element) PowBig(x *Element, i *big.Int) *Element
- func (e *Element) Rand() *Element
- func (e *Element) Set1() *Element
- func (e *Element) SetBytes(buf []byte) *Element
- func (e *Element) SetFromHash(hash []byte) *Element
- func (e *Element) ThenInvert() *Element
- type Pairing
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Element ¶
type Element struct {
// contains filtered or unexported fields
}
func (*Element) SetFromHash ¶
func (*Element) ThenInvert ¶
type Pairing ¶
type Pairing struct {
// contains filtered or unexported fields
}
func NewPairing ¶
func (*Pairing) NewUncheckedElement ¶
type Params ¶
type Params struct {
// contains filtered or unexported fields
}
func NewParamsFromString ¶
Click to show internal directories.
Click to hide internal directories.