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

Fix minor compile issues with single-threading #422

Closed mhillenbrand closed 3 years ago

mhillenbrand commented 3 years ago

When building HElib with HELIB_THREADS=OFF (in a profiling setup), I found two minor compile issues in src/recryption.cpp and tests/test_common.cpp. This patch fixes them.

Signed-off-by: Marius Hillenbrand mhillen@linux.ibm.com

faberga commented 3 years ago

@mhillenbrand Good catch! Thank you. We are now putting this PR through our regression tests prior to approval. -Flavio

jlhcrawford commented 3 years ago

Passed regression tests on these platforms: Ubuntu 18.04, Ubuntu 20.04, CentOS 7, CentOS 8, Fedora 32, Fedora 33, Linux mainframe Z.