|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Namespaces | |
| namespace | memory_helpers |
| namespace | nnf_helpers |
Classes | |
| struct | GatePattern |
| Pattern defining which wires are constrained by a gate type. More... | |
| struct | Selectors |
| Selector values read from a gate. More... | |
| struct | WireSpec |
Typedefs | |
| using | Predicate = std::function< bool(const Selectors &)> |
Enumerations | |
| enum class | Wire : uint8_t { W_L , W_R , W_O , W_4 , W_L_SHIFT , W_R_SHIFT , W_O_SHIFT , W_4_SHIFT } |
Functions | |
| template<typename Block , typename GateSelectorColumn > | |
| Selectors | read_selectors (Block &block, size_t gate_index, const GateSelectorColumn &gate_selector_column) |
| template<typename Block > | |
| uint32_t | get_wire (Block &block, size_t gate_index, Wire wire) |
| bool | is_shifted (Wire wire) |
| template<typename Block > | |
| std::vector< uint32_t > | extract_wires (Block &block, size_t gate_index, const GatePattern &pattern, const Selectors &selectors) |
Variables | |
| const GatePattern | ARITHMETIC |
| const GatePattern | ELLIPTIC |
| const GatePattern | NON_NATIVE_FIELD |
| const GatePattern | MEMORY |
| const GatePattern | LOOKUP |
| const GatePattern | DELTA_RANGE |
| const GatePattern | POSEIDON2_INTERNAL |
| const GatePattern | POSEIDON2_EXTERNAL |
| const GatePattern | DATABUS |
| using bb::gate_patterns::Predicate = typedef std::function<bool(const Selectors&)> |
Definition at line 47 of file gate_patterns.hpp.
|
strong |
| Enumerator | |
|---|---|
| W_L | |
| W_R | |
| W_O | |
| W_4 | |
| W_L_SHIFT | |
| W_R_SHIFT | |
| W_O_SHIFT | |
| W_4_SHIFT | |
Definition at line 16 of file gate_patterns.hpp.
| std::vector< uint32_t > bb::gate_patterns::extract_wires | ( | Block & | block, |
| size_t | gate_index, | ||
| const GatePattern & | pattern, | ||
| const Selectors & | selectors | ||
| ) |
Definition at line 386 of file gate_patterns.hpp.
| uint32_t bb::gate_patterns::get_wire | ( | Block & | block, |
| size_t | gate_index, | ||
| Wire | wire | ||
| ) |
Definition at line 357 of file gate_patterns.hpp.
|
inline |
Definition at line 380 of file gate_patterns.hpp.
| Selectors bb::gate_patterns::read_selectors | ( | Block & | block, |
| size_t | gate_index, | ||
| const GateSelectorColumn & | gate_selector_column | ||
| ) |
Definition at line 344 of file gate_patterns.hpp.
|
inline |
Definition at line 80 of file gate_patterns.hpp.
|
inline |
Definition at line 333 of file gate_patterns.hpp.
|
inline |
Definition at line 276 of file gate_patterns.hpp.
|
inline |
Definition at line 113 of file gate_patterns.hpp.
|
inline |
Definition at line 258 of file gate_patterns.hpp.
|
inline |
Definition at line 209 of file gate_patterns.hpp.
|
inline |
Definition at line 155 of file gate_patterns.hpp.
|
inline |
Definition at line 313 of file gate_patterns.hpp.
|
inline |
Definition at line 293 of file gate_patterns.hpp.