You are looking at a specific version 20190715:140432 of this paper. See the latest version.

Paper 2019/794

Efficient Cryptography on the RISC-V Architecture

Ko Stoffelen

Abstract

RISC-V is a promising free and open-source instruction set architecture. Most of the instruction set has been standardized and several hardware implementations are commercially available. In this paper we highlight features of RISC-V that are interesting for optimizing implementations of cryptographic primitives. We provide the first optimized assembly implementations of table-based AES, bitsliced AES, ChaCha, and the Keccak-$f$[1600] permutation for the RV32I instruction set. With respect to public-key cryptography, we study the performance of arbitrary-precision integer arithmetic without a carry flag. We then estimate the improvement that can be gained by several RISC-V extensions. These performance studies also serve to aid design choices for future RISC-V extensions and implementations.

Note: Fixed a wrong number in the HiFive1 specs

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Published elsewhere. Latincrypt 2019
Keywords
RISC-VAESChaChaKeccakarbitrary-precision arithmeticsoftware optimization
Contact author(s)
k stoffelen @ cs ru nl
History
2019-07-15: revised
2019-07-14: received
See all versions
Short URL
https://ia.cr/2019/794
License
Creative Commons Attribution
CC BY
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.