Fraunhofer-Gesellschaft

Publica

Hier finden Sie wissenschaftliche Publikationen aus den Fraunhofer-Instituten.

Cortex-M4 Optimizations for {R, M}LWE Schemes

 
: Alkim, Erdem; Bilgin, Yusuf Alper; Cenk, Murat; Gérard, François

:
Volltext ()

IACR transactions on cryptographic hardware and embedded systems (2020), Nr.3, S.336-357
ISSN: 2569-2925
Englisch
Zeitschriftenaufsatz, Elektronische Publikation
Fraunhofer SIT ()
ARM Cortex-M4; post-quantum key encapsulation; lattice-based cryptography; RLWE; LWE; NTT; Kyber; NewHope; NewHope-Compact

Abstract
This paper proposes various optimizations for lattice-based key encapsulation mechanisms (KEM) using the Number Theoretic Transform (NTT) on the popular ARM Cortex-M4 microcontroller. Improvements come in the form of a faster code using more efficient modular reductions, optimized small-degree polynomial multiplications, and more aggressive layer merging in the NTT, but also in the form of reduced stack usage. We test our optimizations in software implementations of Kyber and NewHope, both round 2 candidates in the NIST post-quantum project, and also NewHope-Compact, a recently proposed variant of NewHope with smaller parameters. Our software is the first implementation of NewHope-Compact on theCortex-M4 and shows speed improvements over previous high-speed implementations of Kyber and NewHope. Moreover, it gives a common framework to compare those schemes with the same level of optimization. Our results show that NewHope-Compact is the fastest scheme, followed by Kyber, and finally NewHope, which seems to suffer from its large modulus and error distribution for small dimensions.

: http://publica.fraunhofer.de/dokumente/N-593508.html