|
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 | , |
| bn254 | |||
| ) |
Definition at line 82 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254CompressedChunkHashCorruptionDetected | |||
| ) |
Definition at line 194 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254CompressedChunkHashFirstChunk | |||
| ) |
Definition at line 183 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254G2CorruptionDetected | |||
| ) |
Definition at line 152 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254G2DataLoadsAndVerifies | |||
| ) |
Definition at line 145 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254G2HashMatchesPinnedBytes | |||
| ) |
Definition at line 135 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254G2InfinityRejected | |||
| ) |
Definition at line 169 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| Bn254HardcodedG2IsInPrimeSubgroup | |||
| ) |
Definition at line 126 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| DISABLED_Bn254Fallback | |||
| ) |
Definition at line 105 of file crs_factory.test.cpp.
| TEST | ( | CrsFactory | , |
| grumpkin | |||
| ) |
Definition at line 93 of file crs_factory.test.cpp.