Paper 2025/074

XBOOT: Free-XOR Gates for CKKS with Applications to Transciphering

Chao Niu
Zhicong Huang
Zhaomin Yang
Yi Chen
Liang Kong
Cheng Hong
Tao Wei
Abstract

The CKKS scheme is traditionally recognized for approximate homomorphic encryption of real numbers, but BLEACH (Drucker et al., JoC 2024) extends its capabilities to handle exact computations on binary or small integer numbers. Despite this advancement, BLEACH's approach of simulating XOR gates via $(a-b)^2$ incurs one multiplication per gate, which is computationally expensive in homomorphic encryption. To this end, we introduce XBOOT, a new framework built upon BLEACH's blueprint but allows for almost free evaluation of XOR gates. The core concept of XBOOT involves lazy reduction, where XOR operations are simulated with the less costly addition operation, $a+b$, leaving the management of potential overflows to later stages. We carefully handle the modulus chain and scale factors to ensure that the overflows would be conveniently rounded during the CKKS bootstrapping phase without extra cost. We use AES-CKKS transciphering as a benchmark to test the capability of XBOOT, and achieve a throughput exceeding one kilobyte per second, which represents a $2.5\times$ improvement over the state-of-the-art (Aharoni et al., HES 2023). Moreover, XBOOT enables the practical execution of tasks with extensive XOR operations that were previously challenging for CKKS. For example, we can do Rasta-CKKS transciphering at over two kilobytes per second, more than $10\times$ faster than the baseline without XBOOT.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2025/074,
      author = {Chao Niu and Zhicong Huang and Zhaomin Yang and Yi Chen and Liang Kong and Cheng Hong and Tao Wei},
      title = {XBOOT: Free-XOR Gates for CKKS with Applications to Transciphering},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/074},
      year = {2025},
      url = {https://eprint.iacr.org/2025/074}
}
Category
Applications
License
CC BY-NC
Submitted
Updated
Versions

Report a problem

Comments

Log in or create an account

Privacy