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

Go to the source code of this file.

Typedefs

using byte_array_plookup = stdlib::byte_array< bb::UltraCircuitBuilder >
 
using public_witness_t_plookup = stdlib::public_witness_t< bb::UltraCircuitBuilder >
 
using UltraBuilder = UltraCircuitBuilder
 

Functions

 TEST (boomerang_stdlib_blake3s, test_single_block_plookup)
 Test graph description for blake3s hash with different block sizes.
 
 TEST (boomerang_stdlib_blake3s, test_double_block_plookup)
 Test graph description for blake3s with a double block input.
 

Typedef Documentation

◆ byte_array_plookup

◆ public_witness_t_plookup

◆ UltraBuilder

Function Documentation

◆ TEST() [1/2]

TEST ( boomerang_stdlib_blake3s  ,
test_double_block_plookup   
)

Test graph description for blake3s with a double block input.

The result should be one connected component with no variables in one gate, verifying that multi-block processing maintains proper connectivity

Definition at line 50 of file graph_description_blake3s.test.cpp.

◆ TEST() [2/2]

TEST ( boomerang_stdlib_blake3s  ,
test_single_block_plookup   
)

Test graph description for blake3s hash with different block sizes.

These tests verify that the graph description of circuits for blake3s hash always produces a single connected component, regardless of input size.

Test graph description for blake3s with a single block input

The result should be one connected component with no variables in one gate, verifying proper connectivity through the hash operation

Definition at line 29 of file graph_description_blake3s.test.cpp.