Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "poseidon2.hpp"
#include "barretenberg/circuit_checker/circuit_checker.hpp"
#include "barretenberg/common/test.hpp"
#include "barretenberg/crypto/poseidon2/poseidon2.hpp"
#include "barretenberg/numeric/random/engine.hpp"
#include "barretenberg/stdlib/primitives/curves/bn254.hpp"
Go to the source code of this file.
Classes | |
class | StdlibPoseidon2< Builder > |
Typedefs | |
using | CircuitTypes = testing::Types< bb::MegaCircuitBuilder, bb::UltraCircuitBuilder > |
Functions | |
TYPED_TEST_SUITE (StdlibPoseidon2, CircuitTypes) | |
TYPED_TEST (StdlibPoseidon2, TestHashZeros) | |
TYPED_TEST (StdlibPoseidon2, TestHashSmall) | |
TYPED_TEST (StdlibPoseidon2, TestHashLarge) | |
TYPED_TEST (StdlibPoseidon2, TestHashRepeatedPairs) | |
TYPED_TEST (StdlibPoseidon2, TestHashConstants) | |
using CircuitTypes = testing::Types<bb::MegaCircuitBuilder, bb::UltraCircuitBuilder> |
Definition at line 122 of file poseidon2.test.cpp.
TYPED_TEST | ( | StdlibPoseidon2 | , |
TestHashConstants | |||
) |
Definition at line 146 of file poseidon2.test.cpp.
TYPED_TEST | ( | StdlibPoseidon2 | , |
TestHashLarge | |||
) |
Definition at line 136 of file poseidon2.test.cpp.
TYPED_TEST | ( | StdlibPoseidon2 | , |
TestHashRepeatedPairs | |||
) |
Definition at line 141 of file poseidon2.test.cpp.
TYPED_TEST | ( | StdlibPoseidon2 | , |
TestHashSmall | |||
) |
Definition at line 131 of file poseidon2.test.cpp.
TYPED_TEST | ( | StdlibPoseidon2 | , |
TestHashZeros | |||
) |
Definition at line 126 of file poseidon2.test.cpp.
TYPED_TEST_SUITE | ( | StdlibPoseidon2 | , |
CircuitTypes | |||
) |