FK20 CUDA
fp_cpy.cu
Go to the documentation of this file.
1
// bls12_381: Arithmetic for BLS12-381
2
// Copyright 2022-2023 Dag Arne Osvik
3
// Copyright 2022-2023 Luan Cardoso dos Santos
4
5
#include "
fp.cuh
"
6
14
__device__ __host__
void
fp_cpy
(
fp_t
&z,
const
fp_t
&x) {
15
z[0] = x[0];
16
z[1] = x[1];
17
z[2] = x[2];
18
z[3] = x[3];
19
z[4] = x[4];
20
z[5] = x[5];
21
}
22
23
// vim: ts=4 et sw=4 si
fp.cuh
fp_t
uint64_t fp_t[6]
Residue modulo p. Any 384-bit representative of each residue is allowed, and stored as a 6-element li...
Definition:
fp.cuh:14
fp_cpy
__device__ __host__ void fp_cpy(fp_t &z, const fp_t &x)
Copy from x into z.
Definition:
fp_cpy.cu:14
fp_cpy.cu
Generated by
1.9.1