Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::KeccakTranscriptParams Struct Reference

#include <transcript.hpp>

Public Types

using Fr = bb::fr
 
using DataType = uint256_t
 
using Proof = std::vector< uint256_t >
 

Static Public Member Functions

static Fr hash (const std::vector< DataType > &data)
 
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 > elements)
 
template<typename T >
static std::vector< DataTypeserialize (const T &element)
 
static std::array< DataType, 2 > split_challenge (const DataType &challenge)
 

Detailed Description

Definition at line 786 of file transcript.hpp.

Member Typedef Documentation

◆ DataType

◆ Fr

Definition at line 787 of file transcript.hpp.

◆ Proof

Definition at line 789 of file transcript.hpp.

Member Function Documentation

◆ calc_num_data_types()

template<typename T >
static constexpr size_t bb::KeccakTranscriptParams::calc_num_data_types ( )
inlinestaticconstexpr

Definition at line 798 of file transcript.hpp.

◆ convert_challenge()

template<typename T >
static T bb::KeccakTranscriptParams::convert_challenge ( const DataType challenge)
inlinestatic

Definition at line 793 of file transcript.hpp.

◆ deserialize()

template<typename T >
static T bb::KeccakTranscriptParams::deserialize ( std::span< const DataType elements)
inlinestatic

Definition at line 802 of file transcript.hpp.

◆ hash()

static Fr bb::KeccakTranscriptParams::hash ( const std::vector< DataType > &  data)
inlinestatic

Definition at line 791 of file transcript.hpp.

◆ serialize()

template<typename T >
static std::vector< DataType > bb::KeccakTranscriptParams::serialize ( const T &  element)
inlinestatic

Definition at line 806 of file transcript.hpp.

◆ split_challenge()

static std::array< DataType, 2 > bb::KeccakTranscriptParams::split_challenge ( const DataType challenge)
inlinestatic

Definition at line 810 of file transcript.hpp.


The documentation for this struct was generated from the following file: