Documentation ¶
Overview ¶
Package bn256cgo is a drop in replacement for the bn256 package from go.crypto.
It should be about 10x faster than the pure-Go version when run on an amd64 based system. It wraps a patched version of http://cryptojedi.org/crypto/#dclxvi.
See the original package for documentation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Order = bigFromBase10("65000549695646603732796438742359905742570406053903786389881062969044166799969")
Order is the number of elements in both G₁ and G₂: 36u⁴+36u³+18u³+6u+1.
Functions ¶
This section is empty.
Types ¶
type G1 ¶
type G1 struct {
// contains filtered or unexported fields
}
type G2 ¶
type G2 struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.