#include "fp.cuh"
#include "fp_sub.cuh"
Go to the source code of this file.
|
__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...
|
|
◆ 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] | x | minuend |
[in] | y | subtrahend |
- Returns
- void
Definition at line 16 of file fp_sub.cu.