|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#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 | |
| std::array< uint32_t, 8 > | bb::crypto::sha256_block (const std::array< uint32_t, 8 > &h_init, const std::array< uint32_t, 16 > &input) |
| SHA-256 compression function (FIPS 180-4 Section 6.2.2) | |
| template<typename T > | |
| Sha256Hash | bb::crypto::sha256 (const T &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) |