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

Go to the source code of this file.

Functions

__device__ void fp_sqr (fp_t &z, const fp_t &x)
 Computes the square of the residue x modulo p and stores it in z. More...
 

Function Documentation

◆ fp_sqr()

__device__ void fp_sqr ( fp_t z,
const fp_t x 
)

Computes the square of the residue x modulo p and stores it in z.

Parameters
[out]z
[in]x
Returns
void

Definition at line 16 of file fp_sqr.cu.

Here is the caller graph for this function: