Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
poseidon2_quad_closed_form.test.cpp File Reference
#include "barretenberg/crypto/poseidon2/poseidon2_quad_params.hpp"
#include "barretenberg/ecc/curves/bn254/fr.hpp"
#include <array>
#include <gtest/gtest.h>

Go to the source code of this file.

Functions

 TEST (Poseidon2QuadClosedForm, ForwardVandermondeLhsMatchesWeightedSum)
 
 TEST (Poseidon2QuadClosedForm, MatchesStepIteration)
 
 TEST (Poseidon2QuadClosedForm, TerminalU3CoefIsOne)
 
 TEST (Poseidon2QuadClosedForm, MatchesStepIterationOnEdgeCases)
 

Function Documentation

◆ TEST() [1/4]

TEST ( Poseidon2QuadClosedForm  ,
ForwardVandermondeLhsMatchesWeightedSum   
)

Definition at line 81 of file poseidon2_quad_closed_form.test.cpp.

◆ TEST() [2/4]

TEST ( Poseidon2QuadClosedForm  ,
MatchesStepIteration   
)

Definition at line 100 of file poseidon2_quad_closed_form.test.cpp.

◆ TEST() [3/4]

TEST ( Poseidon2QuadClosedForm  ,
MatchesStepIterationOnEdgeCases   
)

Definition at line 141 of file poseidon2_quad_closed_form.test.cpp.

◆ TEST() [4/4]

TEST ( Poseidon2QuadClosedForm  ,
TerminalU3CoefIsOne   
)

Definition at line 127 of file poseidon2_quad_closed_form.test.cpp.