Fully Homomorphic Encryption
Fully homomorphic encryption evaluates circuits on ciphertexts. Correctness depends on noise, depth and whether the scheme represents exact or approximate arithmetic.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 3
- Reading time
- 1 min
In this article3 chapters
A property of evaluating a circuit
Homomorphic evaluation should produce a ciphertext whose decryption agrees with the circuit’s plaintext output. For an exact scheme the intended equation is
\[ \operatorname{Dec}(\operatorname{Eval}(C,\operatorname{Enc}(m)))=C(m). \]
The notation suppresses key data and parameter bounds. BFV provides exact arithmetic modulo a plaintext modulus when its correctness conditions hold. CKKS represents approximate numbers at a scale. Its guarantee is a controlled approximation to the intended arithmetic result. These guarantees require different error analyses.
The allowed arithmetic on encoded messages is part of the construction, as illustrated by finite-field arithmetic. When a circuit repeats that arithmetic, bit complexity keeps track of the sizes of its operands as well as the operation count.
Multiplication consumes a budget
If two CKKS values have scale \(\Delta\), their product initially has scale \(\Delta^2\). Rescaling removes part of the ciphertext modulus and restores a usable scale while introducing rounding. Inputs to an addition need compatible levels and scales. The number of multiplication layers therefore matters. Multiplying eight values in a balanced tree has depth three, compared with seven in a serial chain. The arithmetic polynomial can be the same while the ciphertext requirements differ.
Bootstrapping refreshes a representation
Bootstrapping homomorphically evaluates a suitable decryption circuit using encrypted key-dependent data. Under the scheme’s security and correctness assumptions, it creates a ciphertext with room for further evaluation. The operation itself costs time and can have precision requirements. Circuit privacy, access to evaluation keys and parameter selection need their own protocol arguments. The assumptions connect to lattice cryptography, while secure multiparty computation uses a different separation of data and computation.[1][2][3]