Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
pure_poseidon2.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <array>
4
6
7namespace bb::avm2::simulation {
8
10 public:
11 PurePoseidon2() = default;
12 ~PurePoseidon2() override = default;
13
14 FF hash(const std::vector<FF>& input) override;
15 std::array<FF, 4> permutation(const std::array<FF, 4>& input) override;
16 void permutation(MemoryInterface& memory, MemoryAddress src_address, MemoryAddress dst_address) override;
17};
18
19} // namespace bb::avm2::simulation
FF hash(const std::vector< FF > &input) override
std::array< FF, 4 > permutation(const std::array< FF, 4 > &input) override
uint32_t MemoryAddress
AvmFlavorSettings::FF FF
Definition field.hpp:10