18 return ((t[5] | t[4] | t[3] | t[2] | t[1] | (1 ^ t[0])) == 0);
__device__ void fp_reduce6(fp_t &z)
Narrow reduction of a residue modulo p, reducing to the canonical representation.
uint64_t fp_t[6]
Residue modulo p. Any 384-bit representative of each residue is allowed, and stored as a 6-element li...
__device__ __host__ void fp_cpy(fp_t &z, const fp_t &x)
Copy from x into z.
__device__ bool fp_isone(const fp_t &x)
Checks if the residue x modulo p is congruent to one.