- Reference: A Full RNS Variant of Approximate Homomorphic EncryptionΒ [26]
ModRaise is an operation of raising a ciphertextβs modulus from to (where ). We used ModRaise in BFVβs ciphertext-to-ciphertext multiplication (SummaryΒ D-2.7.5 in Β§D-2.7.5) and in CKKSβs modulus bootstrapping (SummaryΒ D-3.13.7 in Β§D-3.13.7). The RNS-based ModRaise operation is designed as follows:
SummaryΒ D-5.2 ModRaiseRNS
Input: # which represents the big value
# where and are co-prime
# which represents the value
The relationship between and is as follows:
# the noise generated by ModRaiseRNS is (where integer )
Proof.
In Β§D-5.1, we proved that (where integer ). Therefore, the following holds:
for # since (as divides , so )
for # where each
Therefore, can be represented as the following RNS residues:
Our ideal goal of mod-raising from is to derive an RNS vector of . However, the above RNS vector represents , where (with integer ). Therefore, we can interpret the above RNS vector as representing with the additional noise . β‘