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

Go to the source code of this file.

Functions

__device__ void fp_add (fp_t &z, const fp_t &x, const fp_t &y)
 Computes the sum of two residues x and y modulo p and stores it in z. Device only function. More...
 

Function Documentation

◆ fp_add()

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

Computes the sum of two residues x and y modulo p and stores it in z. Device only function.

Parameters
[out]z
[in]x
[in]y
Returns
void

Definition at line 17 of file fp_add.cu.

Here is the caller graph for this function: