Speeding up the Number Theoretic Transform for Faster Ideal Lattice-Based Cryptography

被引:132
|
作者
Longa, Patrick [1 ]
Naehrig, Michael [1 ]
机构
[1] Microsoft Res, Redmond, WA 98052 USA
来源
关键词
Post-quantum cryptography; Number Theoretic Transform (NTT); Ring Learning With Errors (R-LWE); Fast modular reduction; Efficient implementation;
D O I
10.1007/978-3-319-48965-0_8
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The Number Theoretic Transform (NTT) provides efficient algorithms for cyclic and nega-cyclic convolutions, which have many applications in computer arithmetic, e.g., for multiplying large integers and large degree polynomials. It is commonly used in cryptographic schemes that are based on the hardness of the Ring Learning With Errors (R-LWE) problem to efficiently implement modular polynomial multiplication. We present a new modular reduction technique that is tailored for the special moduli required by the NTT. Based on this reduction, we speed up the NTT and propose faster, multi-purpose algorithms. We present two implementations of these algorithms: a portable C implementation and a high-speed implementation using assembly with AVX2 instructions. To demonstrate the improved efficiency in an application example, we benchmarked the algorithms in the context of the R-LWE key exchange protocol that has recently been proposed by Alkim, Ducas, Poppelmann and Schwabe. In this case, our C and assembly implementations compute the full key exchange 1.44 and 1.21 times faster, respectively. These results are achieved with full protection against timing attacks.
引用
收藏
页码:124 / 139
页数:16
相关论文
共 50 条
  • [1] Towards Ideal Lattice-Based Cryptography on ASIC: A Custom Implementation of Number Theoretic Transform
    Truong Phu Truan Ho
    Chip-Hong Chang
    2018 IEEE 23RD INTERNATIONAL CONFERENCE ON DIGITAL SIGNAL PROCESSING (DSP), 2018,
  • [2] Performance Analysis of Number Theoretic Transform for Lattice-Based Cryptography
    Mohsen, Ayman W.
    Sobh, Mohamed A.
    Bahaa-Eldin, Ayman M.
    PROCEEDINGS OF 2018 13TH INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND SYSTEMS (ICCES), 2018, : 442 - 447
  • [3] Configurable Mixed-Radix Number Theoretic Transform Architecture for Lattice-Based Cryptography
    Phap Duong-Ngoc
    Lee, Hanho
    IEEE ACCESS, 2022, 10 : 12732 - 12741
  • [4] Reconfigurable Hardware Design of Multi-lanes Number Theoretic Transform for Lattice-based Cryptography
    Liu, Dongshen
    Zhao, Wending
    Liu, Zilong
    Zhang, Cong
    Liu, Xingjie
    JOURNAL OF ELECTRONICS & INFORMATION TECHNOLOGY, 2022, 44 (02) : 566 - 572
  • [5] Faster Implementation of Ideal Lattice-Based Cryptography Using AVX512
    Lei, Douwei
    He, Debiao
    Peng, Cong
    Luo, Min
    Liu, Zhe
    Huang, Xinyi
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2023, 22 (05)
  • [6] Efficient implementation of ideal lattice-based cryptography
    Pöppelmann T.
    IT - Information Technology, 2017, 59 (06): : 305 - 309
  • [7] Memory Saving Architecture of Number Theoretic Transform for Lattice Cryptography
    Moon, Sangook
    INTERNATIONAL JOURNAL OF SECURITY AND ITS APPLICATIONS, 2016, 10 (09): : 9 - 18
  • [8] Number Theoretic Transform Architecture suitable to Lattice-based Fully-Homomorphic Encryption
    Paludo, Rogerio
    Sousa, Leonel
    2021 IEEE 32ND INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS (ASAP 2021), 2021, : 163 - 170
  • [9] Lattice-based cryptography
    Regev, Oded
    ADVANCES IN CRYPTOLOGY - CRYPTO 2006, PROCEEDINGS, 2006, 4117 : 131 - 141
  • [10] Lattice-based Cryptography
    Mohsen, Ayman Wagih
    Bahaa-Eldin, Ayman M.
    Sobh, Mohamed Ali
    2017 12TH INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND SYSTEMS (ICCES), 2017, : 462 - 467