Results 12 comments of Shai Halevi

Note that this parameter setting is invalid, as mvec must be a factorization of m. (Not necessarily prime factorization, but the entries in mvec must multiply to m). Similarly gens...

HElib cannot work with very large p values. In principle you may be able to use p values upto 60 bits (about 1e20), but you will need huge values of...

Most likely you specified a value of L which is too low to `buildModChain`. We re-purposed the argument L, now it means the number of bits that you need rather...

This error means that you are using parameters that are too small, and ran out of capacity (note the negative capacity).

One option would be to work modulo a prime number close to 2^20. Alternatively use multiple instances, each one is modulo a different small prime number, such that the product...

> Is this a bug or intended? A little bit of both :) It was written as a quick and dirty hack, it really needs to be fixed by now...

Some sets of parameters are listed in the tables at the end of the "Homomorphic Encryption Security Standard" (from November 21, 2018), available at http://homomorphicencryption.org/standard/

HElib uses the -1/1 distribution for the secret key, except for bootstrapping where it uses a low-weight distribution (which is not included in the standard). For all we currently know,...

what command line arguments did you use when getting segfault?

no, which command-line parameter you used (m, L, c, etc.)?