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 条
  • [11] A Generalized Number-Theoretic Transform for Efficient Multiplication in Lattice Cryptography
    Al Badawi, Ahmad
    Yeo, Sze Ling
    Bin Yusof, Mohd Faizal
    CONTEMPORARY MATHEMATICS, 2024, 5 (04): : 4200 - 4222
  • [12] An efficient and light weight polynomial multiplication for ideal lattice-based cryptography
    Vijay Kumar Yadav
    Shekhar Verma
    S. Venkatesan
    Multimedia Tools and Applications, 2021, 80 : 3089 - 3120
  • [13] An efficient and light weight polynomial multiplication for ideal lattice-based cryptography
    Yadav, Vijay Kumar
    Verma, Shekhar
    Venkatesan, S.
    MULTIMEDIA TOOLS AND APPLICATIONS, 2021, 80 (02) : 3089 - 3120
  • [14] Lattice-Based Cryptography: A Survey
    Wang, Xiaoyun
    Xu, Guangwu
    Yu, Yang
    CHINESE ANNALS OF MATHEMATICS SERIES B, 2023, 44 (06) : 945 - 960
  • [15] Lattice-Based Cryptography:A Survey
    Xiaoyun WANG
    Guangwu XU
    Yang YU
    Chinese Annals of Mathematics,Series B, 2023, (06) : 945 - 960
  • [16] Lattice-Based Cryptography: A Survey
    Xiaoyun Wang
    Guangwu Xu
    Yang Yu
    Chinese Annals of Mathematics, Series B, 2023, 44 : 945 - 960
  • [17] Lattice-Based Timed Cryptography
    Lai, Russell W. F.
    Malavolta, Giulio
    ADVANCES IN CRYPTOLOGY - CRYPTO 2023, PT V, 2023, 14085 : 782 - 804
  • [18] Symbolic Proofs for Lattice-Based Cryptography
    Barthe, Gilles
    Fan, Xiong
    Gancher, Joshua
    Gregoire, Benjamin
    Jacomme, Charlie
    Shi, Elaine
    PROCEEDINGS OF THE 2018 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY (CCS'18), 2018, : 538 - 555
  • [19] Proof of a Shuffle for Lattice-Based Cryptography
    Costa, Nuria
    Martinez, Ramiro
    Morillo, Paz
    SECURE IT SYSTEMS, NORDSEC 2017, 2017, 10674 : 280 - 296
  • [20] Lattice-Based Cryptography, the Picture Way
    Pellet-Mary, Alice
    SECURITY AND CRYPTOGRAPHY FOR NETWORKS, PT I, SCN 2024, 2024, 14973 : XV - XVI