Paper 2025/066

Efficient Homomorphic Integer Computer from CKKS

Jaehyung Kim, Stanford University
Abstract

As Fully Homomorphic Encryption (FHE) enables computation over encrypted data, it is a natural question of how efficiently it handles standard integer computations like 64-bit arithmetic. It has long been believed that the CGGI/DM family or the BGV/BFV family are the best options, depending on the size of the parallelism. The Cheon-Kim-Kim-Song (CKKS) scheme, although being widely used in many applications like machine learning, was not considered a good option as it is more focused on computing real numbers rather than integers. Recently, Drucker et al. [J. Cryptol.] suggested to use CKKS for discrete computations, by separating the error/noise from the discrete message. Since then, there have been several breakthroughs in the discrete variant of CKKS, including the CKKS-style functional bootstrapping by Bae et al. [Asiacrypt'24]. Notably, the CKKS-style functional bootstrapping can be regarded as a parallelization of CGGI/DM functional bootstrapping, and it is several orders of magnitude faster in terms of throughput. Based on the CKKS-style functional bootstrapping, Kim and Noh [ePrint, 2024/1638] designed an efficient homomorphic modular reduction for CKKS, leading to modulo small integer arithmetic. Although it is known that CKKS is efficient for handling small integers like or bits, it is still unclear whether its efficiency extends to larger integers like or bits. In this paper, we propose a novel method for homomorphic unsigned integer computations. We represent a large integer (e.g. -bit) as a vector of smaller chunks (e.g. -bit) and construct arithmetic operations relying on the CKKS-style functional bootstrapping. The proposed scheme supports many of the operations supported in TFHE-rs while outperforming it in terms of amortized running time. Notably, our homomorphic 64-bit multiplication takes ms per slot, which is more than three orders of magnitude faster than TFHE-rs.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Preprint.
Keywords
Fully Homomorphic EncryptionInteger ArithmeticDiscrete CKKS
Contact author(s)
jaehk @ stanford edu
History
2025-01-17: approved
2025-01-16: received
See all versions
Short URL
https://ia.cr/2025/066
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/066,
      author = {Jaehyung Kim},
      title = {Efficient Homomorphic Integer Computer from {CKKS}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/066},
      year = {2025},
      url = {https://eprint.iacr.org/2025/066}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.