Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <transcript.hpp>
Public Types | |
using | DataType = stdlib::field_t< Builder > |
using | Proof = std::vector< DataType > |
Static Public Member Functions | |
static DataType | hash (const std::vector< DataType > &data) |
static std::array< DataType, 2 > | split_challenge (const DataType &challenge) |
Split a challenge field element into two half-width challenges. | |
template<typename T > | |
static T | convert_challenge (const DataType &challenge) |
template<typename T > | |
static constexpr size_t | calc_num_data_types () |
template<typename T > | |
static T | deserialize (std::span< const DataType > frs) |
template<typename T > | |
static std::vector< DataType > | serialize (const T &element) |
Definition at line 17 of file transcript.hpp.
using bb::stdlib::recursion::honk::StdlibTranscriptParams< Builder >::DataType = stdlib::field_t<Builder> |
Definition at line 18 of file transcript.hpp.
using bb::stdlib::recursion::honk::StdlibTranscriptParams< Builder >::Proof = std::vector<DataType> |
Definition at line 19 of file transcript.hpp.
|
inlinestaticconstexpr |
Definition at line 53 of file transcript.hpp.
|
inlinestatic |
Definition at line 47 of file transcript.hpp.
|
inlinestatic |
Definition at line 58 of file transcript.hpp.
|
inlinestatic |
Definition at line 21 of file transcript.hpp.
|
inlinestatic |
Definition at line 66 of file transcript.hpp.
|
inlinestatic |
Split a challenge field element into two half-width challenges.
lo
is 128 bits and hi
is 126 bits. This should provide significantly more than our security parameter bound: 100 bits
challenge |
Definition at line 38 of file transcript.hpp.