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

Go to the source code of this file.

Typedefs

using Builder = UltraCircuitBuilder
 
using field_ct = stdlib::field_t< Builder >
 
using witness_ct = stdlib::witness_t< Builder >
 
using byte_array_ct = stdlib::byte_array< Builder >
 
using public_witness_t = stdlib::public_witness_t< Builder >
 

Functions

 TEST (boomerang_stdlib_blake2s, graph_description_single_block_plookup)
 Test graph description for Blake2s hash with single block input.
 
 TEST (boomerang_stdlib_blake2s, graph_description_double_block_plookup)
 Test graph description for Blake2s hash with double block input.
 

Typedef Documentation

◆ Builder

◆ byte_array_ct

◆ field_ct

◆ public_witness_t

◆ witness_ct

Function Documentation

◆ TEST() [1/2]

TEST ( boomerang_stdlib_blake2s  ,
graph_description_double_block_plookup   
)

Test graph description for Blake2s hash with double block input.

This test verifies that:

  • The graph has one connected component
  • No variables are in one gate
  • The plookup implementation correctly processes a multi-block input
  • The output matches the expected cryptographic hash

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

◆ TEST() [2/2]

TEST ( boomerang_stdlib_blake2s  ,
graph_description_single_block_plookup   
)

Test graph description for Blake2s hash with single block input.

This test verifies that:

  • The graph has one connected component
  • No variables are in one gate
  • The plookup implementation correctly processes a single block input

Definition at line 25 of file graph_description_blake2s.test.cpp.