libfhe
|
Main Ring type used to define a polynomial ring. More...
#include <fhe_ring.h>
Data Fields | |
size_t | lgd |
log d where d is the polynomial degree | |
size_t | d |
Polynomial degree. | |
size_t | n |
Number of residues in the CRT representation of M. | |
mpz_t | M |
Multiprecision representation of M. | |
mpz_t | M_half |
Multiprecision representation of M/2. | |
mpz_t * | ms |
M/m_i for each CRT residue m_i. | |
uint_t * | roots |
Primitive roots of unity. | |
uint_t * | iroots |
Inverse primitive roots of unity. | |
uint_t * | invms |
[M / m_i]_{m_i}^-1 | |
uint_t * | m |
CRT decomposition of M. | |
uint_t * | minv |
[m_i]^-1 | |
uint_t * | dinv |
[d]_{m_i}^-1 | |
Main Ring type used to define a polynomial ring.