Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "./sha256.hpp"
#include "barretenberg/common/assert.hpp"
#include "barretenberg/common/net.hpp"
#include <array>
#include <memory.h>
Go to the source code of this file.
Namespaces | |
namespace | bb |
Entry point for Barretenberg command-line interface. | |
namespace | bb::crypto |
Functions | |
void | bb::crypto::prepare_constants (std::array< uint32_t, 8 > &input) |
std::array< uint32_t, 8 > | bb::crypto::sha256_block (const std::array< uint32_t, 8 > &h_init, const std::array< uint32_t, 16 > &input) |
Sha256Hash | bb::crypto::sha256_block (const std::vector< uint8_t > &input) |
template<typename ByteContainer > | |
Sha256Hash | bb::crypto::sha256 (const ByteContainer &input) |
template Sha256Hash | bb::crypto::sha256< std::vector< uint8_t > > (const std::vector< uint8_t > &input) |
template Sha256Hash | bb::crypto::sha256< std::array< uint8_t, 32 > > (const std::array< uint8_t, 32 > &input) |
template Sha256Hash | bb::crypto::sha256< std::string > (const std::string &input) |
template Sha256Hash | bb::crypto::sha256< std::span< uint8_t > > (const std::span< uint8_t > &input) |