Paper 2024/1114 Original: eprint.iacr.org/2024/1114 ↗
Time-Memory Trade-off Algorithms for Homomorphically Evaluating Look-up Table in TFHE
Abstract
We propose time-memory trade-off algorithms for evaluating look-up table (LUT) in both the leveled homomorphic encryption (LHE) and fully homomorphic encryption (FHE) modes in TFHE. For an arbitrary $n$-bit Boolean function, we reduce evaluation time by a factor of $O(n)$ at the expense of an additional memory of "only" $O(2^n)$ as a trade-off: The total asymptotic memory is also $O(2^n)$, which is the same as that of prior works. Our empirical results demonstrate that a $7.8 \times$ speedup in runtime is obtained with a $3.8 \times$ increase in memory usage for 16-bit Boolean functions in the LHE mode. Additionally, in the FHE mode, we achieve reductions in both runtime and memory usage by factors of $17.9 \times$ and $2.5 \times $, respectively, for 8-bit Boolean functions. The core idea is to decompose the function $f$ into sufficiently small subfunctions and leverage the precomputed results for these subfunctions, thereby achieving significant performance improvements at the cost of additional memory.
Metadata
- Available format(s)
PDF
- Category
- Public-key cryptography
- Publication info
- Preprint.
- History
- 2024-09-09: last updated
- 2024-07-09: published
- Short URL
- https://ia.cr/2024/1114
- License
- https://creativecommons.org/licenses/by/4.0/
BibTeX
@misc{cryptoeprint:2024/1114,
author = {Shintaro Narisada and Hiroki Okada and Kazuhide Fukushima and Takashi Nishide},
title = {Time-Memory Trade-off Algorithms for Homomorphically Evaluating Look-up Table in TFHE},
howpublished = {Cryptology {ePrint} Archive, Paper 2024/1114},
year = {2024},
url = {https://eprint.iacr.org/2024/1114}
}