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: 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 "poseidon2.hpp"
8
9namespace bb::crypto {
13template <typename Params>
14typename Poseidon2<Params>::FF Poseidon2<Params>::hash(const std::vector<typename Poseidon2<Params>::FF>& input)
15{
16 return Sponge::hash_internal(input);
17}
18
20} // namespace bb::crypto
Implements a parallelized batch insertion indexed tree Accepts template argument of the type of store...