Open
Description
I have the following code pulled from the BGV tutorial:
CCParams<CryptoContextBGVRNS> parameters;
parameters.SetMultiplicativeDepth(2);
parameters.SetPlaintextModulus(65537);
CryptoContext<DCRTPoly> cryptoContext = GenCryptoContext(parameters);
This fails with the error
"external/openfhe/src/core/include/math/nbtheory-impl.h:332
FirstPrime: Requested bit length 60 exceeds maximum allowed length 57"
My OpenFHE version is pinned to v1.1.2 (b2869ae) and I'm running with
MATHBACKEND=2
My config_core.h
is
#define WITH_BE2
#define WITH_BE4
/* #undef WITH_NTL */
/* #undef WITH_TCM */
#define HAVE_INT64 TRUE
#define NATIVEINT 64
#define CKKS_M_FACTOR 1