Skip to content

Encrypted Fixed-Point Multiplication in Quasilinear Complexity

Jung Hee Cheon, Junho Lee

cs.CR

Abstract

Homomorphic encryption enables computation on encrypted data, but its high computational overhead remains a central obstacle. We overcome this obstacle asymptotically for high-precision fixed-point arithmetic. In this paper, we introduce focused encoding, which represents a fixed-point number of nn-bit precision using a polynomial of degree O(n/log⁡n)O(n/\log n) over a polynomially bounded modulus by concentrating precision at one embedding. We then introduce an error-shaping technique for homomorphic operations to preserve the encoding. This yields an encrypted fixed-point multiplication algorithm for the CKKS scheme that runs in online time O(nlog⁡n)O(n \log n) at nn-bit precision for any fixed multiplicative depth, with security parameter λ=O(n/log⁡2n)λ= O(n/\log^2 n). Further, we develop bootstrapping for focused encoding to overcome the quadratic cost of conventional bootstrapping. We bootstrap ciphertext coefficients at an enlarged scale and shape the resulting error to preserve focused encoding, at the cost of additional modulus consumption. Then, to reduce the remaining logarithmic overhead, we decompose the ciphertext into components over a smaller subring and bootstrap each separately. This reduces the online cost per multiplication, including bootstrapping, to O(nlog⁡n+n(log⁡λ)3log⁡log⁡λ)O(n \log n + n (\log λ)^3 \log \log λ) for security parameter λ=O(n/log⁡3n)λ= O(n/\log^3 n).

Create a lesson

Metadata

Comments
30 pages