Barretenberg
The ZK-SNARK library at the core of Aztec
|
Defines the opcodes for ECC operations used in both the Ultra and ECCVM formats. There are three opcodes that are reflected in both ultra ops and eccvm table and so, that lead to actual operations in the ECCVM : More...
#include <ecc_ops_table.hpp>
Public Types | |
using | Fr = curve::BN254::ScalarField |
Public Member Functions | |
bool | operator== (const EccOpCode &other) const =default |
uint32_t | value () const |
Public Attributes | |
bool | add = false |
bool | mul = false |
bool | eq = false |
bool | reset = false |
bool | is_random_op = false |
Fr | random_value_1 = Fr(0) |
Fr | random_value_2 = Fr(0) |
Defines the opcodes for ECC operations used in both the Ultra and ECCVM formats. There are three opcodes that are reflected in both ultra ops and eccvm table and so, that lead to actual operations in the ECCVM :
Definition at line 37 of file ecc_ops_table.hpp.
Definition at line 38 of file ecc_ops_table.hpp.
|
default |
|
inline |
Definition at line 49 of file ecc_ops_table.hpp.
bool bb::EccOpCode::add = false |
Definition at line 39 of file ecc_ops_table.hpp.
bool bb::EccOpCode::eq = false |
Definition at line 41 of file ecc_ops_table.hpp.
bool bb::EccOpCode::is_random_op = false |
Definition at line 45 of file ecc_ops_table.hpp.
bool bb::EccOpCode::mul = false |
Definition at line 40 of file ecc_ops_table.hpp.
Definition at line 46 of file ecc_ops_table.hpp.
Definition at line 47 of file ecc_ops_table.hpp.
bool bb::EccOpCode::reset = false |
Definition at line 42 of file ecc_ops_table.hpp.