diff --git a/include/tlwe.hpp b/include/tlwe.hpp index ce858a8..ddd12af 100644 --- a/include/tlwe.hpp +++ b/include/tlwe.hpp @@ -103,6 +103,7 @@ std::vector> bootsSymEncrypt(const std::vector &p, const Key

&key) { vector> c(p.size()); + #pragma omp parallel for for (int i = 0; i < p.size(); i++) c[i] = tlweSymEncrypt

(p[i] ? P::μ : -P::μ, key); return c; @@ -120,6 +121,7 @@ std::vector bootsSymDecrypt(const std::vector> &c, const Key

&key) { vector p(c.size()); + #pragma omp parallel for for (int i = 0; i < c.size(); i++) p[i] = tlweSymDecrypt

(c[i], key); return p; } diff --git a/thirdparties/cereal b/thirdparties/cereal index d1fcec8..ddd4672 160000 --- a/thirdparties/cereal +++ b/thirdparties/cereal @@ -1 +1 @@ -Subproject commit d1fcec807b372f04e4c1041b3058e11c12853e6e +Subproject commit ddd467244713ea4fe63733628992efcdd6a9187d