|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/ecc/curves/bn254/fr.hpp"#include "stdint.h"#include <array>#include <iomanip>#include <ostream>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | bb |
| Entry point for Barretenberg command-line interface. | |
| namespace | bb::crypto |
| namespace | std |
| STL namespace. | |
Typedefs | |
| using | bb::crypto::Sha256Hash = std::array< uint8_t, 32 > |
Functions | |
| Sha256Hash | bb::crypto::sha256_block (const std::vector< uint8_t > &input) |
| template<typename T > | |
| Sha256Hash | bb::crypto::sha256 (const T &input) |
| bb::fr | bb::crypto::sha256_to_field (std::vector< uint8_t > const &input) |
| bool | bb::crypto::operator== (Sha256Hash const &lhs, std::vector< uint8_t > const &rhs) |
| bool | std::operator== (std::vector< uint8_t > const &lhs, bb::crypto::Sha256Hash const &rhs) |
| std::ostream & | std::operator<< (std::ostream &os, bb::crypto::Sha256Hash const &arr) |