|
Algorithm 8 Heuristicallyparameterise RNS-CKKS scheme using expected cost of computation. |
|
Require: c: Integer maximal cost of this cyphertext group. |
|
Require: s: Integer scale power, the scale of the cyphertext. Default: . We advise not to go below 30 due to noise accumulation and lack of prime availability. |
|
Require: p: Float special prime multiplier, the multiplier that dictates the scale-stabilised special primes in the coefficient modulus chain. Default:
|
|
Ensure: : MS-SEAL RNS-CKKS parameter dictionary/map. |
| function
parameterise(c, s, p) |
|
|
| ▹ 2 is CKKS in MS-SEAL |
| ▹ scale power |
|
|
| ▹ Mult first special prime |
| ▹ Mult last special prime |
|
|
| while do
|
|
|
|
|
| return
|