Paper 2018/682

Saber on ARM CCA-secure module lattice-based key encapsulation on ARM

Angshuman Karmakar, Jose Maria Bermudo Mera, Sujoy Sinha Roy, and Ingrid Verbauwhede

Abstract

The CCA-secure lattice-based post-quantum key encapsulation scheme Saber is a candidate in the NIST's post-quantum cryptography standardization process. In this paper, we study the implementation aspects of Saber in resource-constrained microcontrollers from the ARM Cortex-M series which are very popular for realizing IoT applications. In this work, we carefully optimize various parts of Saber for speed and memory. We exploit digital signal processing instructions and efficient memory access for a fast implementation of polynomial multiplication. We also use memory efficient Karatsuba and just-in-time strategy for generating the public matrix of the module lattice to reduce the memory footprint. We also show that our optimizations can be combined with each other seamlessly to provide various speed-memory trade-offs. Our speed optimized software takes just 1,147K, 1,444K, and 1,543K clock cycles on a Cortex-M4 platform for key generation, encapsulation and decapsulation respectively. Our memory efficient software takes 4,786K, 6,328K, and 7,509K clock cycles on an ultra resource-constrained Cortex-M0 platform for key generation, encapsulation, and decapsulation respectively while consuming only 6.2 KB of memory at most. These results show that lattice-based key encapsulation schemes are perfectly practical for securing IoT devices from quantum computing attacks.

Note: Updated with the new repository link.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
A minor revision of an IACR publication in TCHES 2018
Keywords
Key encapsulation schemepost-quantum cryptographylattice-based cryptographyefficient softwareSaber
Contact author(s)
angshuman karmakar @ esat kuleuven be
History
2020-03-05: last of 2 revisions
2018-07-16: received
See all versions
Short URL
https://ia.cr/2018/682
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2018/682,
      author = {Angshuman Karmakar and Jose Maria Bermudo Mera and Sujoy Sinha Roy and Ingrid Verbauwhede},
      title = {Saber on ARM CCA-secure module lattice-based key encapsulation on ARM},
      howpublished = {Cryptology ePrint Archive, Paper 2018/682},
      year = {2018},
      note = {\url{https://eprint.iacr.org/2018/682}},
      url = {https://eprint.iacr.org/2018/682}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.