一种SM4掩码方法和抗DPA攻击分析

来源 :密码学报 | 被引量 : 0次 | 上传用户:babycat_hj
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
SM4算法在2012年3月被作为密码行业标准公开以后,已经得到了广泛的应用.但与此同时,由于侧信道攻击的出现及利用,SM4算法在被用于智能卡等密码设备时,也面临着严重威胁.针对差分功耗分析攻击(DPA),虽然已经有部分掩码防御方案提出,但是均是使用有限域上的乘法及求逆运算代替S盒查表法,导致计算量比较大,设计复杂.一些掩码方案由于主要针对S盒变换进行设计,对算法的整体运算覆盖程度不足,也使得SM4算法并未得到全面的防护.本文提出的一种基于S盒查表方法的随机掩码方案,在无需知道和分析SM4算法的S盒的代数结构的情况下,通过对S盒进行一个随机的线性变换,同时结合多路径乘法掩码的特点,达到对算法运行中所有数据掩码的目的,从而抵御DPA攻击.最后本文分别从理论和实际进行攻击实验,得到了针对指定攻击点的具体分析结果.实验结果显示,相比于已有的掩码方案,本文的掩码方法资源消耗少,实现简单方便,代价小,能够有效消除运算时密钥或敏感数据与能量消耗之间的相关性,增强算法的安全性,抵御DPA攻击. The SM4 algorithm has been widely used since it was released as a cryptographic industry standard in March 2012. But at the same time, the SM4 algorithm is also being used in cryptographic equipment such as smart cards due to the emergence and utilization of side-channel attacks Aiming at the differential power analysis attack (DPA), although some mask defense schemes have been proposed, they both use the multiplication and inversion operations on finite fields instead of the S-box look-up table method, resulting in a large amount of computation, The complexity of the design.Some masking schemes are mainly designed for S-box transformation, and the overall arithmetic coverage of the algorithm is not sufficient, so SM4 algorithm is not fully protected.This paper presents a random list based on the S-box look-up method Without any knowledge of and analysis of the algebraic structure of the S-box of the SM4 algorithm, a random linear transformation is performed on the S-box and combined with the characteristics of the multipath multiplication mask, the data scheme of all the data masks In order to resist the DPA attack.Finally, this paper separately from the theoretical and practical attack experiments, obtained the specific analysis results for the specified attack point.Experimental results show that compared to the With some masking schemes, the masking method in this paper has less resource consumption, simple and convenient implementation, small cost, can effectively eliminate the correlation between key or sensitive data and energy consumption during operation, and enhance the security of the algorithm against DPA attacks .
其他文献
“北有烤鸭,南有盐水鸭”,近年来,鸭业不断发展,喜食鸭子的人群也逐渐增多。尤其是北京的烤鸭和南京的盐水鸭在众多鸭子品种中脱颖而出。然而,因其地域的不同使得两者产生较大差异
布谷鸟算法是受布谷鸟借窝生蛋繁衍习性启发的一类仿生优化算法。作为群智能算法的分支,布谷鸟算法具有自组织性、并行性好、全局搜索能力强、易与其它算法融合等优点,被广泛地用于科研和工程领域的复杂优化问题。本文在前人的研究基础上,对布谷鸟算法进行研究和改进,并将其用于求解具有工程实际背景的优化问题。本文的主要工作如下:(1)提出了一种改进自适应布谷鸟算法。该算法从参数控制角度出发,采用了对数型自适应步长,
目的:本课题研究依据温病学“伏气学说”及络病学“毒伏肝络”理论,组方参杖颗粒,功效益气养阴、清热化湿解毒、活血通络。在前期研究揭示该方抗肝纤维化机制与调控肝星状细胞(He
新课改对中学物理教学起了积极促进的作用,不同教学方法在不断地拓展和深化中。物理教学中常利用各种材料为背景创设情境进行教学,培养学生解决问题能力,同时激发学生的求知
本文对GJB546B-2011《电子元器件质量保证大纲》中“4.8生产过程控制文件”条款的管理要求,从生产过程控制“5M1E”六个方面归纳整理后,详细说明电子元器件贯国军标生产线生
目的自体骨髓干细胞移植是将外周血或骨髓中的干细胞移植到缺血的肢体肌肉或闭塞的血管中,使其分化、形成新生毛细血管,改善甚至恢复下肢血流以达到治疗下肢缺血的目的。如何
环境对于经济发展的重要性,已为越来越多的人所认识。在强调可持续和协调发展的今天,对任何一个国家、一个地区而言,环境都是最主要的经营成本。其中,像资源、区位、生态、基
现实的人是交往的人。人们交往的目的性与规律性的统一构成交往的基本结构,而交往活动又是人们交往目的、手段和结果的统一。
全面推行项目支出预算绩效管理是我国公共财政支出管理改革的又一重要举措。决定高校是否获得项目立项和财政资金支持,取决于项目支出绩效目标申报的质量,而这又主要取决于项