License: Creative Commons Attribution 4.0 International license (CC BY 4.0)
When quoting this document, please refer to the following
DOI: 10.4230/OASIcs.PARMA-DITAM.2023.3
URN: urn:nbn:de:0030-drops-177232
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2023/17723/
Barchi, Francesco ;
Pasini, Giacomo ;
Parisi, Emanuele ;
Tagliavini, Giuseppe ;
Bartolini, Andrea ;
Acquaviva, Andrea
RUST-Encoded Stream Ciphers on a RISC-V Parallel Ultra-Low-Power Processor (Invited Paper)
Abstract
Nowadays, the development of security applications is a relevant topic in the Internet of Things (IoT) and cyber-physical systems (CPS) fields. Different embedded architectures have been adopted in these areas, but the RISC-V parallel ultra-low-power (PULP) architecture stands out as a particularly efficient system. However, it has never been proposed to enable cryptography. In the context of video stream security, stream ciphers enable an efficient solution to ensure data privacy, and the exploitation of the PULP multi-core accelerator cluster paves the way to an efficient implementation of these ciphers. In this paper, we exploit the capability of the PULP architecture coupled with the code safety provided by the RUST programming language to design and implement an efficient stream encryption algorithm. We present a wrapper system between the development libraries of a PULP platform enabling the secure execution of a verified RUST-written implementation of ChaCha20 and AES-CTR, targeting a microdrones based video surveillance system. Experimental tests have resulted in an encryption efficiency of ChaCha20 of 2.3 cycles per Byte (cB), placing the resulting implementation at the state-of-the-art, in direct competition with higher-class architectures like Apple M1 (2.0 cB).
BibTeX - Entry
@InProceedings{barchi_et_al:OASIcs.PARMA-DITAM.2023.3,
author = {Barchi, Francesco and Pasini, Giacomo and Parisi, Emanuele and Tagliavini, Giuseppe and Bartolini, Andrea and Acquaviva, Andrea},
title = {{RUST-Encoded Stream Ciphers on a RISC-V Parallel Ultra-Low-Power Processor}},
booktitle = {14th Workshop on Parallel Programming and Run-Time Management Techniques for Many-Core Architectures and 12th Workshop on Design Tools and Architectures for Multicore Embedded Computing Platforms (PARMA-DITAM 2023)},
pages = {3:1--3:12},
series = {Open Access Series in Informatics (OASIcs)},
ISBN = {978-3-95977-269-3},
ISSN = {2190-6807},
year = {2023},
volume = {107},
editor = {Bispo, Jo\~{a}o and Charles, Henri-Pierre and Cherubin, Stefano and Massari, Giuseppe},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/opus/volltexte/2023/17723},
URN = {urn:nbn:de:0030-drops-177232},
doi = {10.4230/OASIcs.PARMA-DITAM.2023.3},
annote = {Keywords: Parallel Low-Power Embedded Systems, Rust, RISC-V, Stream Cipher}
}
Keywords: |
|
Parallel Low-Power Embedded Systems, Rust, RISC-V, Stream Cipher |
Collection: |
|
14th Workshop on Parallel Programming and Run-Time Management Techniques for Many-Core Architectures and 12th Workshop on Design Tools and Architectures for Multicore Embedded Computing Platforms (PARMA-DITAM 2023) |
Issue Date: |
|
2023 |
Date of publication: |
|
13.03.2023 |