#include <mock_circuits.hpp>
Definition at line 16 of file mock_circuits.hpp.
◆ Curve
◆ FF
◆ Point
◆ add_arithmetic_gates()
static void bb::MockCircuits::add_arithmetic_gates |
( |
Builder & |
builder, |
|
|
const size_t |
num_gates = 4 |
|
) |
| |
|
inlinestatic |
Add a specified number of arithmetic gates to the provided circuit.
- Parameters
-
Definition at line 52 of file mock_circuits.hpp.
◆ add_arithmetic_gates_with_public_inputs()
static void bb::MockCircuits::add_arithmetic_gates_with_public_inputs |
( |
Builder & |
builder, |
|
|
const size_t |
num_gates = 4 |
|
) |
| |
|
inlinestatic |
Add a specified number of arithmetic gates (with public inputs) to the provided circuit.
- Parameters
-
Definition at line 29 of file mock_circuits.hpp.
◆ add_lookup_gates()
static void bb::MockCircuits::add_lookup_gates |
( |
Builder & |
builder, |
|
|
size_t |
num_iterations = 1 |
|
) |
| |
|
inlinestatic |
Add lookup gates using the uint32 XOR lookup table (table size 4096)
Each iteration adds 6 lookup gates and results in a minimum circuit size of 4096
- Parameters
-
Definition at line 75 of file mock_circuits.hpp.
◆ add_RAM_gates()
static void bb::MockCircuits::add_RAM_gates |
( |
Builder & |
builder | ) |
|
|
inlinestatic |
Add some simple RAM (memory) gates for testing memory read/write functionality.
Each iteration adds 18 gates (including finalization)
- Parameters
-
Definition at line 103 of file mock_circuits.hpp.
◆ construct_arithmetic_circuit()
static void bb::MockCircuits::construct_arithmetic_circuit |
( |
Builder & |
builder, |
|
|
const size_t |
target_log2_dyadic_size = 4 , |
|
|
bool |
include_public_inputs = true |
|
) |
| |
|
inlinestatic |
Populate a builder with a specified number of arithmetic gates; includes a PI.
- Parameters
-
Definition at line 139 of file mock_circuits.hpp.
◆ construct_goblin_ecc_op_circuit()
static void bb::MockCircuits::construct_goblin_ecc_op_circuit |
( |
MegaCircuitBuilder & |
builder | ) |
|
|
inlinestatic |
Populate a builder with some arbitrary goblinized ECC ops, one of each type.
- Parameters
-
Definition at line 173 of file mock_circuits.hpp.
The documentation for this class was generated from the following file: