Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
transcript.cpp
Go to the documentation of this file.
1
// === AUDIT STATUS ===
2
// internal: { status: not started, auditors: [], date: YYYY-MM-DD }
3
// external_1: { status: not started, auditors: [], date: YYYY-MM-DD }
4
// external_2: { status: not started, auditors: [], date: YYYY-MM-DD }
5
// =====================
6
7
#include "
transcript.hpp
"
8
#include "
barretenberg/crypto/poseidon2/poseidon2.hpp
"
9
10
bb::NativeTranscriptParams::DataType
bb::NativeTranscriptParams::hash
(
11
const
std::vector<bb::NativeTranscriptParams::DataType>
&
data
)
12
{
13
return
crypto::Poseidon2<crypto::Poseidon2Bn254ScalarFieldParams>::hash
(
data
);
14
}
bb::crypto::Poseidon2
Definition
poseidon2.hpp:15
data
const std::vector< FF > data
Definition
data_copy.test.cpp:61
poseidon2.hpp
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
bb::NativeTranscriptParams::hash
static DataType hash(const std::vector< DataType > &data)
Definition
transcript.cpp:10
bb::field< Bn254FrParams >
transcript.hpp
src
barretenberg
transcript
transcript.cpp
Generated by
1.9.8