|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/common/log.hpp"#include "barretenberg/common/try_catch_shim.hpp"#include "barretenberg/ecc/curves/bn254/fr.hpp"#include <cstdint>#include <cstring>#include <fcntl.h>#include <fstream>#include <ios>#include <iostream>#include <sstream>#include <sys/stat.h>#include <unistd.h>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | bb |
| Entry point for Barretenberg command-line interface. | |
Functions | |
| size_t | bb::get_file_size (std::string const &filename) |
| std::vector< uint8_t > | bb::read_file (const std::string &filename, size_t bytes=0) |
| void | bb::write_file (const std::string &filename, std::vector< uint8_t > const &data) |
| template<typename Fr > | |
| std::string | bb::field_elements_to_json (const std::vector< Fr > &fields) |