Paper 2024/087

Tree-based Lookup Table on Batched Encrypted Queries using Homomorphic Encryption

Jung Hee Cheon, Seoul National University, CryptoLab Inc.
Hyeongmin Choe, Seoul National University
Jai Hyun Park, Seoul National University
Abstract

Homomorphic encryption (HE) is in the spotlight as a solution for privacy-related issues in various real-world scenarios. However, the limited types of operations supported by each HE scheme have been a major drawback in applications. While HE schemes based on learning-with-error (LWE) problem provide efficient lookup table (LUT) evaluation in terms of latency, they have downsides in arithmetic operations and low throughput compared to HE schemes based on ring LWE (RLWE) problem. The use of HE on circuits containing LUT has been partly limited if they contain arithmetic operations or their computational width is large. In this paper, we propose homomorphic algorithms for batched queries on LUTs by using RLWE-based HE schemes. To look up encrypted LUTs of size $n$ on encrypted queries, our algorithms use $O(\log{n})$ homomorphic comparisons and $O(n)$ multiplications. For unencrypted LUTs, our algorithms use $O(\log{n})$ comparisons, $O(\sqrt{n})$ ciphertext multiplications, and $O(n)$ scalar multiplications. We provide a proof-of-concept implementation based on CKKS scheme (Asiacrypt 2017). The amortized running time for an encrypted (Resp. unencrypted) LUT of size $512$ is $0.041$ (Resp. $0.025$) seconds. Our implementation reported roughly $2.4$-$6.0$x higher throughput than the current implementation of LWE-based schemes, with more flexibility on the structure of the LUTs.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Preprint.
Keywords
Homomorphic EncryptionLookup TableHomomorphic Operations
Contact author(s)
jhcheon @ snu ac kr
sixtail528 @ snu ac kr
jhyunp @ snu ac kr
History
2024-01-23: last of 2 revisions
2024-01-19: received
See all versions
Short URL
https://ia.cr/2024/087
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/087,
      author = {Jung Hee Cheon and Hyeongmin Choe and Jai Hyun Park},
      title = {Tree-based Lookup Table on Batched Encrypted Queries using Homomorphic Encryption},
      howpublished = {Cryptology ePrint Archive, Paper 2024/087},
      year = {2024},
      note = {\url{https://eprint.iacr.org/2024/087}},
      url = {https://eprint.iacr.org/2024/087}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.