Documentation ¶
Index ¶
- func AliasCheck(api frontend.API, in []frontend.Variable)
- func And(api frontend.API, a, b frontend.Variable) frontend.Variable
- func Ark(api frontend.API, in []frontend.Variable, c []*big.Int, r int) []frontend.Variable
- func BabyAdd(api frontend.API, x1, y1, x2, y2 frontend.Variable) (frontend.Variable, frontend.Variable)
- func BigAdd(x *big.Int, y *big.Int) *big.Int
- func BigAnd(x *big.Int, y *big.Int) *big.Int
- func BigDiv(x *big.Int, y *big.Int) *big.Int
- func BigLsh(k *big.Int, n uint) *big.Int
- func BigMul(x *big.Int, y *big.Int, c ...*big.Int) *big.Int
- func BigRsh(k *big.Int, n uint) *big.Int
- func BigSub(x *big.Int, y *big.Int) *big.Int
- func BinSub(api frontend.API, a, b []frontend.Variable) []frontend.Variable
- func BinSum(api frontend.API, in [][]frontend.Variable) []frontend.Variable
- func Bits2Num(api frontend.API, in []frontend.Variable) frontend.Variable
- func Bits2NumStrict(api frontend.API, in []frontend.Variable) frontend.Variable
- func BoolNeg(api frontend.API, a frontend.Variable) frontend.Variable
- func CompConstant(api frontend.API, in []frontend.Variable, ct *big.Int) frontend.Variable
- func Decoder(api frontend.API, inp frontend.Variable, w int) ([]frontend.Variable, frontend.Variable)
- func Edwards2Montgomery(api frontend.API, in []frontend.Variable) []frontend.Variable
- func EscalarMulW4Table(base [2]*big.Int, k int) [][]*big.Int
- func EscalarProduct(api frontend.API, in1, in2 []frontend.Variable) frontend.Variable
- func ForceEqualIfEnabled(api frontend.API, a, b, enabled frontend.Variable)
- func GreaterEqThan(api frontend.API, a frontend.Variable, b frontend.Variable) frontend.Variable
- func GreaterThan(api frontend.API, a frontend.Variable, b frontend.Variable) frontend.Variable
- func IsEqual(api frontend.API, a frontend.Variable, b frontend.Variable) frontend.Variable
- func IsZero(api frontend.API, a frontend.Variable) frontend.Variable
- func LessEqThan(api frontend.API, a frontend.Variable, b frontend.Variable) frontend.Variable
- func LessThan(api frontend.API, a frontend.Variable, b frontend.Variable) frontend.Variable
- func Lsh(k int64, n uint) *big.Int
- func Make2DVariableArray(n, m int) [][]frontend.Variable
- func Make3DVariableArray(n, m, o int) [][][]frontend.Variable
- func MakeVariableArray(n int) []frontend.Variable
- func MiMC7(api frontend.API, nRounds int, xIn, k frontend.Variable) frontend.Variable
- func MiMCFeistel(api frontend.API, nRounds int, xLIn, xRIn, k frontend.Variable) (frontend.Variable, frontend.Variable)
- func MiMCSponge(api frontend.API, nRounds, nOutputs int, ins []frontend.Variable, ...) []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 Montgomery2Edwards(api frontend.API, in []frontend.Variable) []frontend.Variable
- func MontgomeryAdd(api frontend.API, in1, in2 []frontend.Variable) []frontend.Variable
- func MontgomeryDouble(api frontend.API, in []frontend.Variable) []frontend.Variable
- func MultiAnd(api frontend.API, in []frontend.Variable) frontend.Variable
- func MultiMiMC7(api frontend.API, nRounds int, in []frontend.Variable, k frontend.Variable) frontend.Variable
- func MultiMux1(api frontend.API, c [][]frontend.Variable, sel frontend.Variable) []frontend.Variable
- func MultiMux2(api frontend.API, c [][]frontend.Variable, sel []frontend.Variable) []frontend.Variable
- func MultiMux3(api frontend.API, c [][]frontend.Variable, sel []frontend.Variable) []frontend.Variable
- func MultiMux4(api frontend.API, c [][]frontend.Variable, sel []frontend.Variable) []frontend.Variable
- func Multiplexer(api frontend.API, inp [][]frontend.Variable, sel frontend.Variable) []frontend.Variable
- func Mux1(api frontend.API, c []frontend.Variable, sel frontend.Variable) frontend.Variable
- func Mux2(api frontend.API, c []frontend.Variable, sel []frontend.Variable) frontend.Variable
- func Mux3(api frontend.API, c []frontend.Variable, sel []frontend.Variable) frontend.Variable
- func Mux4(api frontend.API, c []frontend.Variable, sel []frontend.Variable) frontend.Variable
- func NAND(api frontend.API, a, b frontend.Variable) frontend.Variable
- func NewMiMC7(api frontend.API) hash.Hash
- func NewMimcSpongeHash(api frontend.API) hash.Hash
- func NewPoseidonHash(api frontend.API) hash.Hash
- func Nor(api frontend.API, a, b frontend.Variable) frontend.Variable
- func Not(api frontend.API, a frontend.Variable) frontend.Variable
- func Num2Bits(api frontend.API, in frontend.Variable, n int) []frontend.Variable
- func Num2BitsNeg(api frontend.API, in frontend.Variable, n int) []frontend.Variable
- func Num2BitsStrict(api frontend.API, in frontend.Variable, n int) []frontend.Variable
- func Or(api frontend.API, a, b frontend.Variable) frontend.Variable
- 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 Pedersen(api frontend.API, in []frontend.Variable) []frontend.Variable
- func Point2BitsStrict(api frontend.API, in []frontend.Variable) []frontend.Variable
- func Poseidon(api frontend.API, inputs []frontend.Variable) frontend.Variable
- func PoseidonEx(api frontend.API, inputs []frontend.Variable, initialState frontend.Variable, ...) []frontend.Variable
- func Segment(api frontend.API, in []frontend.Variable, base []frontend.Variable) []frontend.Variable
- func Sigma(api frontend.API, in frontend.Variable) frontend.Variable
- func Sign(api frontend.API, in []frontend.Variable) frontend.Variable
- func Switcher(api frontend.API, sel, l, r frontend.Variable) (frontend.Variable, frontend.Variable)
- func Window4(api frontend.API, in []frontend.Variable, base []frontend.Variable) ([]frontend.Variable, []frontend.Variable)
- func Xor(api frontend.API, a, b frontend.Variable) frontend.Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bits2NumStrict ¶
func CompConstant ¶
CompConstant returns 1 if in (in binary) > ct
func Edwards2Montgomery ¶
func EscalarProduct ¶
func ForceEqualIfEnabled ¶
func GreaterEqThan ¶
func GreaterThan ¶
func LessEqThan ¶
func Make2DVariableArray ¶
func Make3DVariableArray ¶
func MakeVariableArray ¶
func MiMCFeistel ¶
func MiMCSponge ¶
func Montgomery2Edwards ¶
func MontgomeryAdd ¶
func MontgomeryDouble ¶
func MultiMiMC7 ¶
func Multiplexer ¶
func Num2BitsNeg ¶
func Num2BitsStrict ¶
func POSEIDON_C ¶
func POSEIDON_M ¶
func POSEIDON_P ¶
func POSEIDON_S ¶
func Point2BitsStrict ¶
func PoseidonEx ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.