Paper 2020/836

Assembly or Optimized C for Lightweight Cryptography on RISC-V?

Fabio Campos
Lars Jellema
Mauk Lemmen
Lars Müller
Amber Sprenkels
Benoit Viguier
Abstract

A major challenge when applying cryptography on constrained environments is the trade-off between performance and security. In this work, we analyzed different strategies for the optimization of several candidates of NIST's lightweight cryptography standardization project on a RISC-V architecture. In particular, we studied the general impact of optimizing symmetric-key algorithms in assembly and in plain C. Furthermore, we present optimized implementations, achieving a speed-up of up to 81% over available implementations, and discuss general implementation strategies.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2020/836,
      author = {Fabio Campos and Lars Jellema and Mauk Lemmen and Lars Müller and Amber Sprenkels and Benoit Viguier},
      title = {Assembly or Optimized C for Lightweight Cryptography on RISC-V?},
      howpublished = {Cryptology {ePrint} Archive, Paper 2020/836},
      year = {2020},
      url = {https://eprint.iacr.org/2020/836}
}
Category
Implementation
License
CC BY
Submitted
Updated
Versions

Report a problem

Comments

Log in or create an account

Privacy