Paper 2023/958

Faster TFHE Bootstrapping with Block Binary Keys

Changmin Lee, Korea Institute for Advanced Study
Seonhong Min, Seoul National University
Jinyeong Seo, Seoul National University
Yongsoo Song, Seoul National University
Abstract

Fully Homomorphic Encryption over the Torus (TFHE) is a homomorphic encryption scheme which supports efficient Boolean operations over encrypted bits. TFHE has a unique feature in that the evaluation of each binary gate is followed by a bootstrapping procedure to refresh the noise of a ciphertext. In particular, this gate bootstrapping involves two algorithms called the blind rotation and key-switching. In this work, we introduce several optimization techniques for the TFHE bootstrapping. We first define a new key distribution, called the block binary distribution, where the secret key can be expressed as a concatenation of several vectors of Hamming weight at most one. We analyze the hardness of (Ring) LWE with a block binary secret and provide candidate parameter sets which are secure against the best-known attacks. Then, we use the block key structure to simplify the inner working of blind rotation and reduce its complexity. We also modify the RLWE key generation and the gadget decomposition method to improve the performance of the key-switching algorithm in terms of complexity and noise growth. Finally, we use the TFHE library to implement our algorithms and demonstrate their benchmarks. Our experimentation shows that the execution time of TFHE bootstrapping is reduced from 10.5ms down to 6.4ms under the same security level, and the size of the bootstrapping key decreases from 109MB to 60MB.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Published elsewhere. ACM ASIACCS 2023
Keywords
Homomorphic EncryptionTFHEBootstrapping
Contact author(s)
changminlee @ kias re kr
minsh @ snu ac kr
jinyeong seo @ snu ac kr
y song @ snu ac kr
History
2023-06-19: approved
2023-06-19: received
See all versions
Short URL
https://ia.cr/2023/958
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2023/958,
      author = {Changmin Lee and Seonhong Min and Jinyeong Seo and Yongsoo Song},
      title = {Faster TFHE Bootstrapping with Block Binary Keys},
      howpublished = {Cryptology ePrint Archive, Paper 2023/958},
      year = {2023},
      note = {\url{https://eprint.iacr.org/2023/958}},
      url = {https://eprint.iacr.org/2023/958}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.