首页> 外国专利> METHOD SECURED AGAINST SIDE-CHANNEL ATTACKS PERFORMING AN ARITHMETIC OPERATION OF A CRYPTOGRAPHIC ALGORITHM MIXING BOOLEAN AND ARITHMETIC OPERATIONS

METHOD SECURED AGAINST SIDE-CHANNEL ATTACKS PERFORMING AN ARITHMETIC OPERATION OF A CRYPTOGRAPHIC ALGORITHM MIXING BOOLEAN AND ARITHMETIC OPERATIONS

机译:用于防止侧信道攻击的方法执行加密算法的算术运算混合布尔和算术运算

摘要

The present invention relates to a method secured against side channel attacks performing an arithmetic operation of a cryptographic algorithm mixing Boolean and arithmetic operations, wherein said method is performed by a cryptographic device comprising a processing system having at least one hardware processor, and said operation has a first value (x) and a second value (y) as operands, comprising:—obtaining (S1) a first masked value (x′), a second masked value (y′), a first Boolean mask (rx), a second Boolean mask (ry), said first masked value (x′) resulting from masking said first value (x) by said first Boolean mask (rx) by performing a Boolean exclusive OR (XOR) operation between said first value (x) and said first Boolean mask (rx), and said second masked value (y′) resulting from masking said second value (y) by said second Boolean mask (ry) by performing a Boolean exclusive OR (XOR) operation between said second value (y) and said second Boolean mask (ry),—performing (S2) in any order a plurality of computing steps combining values among said first masked value (x′), said second masked value (y′), said first Boolean mask (rx) and said second Boolean mask (ry) to obtain a boolean masked result equal to the result of the arithmetic operation having said first value (x) and said second value (y) as operands, masked by a third boolean mask (rx xor ry) resulting from performing said Boolean exclusive OR (XOR) operation between said first Boolean mask (rx) and said second Boolean mask (ry) ((x+y) xor (rx xor ry)), wherein said computing steps perform Boolean exclusive OR (XOR) operations or arithmetic operations between said values without disclosing any information relative to the first and second values and, wherein said computing steps are executed by the hardware processor by performing a constant number of elementary operations whatever the bit-size of said first and second values,—outputting (S3) said boolean masked result of the arithmetic operation between said first value (x) and said second value (y).
机译:本发明涉及一种针对执行加密算法的算术运算的侧信道攻击的方法,其中所述方法由包括具有至少一个硬件处理器的处理系统的加密设备来执行所述方法,并且所述操作具有第一值(x)和第二值(y)作为操作数,包括:--obtaining(s 1 )第一屏蔽值(x'),第二屏蔽值(y'),a第一个布尔掩码(R x ),第二布尔掩码(R y ),所述第一个屏蔽值(x')由屏蔽所述第一个值(x)表示首先通过在所述第一值(x)和所述第一布尔掩码之间执行布尔独占或(XOR)操作来(R x )来说,首先布尔掩码(R x ),并说通过在所述第二val之间执行布尔独占或(XOR)操作,由所述第二布尔掩模(R Y )掩盖所述第二值(y)产生的第二屏蔽值(y')。 UE(Y)和所述第二布尔掩模(R Y ), - 在任何顺序中执行(S 2 ),多个计算步骤组合所述第一屏蔽值之间的值( x'),所述第二屏蔽值(y'),所述第一布尔掩码(R x )和所述第二布尔掩码(R y )以获得布尔屏蔽结果等于具有所述第一值(x)和所述第二值(y)作为操作数的算术运算的结果,由第三布尔掩码掩蔽(R x xor R Y )在所述第一布尔掩码(R x )和所述第二布尔掩模之间执行所述布尔异常或(XOR)操作产生(x sub> y )((x + y )XOR(R x xor R y )),其中所述计算步骤在不公开任何信息的情况下执行所述值之间的布尔排除或(xor)操作或算术运算,而不透露第一和第二值,其中所述计算步骤由硬件处理器执行const执行蚂蚁数量的基本操作,无论所述第一和第二值的比特大小如何, - 输出(S 3 )所述算术屏蔽的算术运算结果在所述第一值(x)和所述第二值之间的算术运算( y)。

著录项

  • 公开/公告号US2021157586A1

    专利类型

  • 公开/公告日2021-05-27

    原文格式PDF

  • 申请/专利权人 THALES DIS FRANCE SA;

    申请/专利号US201917048262

  • 发明设计人 DAVID VIGILANT;

    申请日2019-04-16

  • 分类号G06F9/30;H04L9;H04L9/06;

  • 国家 US

  • 入库时间 2022-08-24 18:55:16

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号