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 761 forks source link

Check wrong values for belowLVL in packedRecrypt #338

Open patrick-schwarz opened 4 years ago

patrick-schwarz commented 4 years ago

There are overflows of the LONG variable belowLVL. Furhtermore if no ciphertext is below the level the function fails as well.