Published January 1, 2022 | Version v1
Journal article Open

An Extensive Study of Flexible Design Methods for the Number Theoretic Transform

  • 1. Sabanci Univ, Elect Engn Program, TR-34956 Istanbul, Turkey
  • 2. North Carolina State Univ, Dept Elect & Comp Engn, Raleigh, NC 27606 USA
  • 3. Sabanci Univ, Comp Sci & Engn Program, TR-34956 Istanbul, Turkey

Description

Efficient lattice-based cryptosystems operate with polynomial rings with the Number Theoretic Transform (NTT) to reduce the computational complexity of polynomial multiplication. NTT has therefore become a major arithmetic component (thus computational bottleneck) in various cryptographic constructions like hash functions, key-encapsulation mechanisms, digital signatures, and homomorphic encryption. Although there exist several hardware designs in prior work for NTT, they all are isolated design instances fixed for specific NTT parameters or parallelization level. This article provides an extensive study of flexible design methods for NTT implementation. To that end, we evaluate three cases. (1) parametric hardware design, (2) high-level synthesis (HLS) design approach, and (3) design for software implementation compiled on soft-core processors, where all are targeted on reconfigurable hardware devices. We evaluate the designs that implement multiple NTT parameters and/or processing elements, demonstrate the design details for each case, and provide a fair comparison with each other and prior work. On a Xilinx Virtex-7 FPGA, compared to HLS and processor-based methods, the results show that the parametric hardware design is on average 4.4x and 73.9x smaller and 22.5x and 19.3x faster, respectively. Surprisingly, HLS tools can yield less efficient solutions than processor-based approaches in some cases.

Files

bib-ae2a8591-a0cf-4faf-905e-5f2f0bfa1369.txt

Files (198 Bytes)

Name Size Download all
md5:4410dae1eb22cf7cf55bb11bf99b6401
198 Bytes Preview Download