应用科学学报 ›› 2019, Vol. 37 ›› Issue (2): 203-212.doi: 10.3969/j.issn.0255-8297.2019.02.005

• 区块链 • 上一篇    下一篇

区块链的椭圆曲线密码算法侧信道安全分析

万武南1, 陈豪1, 陈俊2, 张仕斌1   

  1. 1. 成都信息工程大学网络空间安全学院, 成都 610225;
    2. 成都信息工程大学计算机学院, 成都 610225
  • 收稿日期:2018-12-14 修回日期:2018-12-28 出版日期:2019-03-31 发布日期:2019-03-31
  • 作者简介:万武南,副教授,研究方向:区块链、侧信道攻击,E-mail:nan_wwn@cuit.edu.cn
  • 基金资助:
    国家重点研发计划(No.2017YFB0802302);四川省科技厅重点研发(No.2017GZ0314,No.2018TJPT0012);四川省高校科研创新团队项目(No.17TD0009);成都市科技惠民项目(No.2016-HM01-00217-SF);成都市科技计划项目(No.2017-RK00-00103-ZF)资助

Side Channel Security Analysis of Elliptic Curve Cryptography of Blockchain

WAN Wu-nan1, CHEN Hao1, CHEN Jun2, ZHANG Shi-bin1   

  1. 1. School of Cybersecurity, Chengdu University of Information Technology, Chengdu 610225, China;
    2. School of Computer, Chengdu University of Information Technology, Chengdu 610225, China
  • Received:2018-12-14 Revised:2018-12-28 Online:2019-03-31 Published:2019-03-31

摘要: 区块链是一种全新的去中心化的分布式计算技术,它利用密码技术保障区块链数据的完整性、匿名性、隐私和不可篡改性,而区块链共识机制的计算效率成为阻碍其发展瓶颈之一,因此区块链硬件化成为趋势.然而,侧信道攻击已成为密码硬件设备主要攻击手段之一,区块链硬件设备将存在侧信道攻击安全威胁.该文针对区块链技术中采用的椭圆曲线密码算法,探讨椭圆曲线标量乘中倍点和倍加运算原子级实现算法,提出了标量乘原子操作运算的功耗特征模型;通过功耗特征模型提出了一种实用的SPA攻击方法,采集一条标量乘功耗曲线可破解密钥;然后从原子级运算操作入手,分析倍点和倍加产生功耗差异本质原因,通过对倍点和倍加运算增加空操作,给出了原子操作级的等功耗防御方案,为区块链硬件设备提供抗侧信道攻击的安全密码技术;最后对未来研究进行了展望.

关键词: 简单功耗分析, 标量乘, 区块链, 椭圆曲线密码, 侧信道攻击

Abstract: Blockchain is an emerging distributed computing technology of de-centralization that uses cryptography to ensure integrity, anonymity, privacy and immutability, and the computational effciency of consensus mechanism has become one of the bottlenecks of hindering its development, so the hardware devices of the blockchain have emerged. However, the side channel attack has become one of the main attack means of cryptographic hardware devices, and the hardware devices of the blockchain will face side channel attacks. The power feature model of atomic operations is proposed by exploring the implementation of point doubling and addition operations at atomic level in scalar multiplication. The practical SPA method is presented with the power feature model and the private key can be cracked with a power trace. Next, the paper analyzes the major cause of power difference between point doubling and addition operations from atomic operations, and the countermeasure of equivalent power consumption at atomic level is given by adding empty operations in point doubling and addition operations. This is given to secure cryptography technology against side channel attacks for hardware devices of blockchain. Finally, the research results are summarized and a perspective of the future work in this research area is discussed in this paper.

Key words: blockchain, elliptic curve cryptography, side channel attack, simple power analysis, scalar multiplication

中图分类号: