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

Go to the source code of this file.

Typedefs

using Builder = UltraCircuitBuilder
 
using field_ct = field_t< Builder >
 
using witness_ct = witness_t< Builder >
 

Functions

template<size_t N>
void fix_field_array (std::array< field_ct, N > &arr)
 Fix witness for an array of field elements.
 
 TEST (boomerang_stdlib_keccak, test_graph_for_keccakf1600)
 

Typedef Documentation

◆ Builder

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

◆ field_ct

Definition at line 16 of file graph_description_keccak.test.cpp.

◆ witness_ct

Definition at line 17 of file graph_description_keccak.test.cpp.

Function Documentation

◆ fix_field_array()

template<size_t N>
void fix_field_array ( std::array< field_ct, N > &  arr)

Fix witness for an array of field elements.

Static analyzer prints variables that only appear in one gate. By fixing witnesses, we ensure variables appear in at least 2 gates, filtering out false positives.

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

◆ TEST()

TEST ( boomerang_stdlib_keccak  ,
test_graph_for_keccakf1600   
)

Definition at line 32 of file graph_description_keccak.test.cpp.