HElib  1.0
Implementing Homomorphic Encryption
 All Classes Files Functions Variables Friends Pages
Classes | Macros | Typedefs
CModulus.h File Reference

Supports forward and backward length-m FFT transformations. More...

#include "PAlgebra.h"
#include "bluestein.h"
#include "cloned_ptr.h"

Go to the source code of this file.

Classes

class  CMOD_zz_p
 typedefs for smallint Cmodulus More...
 
class  CMOD_ZZ_p
 typedefs for bigint CModulus More...
 
class  Cmod< type >
 template class for both bigint and smallint implementations More...
 

Macros

#define INJECT_TYPE(type, subtype)   typedef typename type::subtype subtype
 

Typedefs

typedef Cmod< CMOD_zz_pCmodulus
 
typedef Cmod< CMOD_ZZ_pCModulus
 

Detailed Description

Supports forward and backward length-m FFT transformations.

This is a wrapper around the bluesteinFFT routines, for one modulus q. Two classes are defined here, Cmodulus for a small moduli (long) and CModulus for a large ones (ZZ). These classes are otherwise identical hence they are implemented using a class template.