diff --git a/include/fft.h b/include/fft.h index 8a77833..d8bd95f 100644 --- a/include/fft.h +++ b/include/fft.h @@ -9,8 +9,6 @@ using namespace std; -//TODO: description - class FFT_engine { int fft_dim; @@ -23,7 +21,6 @@ class FFT_engine fftw_complex* out_array; public: - //map> x_powers; vector pos_powers; vector neg_powers; diff --git a/include/lwehe.h b/include/lwehe.h index 47690c2..5cdfc13 100644 --- a/include/lwehe.h +++ b/include/lwehe.h @@ -80,7 +80,6 @@ class SchemeLWE SchemeLWE() { KeyGen keygen(parLWE); - //sampler = Sampler(param); keygen.get_sk_base(sk_base); keygen.get_sk_boot(sk_boot); diff --git a/include/ntruhe.h b/include/ntruhe.h index a306ee9..1bd85a8 100644 --- a/include/ntruhe.h +++ b/include/ntruhe.h @@ -103,7 +103,6 @@ class SchemeNTRU SchemeNTRU() { KeyGen keygen(parNTRU); - //sampler = Sampler(param); keygen.get_sk_base(sk_base); keygen.get_sk_boot(sk_boot); diff --git a/include/params.h b/include/params.h index 9cb61af..cb24d17 100644 --- a/include/params.h +++ b/include/params.h @@ -123,10 +123,10 @@ class Param { ZZ_pX poly; // polynomial modulus of the ring-based scheme - //element of Z_(q_boot) + // element of Z_(q_boot) ZZ_p coef; coef.init(ZZ(q_boot)); - //polynomial modulus X^N+1 + // polynomial modulus X^N+1 coef = 1; SetCoeff(poly, 0, coef); SetCoeff(poly, N, coef); @@ -152,7 +152,7 @@ class Param // ciphertext modulus of the base scheme used for encryption int q_base; - //half of the above modulus + // half of the above modulus int half_q_base; // dimension of the ciphertext space int n;