Table of Contents
Fetching ...

Long Polynomial Modular Multiplication using Low-Complexity Number Theoretic Transform

Sin-Wei Chiu, Keshab K. Parhi

TL;DR

The paper targets efficient long polynomial modular multiplication in HE via mapping to negacyclic convolution and DFT concepts, focusing on the ring $R_{n,q} = Z_q[x]/(x^n+1)$. It compares three NTT-based strategies—zero-padded convolution, negative wrapped convolution (NWC), and low-complexity NWC (LC-NWC)—and details pre/post-processing steps, as well as LC-NTT/LC-INTT optimizations to avoid extra reductions. The LC-NWC approach removes the need for zero-padding and reduces multiplier counts, offering substantial hardware efficiency for R-LWE–based HE accelerators. A numerical example with $n=4$, $q=17$ confirms correctness and highlights the practical multiplier savings of NWC and LC-NWC over traditional methods.

Abstract

This tutorial aims to establish connections between polynomial modular multiplication over a ring to circular convolution and discrete Fourier transform (DFT). The main goal is to extend the well-known theory of DFT in signal processing (SP) to other applications involving polynomials in a ring such as homomorphic encryption (HE). HE allows any third party to operate on the encrypted data without decrypting it in advance. Since most HE schemes are constructed from the ring-learning with errors (R-LWE) problem, efficient polynomial modular multiplication implementation becomes critical. Any improvement in the execution of these building blocks would have significant consequences for the global performance of HE. This lecture note describes three approaches to implementing long polynomial modular multiplication using the number theoretic transform (NTT): zero-padded convolution, without zero-padding, also referred to as negative wrapped convolution (NWC), and low-complexity NWC (LC-NWC).

Long Polynomial Modular Multiplication using Low-Complexity Number Theoretic Transform

TL;DR

The paper targets efficient long polynomial modular multiplication in HE via mapping to negacyclic convolution and DFT concepts, focusing on the ring . It compares three NTT-based strategies—zero-padded convolution, negative wrapped convolution (NWC), and low-complexity NWC (LC-NWC)—and details pre/post-processing steps, as well as LC-NTT/LC-INTT optimizations to avoid extra reductions. The LC-NWC approach removes the need for zero-padding and reduces multiplier counts, offering substantial hardware efficiency for R-LWE–based HE accelerators. A numerical example with , confirms correctness and highlights the practical multiplier savings of NWC and LC-NWC over traditional methods.

Abstract

This tutorial aims to establish connections between polynomial modular multiplication over a ring to circular convolution and discrete Fourier transform (DFT). The main goal is to extend the well-known theory of DFT in signal processing (SP) to other applications involving polynomials in a ring such as homomorphic encryption (HE). HE allows any third party to operate on the encrypted data without decrypting it in advance. Since most HE schemes are constructed from the ring-learning with errors (R-LWE) problem, efficient polynomial modular multiplication implementation becomes critical. Any improvement in the execution of these building blocks would have significant consequences for the global performance of HE. This lecture note describes three approaches to implementing long polynomial modular multiplication using the number theoretic transform (NTT): zero-padded convolution, without zero-padding, also referred to as negative wrapped convolution (NWC), and low-complexity NWC (LC-NWC).
Paper Structure (7 sections, 53 equations, 4 figures, 5 tables, 1 algorithm)

This paper contains 7 sections, 53 equations, 4 figures, 5 tables, 1 algorithm.

Figures (4)

  • Figure 1: Block diagrams of modular polynomial multiplication (a) Zero-padded convolution theory. (b) NWC. (c) NWC with low-complexity NTT/INTT.
  • Figure 2: The data flow graph of an 8-point low-complexity negative wrapped convolution.
  • Figure 3: An example of degree 4 modular polynomial multiplication using 8-point convolution.
  • Figure 4: An example of 4-point negative wrapped convolution.