International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

On Polynomial Functions Modulo $p^e$ and Faster Bootstrapping for Homomorphic Encryption

Authors:
Robin Geelen , imec-COSIC, KU Leuven, Leuven, Belgium
Ilia Iliashenko , CipherMode Labs, Los Angeles, USA
Jiayi Kang , imec-COSIC, KU Leuven, Leuven, Belgium
Frederik Vercauteren , imec-COSIC, KU Leuven, Leuven, Belgium
Download:
DOI: 10.1007/978-3-031-30620-4_9 (login may be required)
Search ePrint
Search Google
Presentation: Slides
Conference: EUROCRYPT 2023
Abstract: In this paper, we perform a systematic study of functions $f: \mathbb{Z}_{p^e} \to \mathbb{Z}_{p^e}$ and categorize those functions that can be represented by a polynomial with integer coefficients. More specifically, we cover the following properties: necessary and sufficient conditions for the existence of an integer polynomial representation; computation of such a representation; and the complete set of equivalent polynomials that represent a given function. As an application, we use the newly developed theory to speed up bootstrapping for the BGV and BFV homomorphic encryption schemes. The crucial ingredient underlying our improvements is the existence of null polynomials, i.e. non-zero polynomials that evaluate to zero in every point. We exploit the rich algebraic structure of these null polynomials to find better representations of the digit extraction function, which is the main bottleneck in bootstrapping. As such, we obtain sparse polynomials that have 50% fewer coefficients than the original ones. In addition, we propose a new method to decompose digit extraction as a series of polynomial evaluations. This lowers the time complexity from $\mathcal{O}(\sqrt{pe})$ to $\mathcal{O}(\sqrt{p}\sqrt[^4]{e})$ for digit extraction modulo $p^e$, at the cost of a slight increase in multiplicative depth. Overall, our implementation in HElib shows a significant speedup of a factor up to 2.6 over the state-of-the-art.
BibTeX
@inproceedings{eurocrypt-2023-32871,
  title={On Polynomial Functions Modulo $p^e$ and Faster Bootstrapping for Homomorphic Encryption},
  publisher={Springer-Verlag},
  doi={10.1007/978-3-031-30620-4_9},
  author={Robin Geelen and Ilia Iliashenko and Jiayi Kang and Frederik Vercauteren},
  year=2023
}