homenc / HElib

HElib is an open-source software library that implements homomorphic encryption. It supports the BGV scheme with bootstrapping and the Approximate Number CKKS scheme. HElib also includes optimizations for efficient homomorphic evaluation, focusing on effective use of ciphertext packing techniques and on the Gentry-Halevi-Smart optimizations.
https://homenc.github.io/HElib
Other
3.11k stars 760 forks source link

Problems with GF(2^n) n is odd #449

Open dtoprakhisar opened 3 years ago

dtoprakhisar commented 3 years ago

I am using the following parameters: p = 2, phi(m)=9072, m=9271, d=63, m1=73, m2=127, m3=0, g1=2414, g2=3432, ,ord1=72,ord2=-2

I am also using an irreducible polynomial of degree 63 as a parameter to encrypted array.

However, when I decrypt my ciphertext, without doing any operation on it, it returns 0. Is there any constraint regarding odd ordered fields?