International Association for Cryptologic Research

International Association
for Cryptologic Research

Transactions on Cryptographic Hardware and Embedded Systems 2025

Sharing the Mask:

TFHE Bootstrapping on Packed Messages


Loris Bergerat
Zama, Paris, France; Université Caen Normandie, ENSICAEN, CNRS, Normandie Univ, GREYC UMR 6072, F-14000 Caen, France

Charlotte Bonte
Zama, Paris, France

Benjamin R. Curtis
Zama, Paris, France

Jean-Baptiste Orfila
Zama, Paris, France

Pascal Paillier
Zama, Paris, France

Samuel Tap
Zama, Paris, France


Keywords: Fully homomorphic encryption, TFHE, Bootstrapping


Abstract

Fully Homomorphic Encryption (FHE) schemes typically experience significant data expansion during encryption, leading to increased computational costs and memory demands during homomorphic evaluations compared to their plaintext counterparts. This work builds upon prior methods aimed at reducing ciphertext expansion by leveraging matrix secrets under the Matrix-LWE assumption. In particular, we consider a ciphertext format referred to in this work as common mask (CM) ciphertexts, which comprises a shared mask and multiple message bodies. Each body encrypts a distinct message while reusing the common random mask. We demonstrate that all known FHEW/TFHE-style ciphertext variants and operations can be naturally extended to this CM format. Our benchmarks highlight the potential for amortizing operations using the CM structure, significantly reducing overhead. For instance, in the boolean setting, we have up to a 51% improvement when packing 8 messages. Beyond ciphertext compression and amortized evaluations, the CM format also enables the generalization of several core-TFHE operations. Specifically, we support applying distinct lookup tables on different encrypted messages within a single CM ciphertext and private linear operations on messages encrypted within the same CM ciphertext.

Publication

IACR Transactions on Cryptographic Hardware and Embedded Systems, Volume 2025, Issue 4

Paper

Artifact

Artifact number
tches/2025/a46

Artifact published
January 30, 2026

Badge
IACR CHES Artifacts Functional

README

ZIP (6000801 bytes)  

View on Github

License
This work is licensed under the 3-Clause BSD License.

Note that license information is supplied by the authors and has not been confirmed by the IACR.


BibTeX How to cite

Loris Bergerat, Charlotte Bonte, Benjamin R. Curtis, Jean-Baptiste Orfila, Pascal Paillier, Samuel Tap. (2025). Sharing the Mask: TFHE Bootstrapping on Packed Messages. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2025(4), 925–971. https://doi.org/10.46586/tches.v2025.i4.925-971. Artifact at https://artifacts.iacr.org/tches/2025/a46.