libfhe
Data Fields
ring_t Struct Reference

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_troots
 Primitive roots of unity.
 
uint_tiroots
 Inverse primitive roots of unity.
 
uint_tinvms
 [M / m_i]_{m_i}^-1
 
uint_tm
 CRT decomposition of M.
 
uint_tminv
 [m_i]^-1
 
uint_tdinv
 [d]_{m_i}^-1
 

Detailed Description

Main Ring type used to define a polynomial ring.


The documentation for this struct was generated from the following file: