|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/common/thread.hpp"#include "barretenberg/common/throw_or_abort.hpp"#include "barretenberg/crypto/sha256/sha256.hpp"#include <array>#include <atomic>#include <cstddef>#include <cstdint>#include <span>#include <string>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | bb |
| Entry point for Barretenberg command-line interface. | |
| namespace | bb::srs |
Functions | |
| void | bb::srs::verify_bn254_crs_integrity (const std::vector< uint8_t > &data) |
| Verify downloaded CRS data against embedded SHA256 chunk hashes. | |
Variables | |
| constexpr size_t | bb::srs::CRS_HASH_CHUNK_SIZE = 8388608 |
| SHA256 hashes for integrity verification of downloaded BN254 CRS G1 data. | |
| constexpr size_t | bb::srs::CRS_NUM_CHUNK_HASHES = 257 |
| constexpr size_t | bb::srs::CRS_NUM_FULL_CHUNKS = 256 |
| const std::array< crypto::Sha256Hash, 257 > | bb::srs::BN254_CRS_CHUNK_HASHES |