You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In hereSEAL_CIPHERTEXT_SIZE_MAX is fixed to be 16 while a check is followed on whether it is greater than 0x100000000ULL / SEAL_POLY_MOD_DEGREE_MAX, where the latter can be at least 2^15 (way too larger than 16!):
// Upper bound on the size of a ciphertext (cannot exceed 2^32 / poly_modulus_degree)
#defineSEAL_CIPHERTEXT_SIZE_MAX16
#if SEAL_CIPHERTEXT_SIZE_MAX > 0x100000000ULL / SEAL_POLY_MOD_DEGREE_MAX
#error "SEAL_CIPHERTEXT_SIZE_MAX is too large"
#endif
My question is:
Why SEAL_CIPHERTEXT_SIZE_MAX cannot be configured before building and why the current bound of ciphertext size is so small?
Why do a static comparison on fixed (constant) values?
The text was updated successfully, but these errors were encountered:
In here
SEAL_CIPHERTEXT_SIZE_MAX
is fixed to be 16 while a check is followed on whether it is greater than0x100000000ULL / SEAL_POLY_MOD_DEGREE_MAX
, where the latter can be at least 2^15 (way too larger than 16!):My question is:
SEAL_CIPHERTEXT_SIZE_MAX
cannot be configured before building and why the current bound of ciphertext size is so small?The text was updated successfully, but these errors were encountered: