I am trying to configure the parameters for CKKS such that I have a security of 128 bits and a ring dimension of 1024. I intend to do only additions thus I set the multiplicativeDepth to 0. By default the minimum Ring dimension for this security and this depth is 8192. Can I tweak the parameters (for example the number of bits of the primes) such that CKKS work with N=1024 ; indeed with BFV or BGV we can tweak some parameters for it to work with N=1024 and which keep a security of 128 bits.
Here are my current parameters (which don’t work):
params = fhe.CCParamsCKKSRNS()
params.SetMultiplicativeDepth(0)
params.SetSecurityLevel(fhe.SecurityLevel.HEStd_128_classic)
params.SetRingDim(1024)
cc = fhe.GenCryptoContext(params)
cc.Enable(fhe.PKESchemeFeature.PKE)
cc.Enable(fhe.PKESchemeFeature.LEVELEDSHE)
Are the parameters that you chose the one that let the most space for noise to grow, or do you know parameters that works with N=1024 and 128 bit security which let more space (more precision)?
As I’m doing many additions, the final result is not having enough precision.