Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
poseidon2.cpp
Go to the documentation of this file.
1
// === AUDIT STATUS ===
2
// internal: { status: Planned, auditors: [Sergei], commit: }
3
// external_1: { status: not started, auditors: [], commit: }
4
// external_2: { status: not started, auditors: [], commit: }
5
// =====================
6
7
#include "
poseidon2.hpp
"
8
9
namespace
bb::crypto
{
13
template
<
typename
Params>
14
typename
Poseidon2<Params>::FF
Poseidon2<Params>::hash
(
const
std::vector<
typename
Poseidon2<Params>::FF
>& input)
15
{
16
return
Sponge::hash_internal(input);
17
}
18
19
template
class
Poseidon2<Poseidon2Bn254ScalarFieldParams>
;
20
}
// namespace bb::crypto
bb::crypto::Poseidon2
Definition
poseidon2.hpp:15
bb::crypto::Poseidon2::FF
typename Params::FF FF
Definition
poseidon2.hpp:17
bb::crypto::Poseidon2::hash
static FF hash(const std::vector< FF > &input)
Hashes a vector of field elements.
bb::crypto
Definition
aes128.cpp:158
poseidon2.hpp
src
barretenberg
crypto
poseidon2
poseidon2.cpp
Generated by
1.9.8