Paper 2018/686

Standard Lattice-Based Key Encapsulation on Embedded Devices

James Howe, Tobias Oder, Markus Krausz, and Tim Güneysu

Abstract

Lattice-based cryptography is one of the most promising candidates being considered to replace current public-key systems in the era of quantum computing. In 2016, Bos et al. proposed the key exchange scheme FrodoCCS, that is also a submission to the NIST post-quantum standardization process, modified as a key encapsulation mechanism (FrodoKEM). The security of the scheme is based on standard lattices and the learning with errors problem. Due to the large parameters, standard lattice-based schemes have long been considered impractical on embedded devices. The FrodoKEM proposal actually comes with parameters that bring standard lattice-based cryptography within reach of being feasible on constrained devices. In this work, we take the final step of efficiently implementing the scheme on a low-cost FPGA and microcontroller devices and thus making conservative post-quantum cryptography practical on small devices. Our FPGA implementation of the decapsulation (the computationally most expensive operation) needs 7,220 look-up tables (LUTs), 3,549 flip-flops (FFs), a single DSP, and only 16 block RAM modules. The maximum clock frequency is 162 MHz and it takes 20.7 ms for the execution of the decapsulation. Our microcontroller implementation has a 66% reduced peak stack usage in comparison to the reference implementation and needs 266 ms for key pair generation, 284 ms for encapsulation, and 286 ms for encapsulation. Our results contribute to the practical evaluation of a post-quantum standardization candidate.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Published by the IACR in TCHES 2018
Keywords
Post-quantum cryptographystandard latticesFrodoKEMFPGAmicrocontrollerembedded securityhardware security
Contact author(s)
tobias oder @ rub de
History
2018-11-19: revised
2018-07-17: received
See all versions
Short URL
https://ia.cr/2018/686
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2018/686,
      author = {James Howe and Tobias Oder and Markus Krausz and Tim Güneysu},
      title = {Standard Lattice-Based Key Encapsulation on Embedded Devices},
      howpublished = {Cryptology ePrint Archive, Paper 2018/686},
      year = {2018},
      note = {\url{https://eprint.iacr.org/2018/686}},
      url = {https://eprint.iacr.org/2018/686}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.