Lune

EUROCRYPT2022Top-tier venue

Field Instruction Multiple Data

Khin Mi Mi Aung, Enhui Lim, Sim Jun Jie, Benjamin Hong Meng Tan, Huaxiong Wang, Sze Ling Yeo

Abstract

Fully homomorphic encryption (FHE) has flourished since it was first constructed by Gentry (STOC 2009). Single instruction multiple data (SIMD) gave rise to efficient homomorphic operations on vectors in (Ftd)ℓ(\mathbb{F}_{t^d})^\ell, for prime tt. RLWE instantiated with cyclotomic polynomials of the form X2N+1X^{2^N}+1 dominate implementations of FHE due to highly efficient fast Fourier transformations. However, this choice yields very short SIMD plaintext vectors and high degree extension fields, e.g. ℓ<100,d>100\ell < 100, d > 100 for small primes (t=3,5,…t = 3, 5, \dots).

In this work, we describe a method to encode more data on top of SIMD, Field Instruction Multiple Data, applying reverse multiplication friendly embedding (RMFE) to FHE. With RMFE, length-kk Ft\mathbb{F}_{t} vectors can be encoded into Ftd\mathbb{F}_{t^d} and multiplied once. The results have to be recoded (decoded and then re-encoded) before further multiplications can be done. We introduce an FHE-specific technique to additionally evaluate arbitrary linear transformations on encoded vectors for free during the FHE recode operation. On top of that, we present two optimizations to unlock high degree extension fields with small tt for homomorphic computation: rr-fold RMFE, which allows products of up to 2r2^r encoded vectors before recoding, and a three-stage recode process for RMFEs obtained by composing two smaller RMFEs. Experiments were performed to evaluate the effectiveness of FIMD from various RMFEs compared to standard SIMD operations. Overall, we found that FIMD generally had >2×>2\times better (amortized) multiplication times compared to FHE for the same amount of data, while using almost k/2×k/2 \times fewer ciphertexts required.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Coyote: A Compiler for Vectorizing Encrypted Arithmetic CircuitsRaghav Malik, Kabir Sheth, Milind KulkarniASPLOS 2023 · 22 citations
  2. SHARP: A Short-Word Hierarchical Accelerator for Robust and Practical Fully Homomorphic EncryptionJongmin Kim, Sangpyo Kim, Jaewan Choi, Jaiyoung Park et al.ISCA 2023 · 110 citations
  3. High-Precision Exact FHE Made Simple, General, and FastChris Peikert, Doron Zarchy, Guy ZyskindCRYPTO 2026 · 8 citations
  4. Homomorphic Encryption for Large Integers from Nested Residue Number SystemsDan Boneh, Jaehyung KimCRYPTO 2025 · 6 citations
  5. Fast Amortized Bootstrapping with Small Keys and Polynomial Noise OverheadAntonio Guimarães, Hilder V. L. PereiraCCS 2025
Dusk over the sea between two cliffs drawn in fine vertical lines