Transactions on Cryptographic Hardware and Embedded Systems 2025
A Fast Heuristic for Mapping Boolean Circuits to Functional Bootstrapping
Sergiu Carpov
Arcium, Baar, Switzerland
Keywords: Functional bootstrapping, Boolean circuit mapping, Fully Homomorphic Encryption
Abstract
Functional bootstrapping in FHE schemes such as FHEW and TFHE allows the evaluation of arbitrary functions on encrypted data, while simultaneously reducing noise. Implementing programs that directly use functional bootstrapping is challenging and error-prone. In this paper, we propose a heuristic that automatically maps Boolean circuits to functional bootstrapping instructions. Unlike prior approaches, our method does not limit the encrypted data plaintext space to a power-of-two size, allowing the instantiation of functional bootstrapping with smaller parameters. Furthermore, the negacyclic property of functional bootstrapping is exploited to extend the plaintext effective space. Despite the inherently greedy nature of the heuristic, experimental results show that the mapped circuits exhibit a significant reduction in evaluation time. Our heuristic demonstrates a 45% reduction in evaluation time when compared to hand-optimized Trivium and Kreyvium implementations.
Publication
IACR Transactions on Cryptographic Hardware and Embedded Systems, Volume 2025, Issue 4
PaperArtifact
Artifact number
tches/2025/a36
Artifact published
January 30, 2026
Badge
✅ IACR CHES Artifacts Functional
License
This work is licensed under the MIT License.
Note that license information is supplied by the authors and has not been confirmed by the IACR.
BibTeX How to cite
Sergiu Carpov. (2025). A Fast Heuristic for Mapping Boolean Circuits to Functional Bootstrapping. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2025(4), 621–643. https://doi.org/10.46586/tches.v2025.i4.621-643. Artifact at https://artifacts.iacr.org/tches/2025/a36.