Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
hash.test.cpp File Reference
#include "hash.hpp"
#include "memory_tree.hpp"
#include <gtest/gtest.h>
#include "barretenberg/stdlib_circuit_builders/ultra_circuit_builder.hpp"

Go to the source code of this file.

Typedefs

using Builder = UltraCircuitBuilder
 
using field_ct = bb::stdlib::field_t< Builder >
 
using witness_ct = bb::stdlib::witness_t< Builder >
 

Functions

 TEST (crypto_merkle_tree_hash, hash_native_vs_circuit)
 
 TEST (crypto_merkle_tree_hash, compute_tree_native)
 

Typedef Documentation

◆ Builder

Definition at line 10 of file hash.test.cpp.

◆ field_ct

Definition at line 12 of file hash.test.cpp.

◆ witness_ct

Definition at line 13 of file hash.test.cpp.

Function Documentation

◆ TEST() [1/2]

TEST ( crypto_merkle_tree_hash  ,
compute_tree_native   
)

Definition at line 26 of file hash.test.cpp.

◆ TEST() [2/2]

TEST ( crypto_merkle_tree_hash  ,
hash_native_vs_circuit   
)

Definition at line 15 of file hash.test.cpp.