Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
fq.test.cpp File Reference
#include "fq.hpp"
#include "barretenberg/numeric/random/engine.hpp"
#include "barretenberg/numeric/uint256/uint256.hpp"
#include <gtest/gtest.h>

Go to the source code of this file.

Functions

 TEST (BN254Fq, CompileTimeInversion)
 
 TEST (BN254Fq, SplitIntoEndomorphismScalars)
 
 TEST (BN254Fq, SplitIntoEndomorphismScalarsSimple)
 
 TEST (BN254Fq, SplitEndomorphismNegativeK2)
 
 TEST (BN254Fq, SplitIntoEndomorphismEdgeCase)
 
 TEST (BN254Fq, SqrRegression)
 
 TEST (BN254Fq, Uint512ReductionEquivalence)
 

Function Documentation

◆ TEST() [1/7]

TEST ( BN254Fq  ,
CompileTimeInversion   
)

Definition at line 69 of file fq.test.cpp.

◆ TEST() [2/7]

TEST ( BN254Fq  ,
SplitEndomorphismNegativeK2   
)

Definition at line 133 of file fq.test.cpp.

◆ TEST() [3/7]

TEST ( BN254Fq  ,
SplitIntoEndomorphismEdgeCase   
)

Definition at line 162 of file fq.test.cpp.

◆ TEST() [4/7]

TEST ( BN254Fq  ,
SplitIntoEndomorphismScalars   
)

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

◆ TEST() [5/7]

TEST ( BN254Fq  ,
SplitIntoEndomorphismScalarsSimple   
)

Definition at line 104 of file fq.test.cpp.

◆ TEST() [6/7]

TEST ( BN254Fq  ,
SqrRegression   
)

Definition at line 193 of file fq.test.cpp.

◆ TEST() [7/7]

TEST ( BN254Fq  ,
Uint512ReductionEquivalence   
)

Definition at line 217 of file fq.test.cpp.