International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

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

Authors:
Chao Niu
Zhicong Huang
Zhaomin Yang
Yi Chen
Liang Kong
Cheng Hong
Tao Wei
Download:
DOI: 10.46586/tches.v2025.i4.118-144
URL: https://tches.iacr.org/index.php/TCHES/article/view/12406
Search ePrint
Search Google
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 are managed during the CKKS bootstrapping phase, preserving the correct XOR result 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.5x 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 10x faster than the baseline without XBOOT.
BibTeX
@article{tches-2025-35971,
  title={XBOOT: Free-XOR Gates for CKKS with Applications to Transciphering},
  journal={IACR Transactions on Cryptographic Hardware and Embedded Systems},
  publisher={Ruhr-Universität Bochum},
  volume={2025},
  pages={118-144},
  url={https://tches.iacr.org/index.php/TCHES/article/view/12406},
  doi={10.46586/tches.v2025.i4.118-144},
  author={Chao Niu and Zhicong Huang and Zhaomin Yang and Yi Chen and Liang Kong and Cheng Hong and Tao Wei},
  year=2025
}