|
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 > | |
| Selectors | read_selectors (Block &block, size_t gate_index, GateKind kind) |
| 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 | POSEIDON2_INITIAL_EXTERNAL |
| const GatePattern | POSEIDON2_QUAD_INTERNAL |
| const GatePattern | POSEIDON2_QUAD_INTERNAL_TERMINAL |
| const GatePattern | POSEIDON2_TRANSITION_ENTRY |
| const GatePattern | DATABUS |
| using bb::gate_patterns::Predicate = typedef std::function<bool(const Selectors&)> |
Definition at line 51 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 20 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 464 of file gate_patterns.hpp.
| uint32_t bb::gate_patterns::get_wire | ( | Block & | block, |
| size_t | gate_index, | ||
| Wire | wire | ||
| ) |
Definition at line 435 of file gate_patterns.hpp.
|
inline |
Definition at line 458 of file gate_patterns.hpp.
| Selectors bb::gate_patterns::read_selectors | ( | Block & | block, |
| size_t | gate_index, | ||
| GateKind | kind | ||
| ) |
Definition at line 422 of file gate_patterns.hpp.
|
inline |
Definition at line 84 of file gate_patterns.hpp.
|
inline |
Definition at line 412 of file gate_patterns.hpp.
|
inline |
Definition at line 280 of file gate_patterns.hpp.
|
inline |
Definition at line 117 of file gate_patterns.hpp.
|
inline |
Definition at line 262 of file gate_patterns.hpp.
|
inline |
Definition at line 213 of file gate_patterns.hpp.
|
inline |
Definition at line 159 of file gate_patterns.hpp.
|
inline |
Definition at line 317 of file gate_patterns.hpp.
|
inline |
Definition at line 337 of file gate_patterns.hpp.
|
inline |
Definition at line 297 of file gate_patterns.hpp.
|
inline |
Definition at line 355 of file gate_patterns.hpp.
|
inline |
Definition at line 375 of file gate_patterns.hpp.
|
inline |
Definition at line 393 of file gate_patterns.hpp.