Efficient implementation of eSTREAM ciphers on 8-bit AVR microcontrollers

Gordon Meiser, Thomas Eisenbarth, Kerstin Lemke-Rust, Christof Paar

Abstract

This work is motivated by the question of how efficient modern stream ciphers in the eSTREAM project (Profile I) can be implemented on small embedded microcontrollers that are also constrained in memory resources. In response to this question, we present the first implementation results for Dragon, HC-128, LEX, Salsa20, Salsa20/12, and Sosemanuk on 8-bit microcontrollers. These ciphers are definitively free for any use, i.e., their use is not covered by intellectual property rights. For the evaluation process, we follow a two-stage approach and compare with efficient implementations of the AES block cipher. First, the C code implementation provided by the cipherspsila designers was ported to an 8-bit AVR microcontroller and the suitability of these stream ciphers for the use in embedded systems was assessed. In the second stage we implemented Dragon, LEX, Salsa20, Salsa20/12, and Sosemanuk in assembler to tap the full potential of an embedded implementation. Our efficiency metrics are memory usage in flash and SRAM and performance of keystream generation, key setup, and IV setup. Regarding encryption speed, all stream ciphers except for Salsa20 turned out to outperform AES. In terms of memory needs, Salsa20, Salsa20/12, and LEX are almost as compact as AES. In view of the final eSTREAM portfolio (Profile I), Salsa20/12 is the only promising alternative for the AES cipher on memory constrained 8-bit embedded microcontrollers. For embedded applications with high throughput requirements, Sosemanuk is the most suitable cipher if its considerable higher memory needs can be tolerated.
Original languageEnglish
Title of host publication2008 International Symposium on Industrial Embedded Systems
Number of pages9
PublisherIEEE
Publication date25.07.2008
Pages58-66
ISBN (Print)978-1-4244-1994-4
ISBN (Electronic)978-1-4244-1995-1
DOIs
Publication statusPublished - 25.07.2008
Event2008 International Symposium on Industrial Embedded Systems - Le Grande Motte, France
Duration: 11.07.200813.07.2008

Fingerprint

Dive into the research topics of 'Efficient implementation of eSTREAM ciphers on 8-bit AVR microcontrollers'. Together they form a unique fingerprint.

Cite this