FK20 CUDA
fr_reduce4.cu File Reference
#include "fr.cuh"
Include dependency graph for fr_reduce4.cu:

Go to the source code of this file.

Functions

__device__ void fr_reduce4 (fr_t &z)
 Reduced the value in fr_t to the field modulus. More...
 

Function Documentation

◆ fr_reduce4()

__device__ void fr_reduce4 ( fr_t z)

Reduced the value in fr_t to the field modulus.

Modulus = 0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001 and is hardcoded in the function.

Parameters
z
Returns
void

Definition at line 16 of file fr_reduce4.cu.

Here is the caller graph for this function: