198 std::array<uint8_t, 16>
iv;
199 std::array<uint8_t, 16>
key;
221 std::array<uint8_t, 16>
iv;
222 std::array<uint8_t, 16>
key;
Shared type definitions for the Barretenberg RPC API.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
static constexpr const char MSGPACK_SCHEMA_NAME[]
MSGPACK_FIELDS(plaintext)
std::vector< uint8_t > plaintext
bool operator==(const Response &) const =default
bool operator==(const AesDecrypt &) const =default
MSGPACK_FIELDS(ciphertext, iv, key, length)
std::array< uint8_t, 16 > iv
static constexpr const char MSGPACK_SCHEMA_NAME[]
std::array< uint8_t, 16 > key
std::vector< uint8_t > ciphertext
Response execute(BBApiRequest &request) &&
bool operator==(const Response &) const =default
std::vector< uint8_t > ciphertext
MSGPACK_FIELDS(ciphertext)
static constexpr const char MSGPACK_SCHEMA_NAME[]
std::array< uint8_t, 16 > iv
MSGPACK_FIELDS(plaintext, iv, key, length)
std::vector< uint8_t > plaintext
bool operator==(const AesEncrypt &) const =default
Response execute(BBApiRequest &request) &&
std::array< uint8_t, 16 > key
static constexpr const char MSGPACK_SCHEMA_NAME[]
static constexpr const char MSGPACK_SCHEMA_NAME[]
bool operator==(const Response &) const =default
std::array< uint8_t, 32 > hash
std::vector< uint8_t > data
static constexpr const char MSGPACK_SCHEMA_NAME[]
bool operator==(const Blake2s &) const =default
Response execute(BBApiRequest &request) &&
bool operator==(const Response &) const =default
static constexpr const char MSGPACK_SCHEMA_NAME[]
Compute Blake2s hash and convert to field element.
static constexpr const char MSGPACK_SCHEMA_NAME[]
bool operator==(const Blake2sToField &) const =default
std::vector< uint8_t > data
Response execute(BBApiRequest &request) &&
bool operator==(const Response &) const =default
grumpkin::g1::affine_element point
static constexpr const char MSGPACK_SCHEMA_NAME[]
Compute Pedersen commitment to field elements.
static constexpr const char MSGPACK_SCHEMA_NAME[]
bool operator==(const PedersenCommit &) const =default
MSGPACK_FIELDS(inputs, hash_index)
Response execute(BBApiRequest &request) &&
std::vector< grumpkin::fq > inputs
bool operator==(const Response &) const =default
static constexpr const char MSGPACK_SCHEMA_NAME[]
static constexpr const char MSGPACK_SCHEMA_NAME[]
bool operator==(const Response &) const =default
Compute Pedersen hash of raw buffer.
bool operator==(const PedersenHashBuffer &) const =default
Response execute(BBApiRequest &request) &&
static constexpr const char MSGPACK_SCHEMA_NAME[]
MSGPACK_FIELDS(input, hash_index)
std::vector< uint8_t > input
Compute Pedersen hash of field elements.
bool operator==(const PedersenHash &) const =default
Response execute(BBApiRequest &request) &&
MSGPACK_FIELDS(inputs, hash_index)
static constexpr const char MSGPACK_SCHEMA_NAME[]
std::vector< grumpkin::fq > inputs
static constexpr const char MSGPACK_SCHEMA_NAME[]
bool operator==(const Response &) const =default
static constexpr const char MSGPACK_SCHEMA_NAME[]
bool operator==(const Response &) const =default
Compute accumulated Poseidon2 hash.
bool operator==(const Poseidon2HashAccumulate &) const =default
Response execute(BBApiRequest &request) &&
static constexpr const char MSGPACK_SCHEMA_NAME[]
Compute Poseidon2 hash of input field elements.
Response execute(BBApiRequest &request) &&
static constexpr const char MSGPACK_SCHEMA_NAME[]
bool operator==(const Poseidon2Hash &) const =default
bool operator==(const Response &) const =default
std::array< fr, 4 > outputs
static constexpr const char MSGPACK_SCHEMA_NAME[]
Compute Poseidon2 permutation on state (4 field elements)
bool operator==(const Poseidon2Permutation &) const =default
Response execute(BBApiRequest &request) &&
std::array< fr, 4 > inputs
static constexpr const char MSGPACK_SCHEMA_NAME[]