|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/api/file_io.hpp"#include "barretenberg/common/serialize.hpp"#include "barretenberg/crypto/sha256/sha256.hpp"#include "barretenberg/ecc/curves/bn254/bn254.hpp"#include "barretenberg/ecc/curves/bn254/pairing.hpp"#include "barretenberg/srs/factories/bn254_crs_data.hpp"#include "barretenberg/srs/factories/bn254_g1_chunk_hashes.hpp"#include "barretenberg/srs/factories/get_bn254_crs.hpp"#include "barretenberg/srs/factories/mem_bn254_crs_factory.hpp"#include "barretenberg/srs/factories/mem_grumpkin_crs_factory.hpp"#include "barretenberg/srs/factories/native_crs_factory.hpp"#include "barretenberg/srs/global_crs.hpp"#include "http_download.hpp"#include <gtest/gtest.h>#include <span>#include <utility>Go to the source code of this file.
Functions | |
| TEST (CrsFactory, bn254) | |
| TEST (CrsFactory, grumpkin) | |
| TEST (CrsFactory, DISABLED_Bn254Fallback) | |
| TEST (CrsFactory, Bn254HardcodedG2IsInPrimeSubgroup) | |
| TEST (CrsFactory, Bn254G2HashMatchesPinnedBytes) | |
| TEST (CrsFactory, Bn254G2DataLoadsAndVerifies) | |
| TEST (CrsFactory, Bn254G2CorruptionDetected) | |
| TEST (CrsFactory, Bn254G2InfinityRejected) | |
| TEST (CrsFactory, Bn254CompressedChunkHashFirstChunk) | |
| TEST (CrsFactory, Bn254CompressedChunkHashCorruptionDetected) | |
| TEST (CrsFactory, Bn254CacheLoadRejectsCorruptionWhenEnvVarSet) | |
| TEST | ( | CrsFactory | , |
| bn254 | |||
| ) |
Definition at line 82 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254CacheLoadRejectsCorruptionWhenEnvVarSet | |||
| ) |
Definition at line 210 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254CompressedChunkHashCorruptionDetected | |||
| ) |
Definition at line 196 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254CompressedChunkHashFirstChunk | |||
| ) |
Definition at line 185 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254G2CorruptionDetected | |||
| ) |
Definition at line 154 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254G2DataLoadsAndVerifies | |||
| ) |
Definition at line 147 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254G2HashMatchesPinnedBytes | |||
| ) |
Definition at line 137 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254G2InfinityRejected | |||
| ) |
Definition at line 171 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254HardcodedG2IsInPrimeSubgroup | |||
| ) |
Definition at line 128 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| DISABLED_Bn254Fallback | |||
| ) |
Definition at line 107 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| grumpkin | |||
| ) |
Definition at line 94 of file crs_factory.test.cpp.