#include "test.h"
#include "g1.cuh"
Go to the source code of this file.
◆ G1_TEST_CUH
◆ TESTFUN
◆ TESTVALS
◆ G1TestFFT()
void G1TestFFT |
( |
unsigned |
rows | ) |
|
Test for FFT and IFFT of points on the G1 curve. Checks self consistency with the following properties:
IFT(FFT(P)) == P FFT(IFT(P)) == P FFT(P+Q) == FFT(P) + FFT(Q) IFT(P+Q) == IFT(P) + IFT(Q) FFT(x*P) == x*FFT(P) IFT(x*P) == x*IFT(P) FFT(G*X) == G*FFT(X) (FFT commutes with mapping from Fr to G1) IFT(G*X) == G*IFT(X) (IFT commutes with mapping from Fr to G1)
- Parameters
-
Definition at line 136 of file g1test_fft.cu.
◆ TESTFUN() [1/20]
TESTFUN |
( |
G1TestAdditiveIdentity |
| ) |
|
◆ TESTFUN() [2/20]
TESTFUN |
( |
G1TestAdditiveInverse |
| ) |
|
◆ TESTFUN() [3/20]
TESTFUN |
( |
G1TestAssociativeAdd |
| ) |
|
◆ TESTFUN() [4/20]
TESTFUN |
( |
G1TestAssociativeMul |
| ) |
|
◆ TESTFUN() [5/20]
◆ TESTFUN() [6/20]
TESTFUN |
( |
G1TestCommutativeAdd |
| ) |
|
◆ TESTFUN() [7/20]
TESTFUN |
( |
G1TestCommutativeMul |
| ) |
|
◆ TESTFUN() [8/20]
◆ TESTFUN() [9/20]
◆ TESTFUN() [10/20]
TESTFUN |
( |
G1TestDistributiveLeft |
| ) |
|
◆ TESTFUN() [11/20]
TESTFUN |
( |
G1TestDistributiveRight |
| ) |
|
◆ TESTFUN() [12/20]
◆ TESTFUN() [13/20]
◆ TESTFUN() [14/20]
◆ TESTFUN() [15/20]
◆ TESTFUN() [16/20]
TESTFUN |
( |
G1TestMultiplicativeIdentity |
| ) |
|
◆ TESTFUN() [17/20]
TESTFUN |
( |
G1TestMultiplicativeInverse |
| ) |
|
◆ TESTFUN() [18/20]
TESTFUN |
( |
G1TestReflexivity |
| ) |
|
◆ TESTFUN() [19/20]
◆ TESTFUN() [20/20]
TESTFUN |
( |
G1TestSymmetry |
| ) |
|