FK20 CUDA
g1p_add.cu File Reference
#include <stdio.h>
#include "fp.cuh"
#include "g1.cuh"
#include "fp_add.cuh"
#include "fp_mul.cuh"
#include "fp_sub.cuh"
#include "fp_x3.cuh"
#include "fp_x12.cuh"
#include "fp_reduce12.cuh"
Include dependency graph for g1p_add.cu:

Go to the source code of this file.

Functions

__device__ void g1p_add (g1p_t &p, const g1p_t &q)
 Computes the sum of two points q into p, using projective coordinates. and stores in p. More...
 

Function Documentation

◆ g1p_add()

__device__ void g1p_add ( g1p_t p,
const g1p_t q 
)

Computes the sum of two points q into p, using projective coordinates. and stores in p.

p ← p+q

Parameters
[in,out]paccumulator
[in]qsecond operand
Returns
void

Definition at line 29 of file g1p_add.cu.

Here is the caller graph for this function: