FK20 CUDA
All Data Structures Namespaces Files Functions Variables Typedefs Macros
g1p_neg.cu File Reference
#include "fp.cuh"
#include "g1.cuh"
Include dependency graph for g1p_neg.cu:

Go to the source code of this file.

Functions

__device__ void g1p_neg (g1p_t &p)
 Computes the negative of the point p. Due to negation map automorphism on Elliptic Curves in Weierstrass form, this operation is done by computing the additive inverse of the Y coordinate. More...
 

Function Documentation

◆ g1p_neg()

__device__ void g1p_neg ( g1p_t p)

Computes the negative of the point p. Due to negation map automorphism on Elliptic Curves in Weierstrass form, this operation is done by computing the additive inverse of the Y coordinate.

Parameters
[in,out]p
Returns
void

Definition at line 16 of file g1p_neg.cu.

Here is the call graph for this function: