Documentation ¶
Index ¶
- func Ark(api frontend.API, in []frontend.Variable, c []*big.Int, r int) []frontend.Variable
- func Mix(api frontend.API, in []frontend.Variable, m [][]*big.Int) []frontend.Variable
- func MixLast(api frontend.API, in []frontend.Variable, m [][]*big.Int, s int) frontend.Variable
- func MixS(api frontend.API, in []frontend.Variable, s []*big.Int, r int) []frontend.Variable
- func NewPoseidonHash(api frontend.API) hash.FieldHasher
- func POSEIDON_C(t int) []*big.Int
- func POSEIDON_M(t int) [][]*big.Int
- func POSEIDON_P(t int) [][]*big.Int
- func POSEIDON_S(t int) []*big.Int
- func PoseidonEx(api frontend.API, inputs []frontend.Variable, initialState frontend.Variable, ...) []frontend.Variable
- func Sigma(api frontend.API, in frontend.Variable) frontend.Variable
- type G1Affine
- type Pairing
- func (pr Pairing) AddG1Points(p, q *G1Affine) *G1Affine
- func (pr Pairing) AggregatePublicKeys_Rotate(publicKeys [10]G1Affine, bitlist [10]frontend.Variable, G1One G1Affine) G1Affine
- func (pr Pairing) CalculateTrustedWeight(pubKeys_old, pubKeys_new [10]G1Affine, ...) frontend.Variable
- func (pr Pairing) Check(a, b frontend.Variable) error
- func (pr Pairing) CompareAggregatedPubKeys(apk0 G1Affine, apk1 G1Affine, G1One G1Affine)
- func (pr Pairing) ComputeAPKCommitment(pubKeys [10]G1Affine, quorumW [10]frontend.Variable) frontend.Variable
- func (pr Pairing) DoublePointG1(p *G1Affine) *G1Affine
- func (m *Pairing) Poseidon(inputs []frontend.Variable) frontend.Variable
- func (m *Pairing) Reset()
- func (m *Pairing) Sum() frontend.Variable
- func (m *Pairing) Write(data ...frontend.Variable)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPoseidonHash ¶
func NewPoseidonHash(api frontend.API) hash.FieldHasher
func POSEIDON_C ¶
func POSEIDON_M ¶
func POSEIDON_P ¶
func POSEIDON_S ¶
func PoseidonEx ¶
Types ¶
type Pairing ¶
type Pairing struct {
// contains filtered or unexported fields
}
func (Pairing) AddG1Points ¶
func (Pairing) AggregatePublicKeys_Rotate ¶
func (Pairing) CalculateTrustedWeight ¶
func (Pairing) CompareAggregatedPubKeys ¶
func (Pairing) ComputeAPKCommitment ¶
func (Pairing) DoublePointG1 ¶
Click to show internal directories.
Click to hide internal directories.