#include <transcript.hpp>
Definition at line 90 of file transcript.hpp.
◆ DataType
◆ Proof
◆ calc_num_data_types()
template<typename T >
static constexpr size_t bb::NativeTranscriptParams::calc_num_data_types |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ convert_challenge()
template<typename T >
static T bb::NativeTranscriptParams::convert_challenge |
( |
const DataType & |
challenge | ) |
|
|
inlinestatic |
◆ deserialize()
template<typename T >
static T bb::NativeTranscriptParams::deserialize |
( |
std::span< const DataType > |
frs | ) |
|
|
inlinestatic |
◆ hash()
◆ serialize()
template<typename T >
static std::vector< DataType > bb::NativeTranscriptParams::serialize |
( |
const T & |
element | ) |
|
|
inlinestatic |
◆ split_challenge()
static std::array< DataType, 2 > bb::NativeTranscriptParams::split_challenge |
( |
const DataType & |
challenge | ) |
|
|
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
- Parameters
-
- Returns
- std::array<Fr, 2>
Definition at line 107 of file transcript.hpp.
The documentation for this struct was generated from the following files: