Paper 2024/1204

A fast heuristic for mapping Boolean circuits to functional bootstrapping

Sergiu Carpov, Inpher
Abstract

Functional bootstrapping in FHE schemes such as FHEW and TFHE allows the evaluation of a function on an encrypted message, in addition to noise reduction. 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 other 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 space. Despite the inherently greedy nature of the heuristic, experimental results show that the mapped circuits exhibit a significant reduction in evaluation time. Furthermore, our heuristic was able to achieve a $45\%$ improvement in evaluation time when applied to manually implemented Trivium and Kreyvium circuits.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
Functional bootstrappingBoolean circuit mappingFully Homomorphic Encryption
Contact author(s)
sergiu carpov @ gmail com
History
2024-07-29: approved
2024-07-25: received
See all versions
Short URL
https://ia.cr/2024/1204
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/1204,
      author = {Sergiu Carpov},
      title = {A fast heuristic for mapping Boolean circuits to functional bootstrapping},
      howpublished = {Cryptology ePrint Archive, Paper 2024/1204},
      year = {2024},
      note = {\url{https://eprint.iacr.org/2024/1204}},
      url = {https://eprint.iacr.org/2024/1204}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.