Software Optimizations of NTRUEncrypt for Modern Processor Architectures

被引:2
|
作者
Gueron, Shay [1 ,2 ]
Schlieker, Fabian [3 ]
机构
[1] Univ Haifa, Dept Math, Haifa, Israel
[2] Intel Corp, Israel Dev Ctr, Haifa, Israel
[3] Ruhr Univ Bochum, Horst Gortz Inst IT Secur, Bochum, Germany
来源
关键词
NTRU; NTRUEncrypt; Post-quantum public-key encryption; Software optimization; AVX2; AVX512; AES-NI;
D O I
10.1007/978-3-319-32467-8_18
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
This paper describes software optimizations for the post-quantum public-key encryption scheme NTRUEncrypt. We build upon the, to the best of our knowledge, fastest open-source NTRUEncrypt library and optimize it by taking advantage of AVX2 and AVX512 SIMD instructions as well as the AES-NI built-in encryption functions. We show that, on modern processors, using AVX2 yields performance gains of 23% for encryption and 37% for the decryption operation. For the future AVX512 we use a publicly available emulator, since no supporting processor is on the market yet, and report that for the decryption only about half of the instructions compared to the current code are needed to be executed. Furthermore, we propose replacing the SHA hash functions by pipelined AES-NI for faster randomness generation. With both optimizations enabled, we achieve performance improvements of 1.82x for encryption and 1.74x for decryption with a parameter set that provides 256 bits of security.
引用
收藏
页码:189 / 199
页数:11
相关论文
共 50 条
  • [1] Branchless Code Generation for Modern Processor Architectures
    Angelou, Alexandros
    Dadaliaris, Antonios
    Dimitriou, Georgios
    Dossis, Michael
    25TH PAN-HELLENIC CONFERENCE ON INFORMATICS WITH INTERNATIONAL PARTICIPATION (PCI2021), 2021, : 300 - 305
  • [2] Space and execution efficient formats for modern processor architectures
    Simecek, I.
    Langr, D.
    2015 17TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING (SYNASC), 2016, : 98 - 105
  • [3] Algorithm, software, and hardware optimizations for Delaunay mesh generation on simultaneous multithreaded architectures
    Antonopoulos, Christos D.
    Blagojevic, Filip
    Chernikov, Andrey N.
    Chrisochoides, Nikos P.
    Nikolopoulos, Dimitrios S.
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2009, 69 (07) : 601 - 612
  • [4] Main-Memory Hash Joins on Modern Processor Architectures
    Balkesen, Cagri
    Teubner, Jens
    Alonso, Gustavo
    Oezsu, M. Tamer
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2015, 27 (07) : 1754 - 1766
  • [5] Efficient Multicriteria Protein Structure Comparison on Modern Processor Architectures
    Sharma, Anuj
    Manolakos, Elias S.
    BIOMED RESEARCH INTERNATIONAL, 2015, 2015
  • [6] An optimal abstraction model for hardware multithreading in modern processor architectures
    Madajczak, T
    INTERNATIONAL CONFERENCE ON PARALLEL COMPUTING IN ELECTRICAL ENGINEERING, 2004, : 71 - 76
  • [7] Construction of GCCFG for Inter-procedural Optimizations in Software Managed Manycore (SMM) Architectures
    Holton, Bryce
    Bai, Ke
    Shrivastava, Aviral
    Ramaprasad, Harini
    2014 INTERNATIONAL CONFERENCE ON COMPILERS, ARCHITECTURE AND SYNTHESIS FOR EMBEDDED SYSTEMS (CASES), 2014,
  • [8] Securing Modern Network Architectures with Software Defined Networking
    Nowakowski, Piotr
    Zorawski, Piotr
    Cabaj, Krzysztof
    Mazurczyk, Wojciech
    2019 6TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND COMPUTATIONAL INTELLIGENCE (CSCI 2019), 2019, : 235 - 238
  • [9] Modern software tools of new computing architectures development
    Yu, Drozdov A.
    Novikov, S. V.
    Vladislavlev, V. E.
    Yu, N. Fonin
    2014 INTERNATIONAL CONFERENCE ON ENGINEERING AND TELECOMMUNICATION (EN&T 2014), 2014, : 72 - 76
  • [10] Data partitioning and optimizations for reconfigurable architectures
    Gong, WR
    Meng, Y
    Wang, G
    Kastner, R
    Sherwood, T
    ERSA'05: Proceedings of the 2005 International Conference on Engineering of Reconfigurable Systems and Algorithms, 2005, : 239 - 242