Paper 2024/417

An improved exact CRR basis conversion algorithm for FHE without floating-point arithmetic

Hongyuan Qu, Shandong University
Guangwu Xu, Shandong University
Abstract

Fully homomorphic encryption (FHE) has attracted much attention recently. Chinese remainder representation (CRR) or RNS representation is one of the core technologies of FHE. CRR basis conversion is a key step of KeySwitching procedure. Bajard et al. proposed a fast basis conversion method for CRR basis conversion, but the elimination of error had to be ignored. Halevi et al. suggested a method using floating-point arithmetic to avoid errors, but floating-point arithmetic has its own issues such as low efficiency and complex chip design. In this work, we establish a more concise and efficient CRR basis conversion method by observing that each of the ciphertext modulus selected by the CRR CKKS scheme is very close to an integer that is a power of 2. Our conversion algorithm eliminates errors and involves only integer arithmetic and bit operations. The proof of correctness of our algorithm is given. Extensive experiments are conducted and comparisons between the method of Halevi et al. and ours are obtained, which show that our method has the same accuracy and a slightly better effeciency. Our method is also applicable to the CRR variant of BGV and BFV schemes, and can be used to simplify chip design.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Preprint.
Keywords
Fully homomorphic encryptionCRR basis conversionFloating-point arithmeticError elimination.
Contact author(s)
202321189 @ mail sdu edu cn
gxu4sdq @ sdu edu cn
History
2024-03-11: approved
2024-03-09: received
See all versions
Short URL
https://ia.cr/2024/417
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/417,
      author = {Hongyuan Qu and Guangwu Xu},
      title = {An improved exact CRR basis conversion algorithm for FHE without floating-point arithmetic},
      howpublished = {Cryptology ePrint Archive, Paper 2024/417},
      year = {2024},
      note = {\url{https://eprint.iacr.org/2024/417}},
      url = {https://eprint.iacr.org/2024/417}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.