期刊文献+

基于Cortex-M4内核的AES-128-CTR算法汇编优化 被引量:1

Assembly optimization of an AES-128-CTR algorithm based on a Cortex-M4 core
下载PDF
导出
摘要 随着物联网的快速发展,嵌入式硬件产品在保障数据安全方面面临极大挑战.AES(Advanced Encryption Standard)算法在数据加解密领域具有抗攻击性强、运算速度大以及分组长度灵活等优点.由于嵌入式微控制器不具有针对AES加密的扩展指令集,因此该算法的运行速度在微控制器平台上的表现远不如通用CPU(Central Processing Unit).为了解决这个问题,在基于Cortex-M4内核指令集的微控制器平台上,使用汇编语言提高了AES算法在CTR(Counter)模式下的运行速度.结合该内核特有的桶形移位器和三级流水线等特点优化算法的轮变换,缩减算法运行时所需的指令周期数.在FRDM-K82F开发板上的测试表明,该优化算法的运行效率高于C语言实现代码的运行效率,同时比基于协处理器所实现的硬件AES加密在成本和功耗方面更具有优势. With the rapid development of the Internet of Things,embedded hardware products face great challenges in data security.The AES(Advanced Encryption Standard)algorithm has the advantages of strong attack resistance,fast operation speed and flexible block length in the field of data encryption and decryption.The speed of this algorithm on microcontroller platforms is far inferior to general-purpose CPUs(Central Processing Units)which have an extended instruction set for AES encryption.To solve this problem,a speed optimized AES algorithm in CTR(Counter)mode based on the Cortex-M4 core instruction set is implemented using assembly language.The kernel’s unique barrel shifter and three-stage pipeline are used to optimize the round transformation of the algorithm,and the number of instruction cycles is reduced.Testing on an FRDM-K82F development board shows that the assembly optimization of the algorithm is substantially more efficient than the code implemented using the C language,and it offers more advantages in both cost and power consumption compared to hardware encryption based on the coprocessor.
作者 杨东轩 张刚刚 刘新亮 YANG Dongxuan;ZHANG Ganggang;LIU Xinliang(School of E-commerce and Logistics,Beijing Technology and Business University,Beijing 100048,China;Digital Campus,Capital Normal University,Beijing 100048,China)
出处 《华东师范大学学报(自然科学版)》 CAS CSCD 北大核心 2022年第4期67-78,共12页 Journal of East China Normal University(Natural Science)
基金 国家重点研发计划子课题(2016YFD0401205) 北京市自然科学基金(4202014) 北京市科学技术委员会计划项目(Z191100008619007)。
关键词 汇编优化 AES CORTEX-M4 assembly optimization AES Cortex-M4
  • 相关文献

参考文献10

二级参考文献63

  • 1胡亮,袁巍,于孟涛,初剑峰,刘方.单向性策略与AES密钥生成算法的改进[J].吉林大学学报(工学版),2009,39(1):137-142. 被引量:11
  • 2陈作新,刘鸿雁.Rijndael的一种改进算法及其实现研究[J].计算机工程与应用,2004,40(28):78-80. 被引量:5
  • 3曾毅,鲁欣,付宇卓.一种优化可配置的AES密码算法硬件实现[J].微电子学与计算机,2004,21(12):34-37. 被引量:4
  • 4William Stalings.网络安全基础[M].白国强,译.北京:清华大学出版社,2007.
  • 5Announcing the Advanced Encryption Atandard (AES) : Federal Information Processing Standards FIPS 197 [ EB/OL]. [ 2010 - 09 - 01]. http://csrc, hist. gov/publications/fips/fips197/fips - 197. pdf.
  • 6DAEMEN J, RIJMEN V. AES proposal: Rijndael[EB/OL].[2010 -04 -20]. http://csrc, nist. gov/archive/aes/rijndael/ Rijndael- ammended, pdf.
  • 7SATOH A, MORIOKA S, TAKANO K, et al. A compact Rijndael hardware architecture with S-box optimization [ C ]// ASIACRYPT'01 : Proceedings of the 7th International Conference on the Theory and Application of Cryptology and Information Security: Advances in Cryptology, LNCS 2248. London: Springer-Verlag, 2001 : 239 - 254.
  • 8SubBytes transform circuit for AES cipher ( Version 1.0) [ EB/OL]. [2010 - 04 - 20]. http://www, ie. u-ryukyu, ac. jp/- wada/design04/spec_e, html.
  • 9S3C2440A Data sheet [ EB/OL]. [ 2010 -09 -01 ]. http://cn, all- data.sheet, eom/datasheet-pdf/pdtY83787/SAMSUNG/S3C2440, html. 9 - 50.
  • 10ARM Ltd. Website[ EB/OL]. [2010 -09 -01]. http://www, arm. com.

共引文献98

同被引文献8

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部