Paper 2020/836
Assembly or Optimized C for Lightweight Cryptography on RISC-V?
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.
Note: This version of the contribution has been accepted for publication, after peer review (when applicable) but is not the Version of Record and does not reflect post-acceptance improvements, or any corrections. The Version of Record is available online at: https://dx.doi.org/10.1007/978-3-030-65411-5_26. Use of this Accepted Version is subject to the publisher’s Accepted Manuscript terms of use https://www.springernature.com/gp/open-research/policies/accepted-manuscript-terms
Metadata
- Available format(s)
- Category
- Implementation
- Publication info
- Published elsewhere. CANS 2020: Cryptology and Network Security
- DOI
- 10.1007/978-3-030-65411-5_26
- Keywords
- implementation RISC-V lightweight cryptography software optimization NIST
- Contact author(s)
-
campos @ sopmac de
lars jellema @ gmail com
M Lemmen @ student ru nl
mail @ lars-mueller com
amber @ electricdusk com
b viguier @ cs ru nl - History
- 2022-12-16: revised
- 2020-07-12: received
- See all versions
- Short URL
- https://ia.cr/2020/836
- License
-
CC BY
BibTeX
@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}, doi = {10.1007/978-3-030-65411-5_26}, url = {https://eprint.iacr.org/2020/836} }