FK20 CUDA
fp_sub.cu File Reference
#include "fp.cuh"
#include "fp_sub.cuh"
Include dependency graph for fp_sub.cu:

Go to the source code of this file.

Functions

__device__ void fp_sub (fp_t &z, const fp_t &x, const fp_t &y)
 Calculates the difference of two residues modulo p and stores it into z. More...
 

Function Documentation

◆ fp_sub()

__device__ void fp_sub ( fp_t z,
const fp_t x,
const fp_t y 
)

Calculates the difference of two residues modulo p and stores it into z.

Parameters
[out]z
[in]xminuend
[in]ysubtrahend
Returns
void

Definition at line 16 of file fp_sub.cu.

Here is the caller graph for this function: