Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
merkle.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::avm2
 
namespace  bb::avm2::simulation
 

Typedefs

using bb::avm2::simulation::Poseidon2 = crypto::Poseidon2< crypto::Poseidon2Bn254ScalarFieldParams >
 

Functions

FF bb::avm2::simulation::unconstrained_root_from_path (const FF &leaf_value, const uint64_t leaf_index, std::span< const FF > path)
 
FF bb::avm2::simulation::unconstrained_compute_leaf_slot (const AztecAddress &contract_address, const FF &slot)
 
FF bb::avm2::simulation::unconstrained_silo_nullifier (const AztecAddress &contract_address, const FF &nullifier)
 
FF bb::avm2::simulation::unconstrained_silo_note_hash (const AztecAddress &contract_address, const FF &note_hash)
 
FF bb::avm2::simulation::unconstrained_make_unique_note_hash (const FF &siloed_note_hash, const FF &first_nullifier, uint64_t note_hash_counter)