Paper 2025/2012

Head Start: Digit Extraction in TFHE from MSB to LSB

Jan-Pieter D'Anvers, Belfort, COSIC, KU Leuven
Xander Pottier, COSIC, KU Leuven
Thomas de Ruijter, COSIC, KU Leuven
Ingrid Verbauwhede, Belfort, COSIC, KU Leuven
Abstract

TFHE bootstrapping is typically limited to a small plaintext space, with an exponential increase in cost for larger plaintext spaces. To bootstrap larger integers, one can use digit decomposition, a procedure that iteratively extracts and bootstraps a part of the larger plaintext space. Conventional state-of-the-art methods typically extract bits starting from the least significant bits (LSBs) and progress to the most significant bits (MSBs). However, we introduce a DirtyMSB extraction procedure that enables the digit decomposition from MSBs to LSB for the first time. However, this procedure introduces a small error during the extraction procedure. We demonstrate how to compensate this error in subsequent iterations. Compared to traditional LSB-to-MSB digit decomposition, our method improves the throughput, with for example an increase of 20% for a 5-bit plaintext and 50% increase for an 8-bit plaintext. In contrast to LSB-to-MSB methods, our extracted output ciphertexts have fresh noise, allowing us to directly use the extracted outputs for further computation without the need for an additional bootstrap or less efficient parameters. We demonstrate the applicability of our method by improving large-scale addition and scalar multiplication. Our method is particularly effective for vector addition operations, accelerating the addition of 1000 16-bit numbers by a factor of $\times2.75$. Furthermore, we demonstrate a $\times2.27$ speedup over the state-of-the-art implementation of scalar multiplication.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Preprint.
Keywords
Fully Homomorphic EncryptionTorus Fully Homomorphic EncryptionDigit DecompositionScalar Multiplication
Contact author(s)
janpieter danvers @ belfortlabs com
xander pottier @ esat kuleuven be
thomas deruijter @ esat kuleuven be
ingrid verbauwhede @ esat kuleuven be
History
2025-11-01: approved
2025-10-28: received
See all versions
Short URL
https://ia.cr/2025/2012
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/2012,
      author = {Jan-Pieter D'Anvers and Xander Pottier and Thomas de Ruijter and Ingrid Verbauwhede},
      title = {Head Start: Digit Extraction in {TFHE} from {MSB} to {LSB}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2012},
      year = {2025},
      url = {https://eprint.iacr.org/2025/2012}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.