Revisiting the Slot-to-Coefficient Transformation for BGV and BFV
Numerous applications in homomorphic encryption require an operation that moves the slots of a ciphertext to the coefficients of a different ciphertext. For the BGV and BFV schemes, the only efficient algorithms to implement this slot-to-coefficient transformation were proposed in the setting of non-power-of-two cyclotomic rings. In this paper, we devise an FFT-like method to decompose the slot-to-coefficient transformation (and its inverse) for power-of-two cyclotomic rings. The proposed method can handle both fully and sparsely packed slots. Our algorithm brings down the computational complexity of the slot-to-coefficient transformation from a linear to a logarithmic number of FHE operations, which is shown via a detailed complexity analysis. The new procedures are implemented in Microsoft SEAL for BFV. The experiments report a speedup of up to 44 times when packing 2^12 elements from GF(8191^8). We also study a fully packed bootstrapping operation that refreshes 2^15 elements from GF(65537) and obtain an amortized speedup of 12 times.
Authors
- Robin Geelen (ORCID: https://orcid.org/0000-0003-4684-3532)
Institutions
- KU Leuven (BE)
Publication Details
- Journal
- IACR Communications in Cryptology
- Published
- 2024-10-07
- DOI
- https://doi.org/10.62056/a01zogy4e-
- Citations
- 5
- Primary Topic
- Cryptography and Data Security
- Type
- article
- Field-Weighted Citation Impact
- 1.74
Funders
- European Commission
- Fonds Wetenschappelijk Onderzoek
- Vlaamse regering
- Defense Advanced Research Projects Agency
- Advanced Research Projects Agency