|
void | tamper_proof_data () |
|
| BaseTranscript () |
|
std::vector< DataType > | export_proof () |
| Return the proof data starting at proof_start.
|
|
void | load_proof (const std::vector< DataType > &proof) |
|
size_t | size_proof_data () |
| Return the size of proof_data.
|
|
void | enable_manifest () |
| Enables the manifest.
|
|
template<typename ChallengeType , typename... Strings> |
std::array< ChallengeType, sizeof...(Strings)> | get_challenges (const Strings &... labels) |
| After all the prover messages have been sent, finalize the round by hashing all the data and then create the number of requested challenges.
|
|
template<typename ChallengeType , typename String , std::size_t N> |
std::array< ChallengeType, N > | get_challenges (std::array< String, N > const &labels) |
| Wrapper around get_challenges to handle array of challenges.
|
|
template<typename ChallengeType > |
std::vector< ChallengeType > | compute_round_challenge_pows (const size_t num_powers, const ChallengeType &round_challenge) |
| Given δ, compute the vector [δ, δ^2,..., δ^2^num_powers].
|
|
template<typename ChallengeType , typename String > |
std::vector< ChallengeType > | get_powers_of_challenge (const String &label, size_t num_challenges) |
|
template<class T > |
void | add_to_independent_hash_buffer (const std::string &label, const T &element) |
| Adds an element to an independent hash buffer.
|
|
DataType | hash_independent_buffer () |
| Hashes the independent hash buffer and clears it.
|
|
template<class T > |
void | add_to_hash_buffer (const std::string &label, const T &element) |
| Adds an element to the transcript.
|
|
template<class T > |
void | send_to_verifier (const std::string &label, const T &element) |
| Adds a prover message to the transcript, only intended to be used by the prover.
|
|
template<class T > |
T | receive_from_prover (const std::string &label) |
| Reads the next element of type T from the transcript, with a predefined label, only used by verifier.
|
|
template<typename ChallengeType > |
ChallengeType | get_challenge (const std::string &label) |
|
TranscriptManifest | get_manifest () const |
|
void | print () |
|
BaseTranscript | branch_transcript () |
| Branch a transcript to perform verifier-only computations.
|
|
Definition at line 10 of file transcript.test.cpp.