Module black_box_functions

Source
Expand description

Black box functions are ACIR opcodes which rely on backends implementing support for specialized constraints. This makes certain zk-snark unfriendly computations cheaper than if they were implemented in more basic constraints.

Structs§

BlackBoxFuncIter
An iterator over the variants of Self

Enums§

BlackBoxFunc
Representation of available black box function names. This enum should be used to represent a black box before we have set up the appropriate inputs and outputs. At which point it should be converted to a crate::circuit::opcodes::BlackBoxFuncCall