Efficient implementation of eSTREAM ciphers on 8-bit AVR microcontrollers

Gordon Meiser, T. Eisenbarth, Kerstin Lemke-Rust, C. Paar
{"title":"Efficient implementation of eSTREAM ciphers on 8-bit AVR microcontrollers","authors":"Gordon Meiser, T. Eisenbarth, Kerstin Lemke-Rust, C. Paar","doi":"10.1109/SIES.2008.4577681","DOIUrl":null,"url":null,"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.","PeriodicalId":438401,"journal":{"name":"2008 International Symposium on Industrial Embedded Systems","volume":"21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"52","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2008 International Symposium on Industrial Embedded Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SIES.2008.4577681","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 52

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
eSTREAM密码在8位AVR微控制器上的高效实现
这项工作的动机是eSTREAM项目(Profile I)中高效的现代流密码如何在小型嵌入式微控制器上实现,这些微控制器也受内存资源的限制。为了回答这个问题,我们提出了Dragon, HC-128, LEX, Salsa20, Salsa20/12和Sosemanuk在8位微控制器上的第一个实现结果。这些密码绝对可以免费使用,也就是说,它们的使用不受知识产权的保护。对于评估过程,我们遵循两阶段方法,并与AES分组密码的有效实现进行比较。首先,将密码设计人员提供的C代码实现移植到8位AVR微控制器上,并评估了这些流密码在嵌入式系统中的适用性。在第二阶段,我们用汇编器实现了Dragon、LEX、Salsa20、Salsa20/12和Sosemanuk,以挖掘嵌入式实现的全部潜力。我们的效率指标是闪存和SRAM中的内存使用以及密钥流生成、密钥设置和IV设置的性能。关于加密速度,除Salsa20外,所有流密码都优于AES。在内存需求方面,Salsa20、Salsa20/12和LEX几乎和AES一样紧凑。鉴于最终的eSTREAM产品组合(配置文件I), Salsa20/12是内存受限的8位嵌入式微控制器上AES密码的唯一有前途的替代方案。对于具有高吞吐量要求的嵌入式应用程序,如果可以容忍相当高的内存需求,那么Sosemanuk是最合适的密码。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Challenges in embedded model checking — a simulator for the [mc]square model checker Efficient implementation of eSTREAM ciphers on 8-bit AVR microcontrollers Software component diagnosis service: architecture description Infrastructure for web-based administration of embedded systems Verifying programmable logic controllers with abstraction
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1