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 条
  • [21] Power Analysis Attacks for Lattice-Based Cryptography
    Li Y.-B.
    Zhu J.-J.
    Tang M.
    Zhang H.-G.
    Jisuanji Xuebao/Chinese Journal of Computers, 2023, 46 (02): : 331 - 352
  • [22] Improved Plantard Arithmetic for Lattice-based Cryptography
    Huang J.
    Zhang J.
    Zhao H.
    Liu Z.
    Cheung R.C.C.
    Koç Ç.K.
    Chen D.
    IACR Transactions on Cryptographic Hardware and Embedded Systems, 2022, 2022 (04): : 614 - 636
  • [23] Some Recent Progress in Lattice-Based Cryptography
    Peikert, Chris
    THEORY OF CRYPTOGRAPHY, 6TH THEORY OF CRYPTOGRAPHY CONFERENCE, TCC 2009, 2009, 5444 : 72 - 72
  • [24] Preface to special topic on lattice-based cryptography
    Yu Yu
    National Science Review, 2021, 8 (09) : 6 - 6
  • [25] Practical Lattice-Based Cryptography: NTRUEncrypt and NTRUSign
    Hoffstein, Jeff
    Howgrave-Graham, Nick
    Pipher, Jill
    Whyte, William
    LLL ALGORITHM: SURVEY AND APPLICATIONS, 2010, : 349 - 390
  • [26] Improvement of Lattice-Based Cryptography Using CRT
    Plantard, Thomas
    Rose, Mike
    Susilo, Willy
    QUANTUM COMMUNICATION AND QUANTUM NETWORKING, 2010, 36 : 275 - 282
  • [27] Preface to special topic on lattice-based cryptography
    Yu, Yu
    NATIONAL SCIENCE REVIEW, 2021, 8 (09)
  • [28] Performance Characterization of Lattice-based Cryptography Workloads
    Natarajan, Deepika
    Dreslinski, Ronald G.
    2020 IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE (ISPASS), 2020, : 220 - 222
  • [29] Exploiting the Central Reduction in Lattice-Based Cryptography
    Tosun, Tolun
    Moradi, Amir
    Savas, Erkay
    IEEE ACCESS, 2024, 12 : 166814 - 166833
  • [30] High-Performance Ideal Lattice-Based Cryptography on 8-Bit ATxmega Microcontrollers
    Poeppelmann, Thomas
    Oder, Tobias
    Gueneysu, Tim
    PROGRESS IN CRYPTOLOGY - LATINCRYPT 2015, 2015, 9230 : 346 - 365