Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/stdlib/primitives/field/field.hpp"
#include "hash.hpp"
#include <algorithm>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | bb |
Entry point for Barretenberg command-line interface. | |
namespace | bb::crypto |
namespace | bb::crypto::merkle_tree |
namespace | std |
STL namespace. | |
Typedefs | |
using | bb::crypto::merkle_tree::fr_hash_path = std::vector< std::pair< fr, fr > > |
using | bb::crypto::merkle_tree::fr_sibling_path = std::vector< fr > |
template<typename Ctx > | |
using | bb::crypto::merkle_tree::hash_path = std::vector< std::pair< bb::stdlib::field_t< Ctx >, bb::stdlib::field_t< Ctx > > > |
Functions | |
fr_hash_path | bb::crypto::merkle_tree::get_new_hash_path (fr_hash_path const &old_path, uint128_t index, fr const &value) |
fr_hash_path | bb::crypto::merkle_tree::get_random_hash_path (size_t const &tree_depth) |
template<typename Ctx > | |
hash_path< Ctx > | bb::crypto::merkle_tree::create_witness_hash_path (Ctx &ctx, fr_hash_path const &input) |
fr | bb::crypto::merkle_tree::get_hash_path_root (fr_hash_path const &input) |
fr | bb::crypto::merkle_tree::zero_hash_at_height (size_t height) |
template<typename Ctx > | |
std::ostream & | std::operator<< (std::ostream &os, bb::crypto::merkle_tree::hash_path< Ctx > const &path) |
std::ostream & | std::operator<< (std::ostream &os, bb::crypto::merkle_tree::fr_hash_path const &path) |