Paper 2025/074
XBOOT: Free-XOR Gates for CKKS with Applications to Transciphering
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.
Metadata
- Available format(s)
- Category
- Applications
- Publication info
- Preprint.
- Keywords
- homomorphic encryptionbootstrappingadvanced encryption standardhybrid homomorphic encryptiontransciphering
- Contact author(s)
-
niuchao niu @ antgroup com
zhicong hzc @ antgroup com
yangzhaomin yzm @ antgroup com
cy459642 @ antgroup com
kongliang kong @ antgroup com
vince hc @ antgroup com
lenx wei @ antgroup com - History
- 2025-01-18: approved
- 2025-01-17: received
- See all versions
- Short URL
- https://ia.cr/2025/074
- License
-
CC BY-NC
BibTeX
@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} }