首页> 外国专利> METHOD SECURED AGAINST SIDE-CHANNEL ATTACKS WITH A NEW MASKING SCHEME PROTECTING LINEAR OPERATIONS OF A CRYPTOGRAPHIC ALGORITHM

METHOD SECURED AGAINST SIDE-CHANNEL ATTACKS WITH A NEW MASKING SCHEME PROTECTING LINEAR OPERATIONS OF A CRYPTOGRAPHIC ALGORITHM

机译:一种新的屏蔽方案,用于保护侧道攻击,该方法可保护密码算法的线性运算

摘要

The present invention relates to a method secured against side channel attacks performing an operation (f) of a cryptographic algorithm on an input message in a whitebox implementation using a cryptographic key, said operation being linear with a Boolean exclusive OR (XOR) operation or an arithmetic operation (+), wherein : said method is performed by a client device comprising at least one hardware processor and a random generator and comprises : - generating (S1) a first mask and a second mask (mk, mx) by said random generator, - obtaining (S2) an encoded chunk of the cryptographic key (E'k(k)) and an encoded chunk of the input message (E'x(x)), - determining (S31) an encoded value (Ek(k⊕mk)) of the chunk of the cryptographic key masked with the first mask (mk), by using at least one look up table mapping the obtained encoded chunk of the cryptographic key (E'k(k)) and the first mask (mk) to said encoded value of the masked chunk of the cryptographic key (Ek(k⊕mk)), - determining (S32) an encoded value (Ex(x⊕ mx)) of the chunk of the input message (x) masked with the second mask (mx), by using at least one look up table mapping the obtained encoded chunk of the input message (E'x(x)) and the second mask (mx) to said encoded value of the masked chunk of the input message (Ex(x⊕ mx)), - determining (S4) an encoded value (Ey(y⊕mxmk)) of the result (y) of performing said operation (f) on the chunk of the cryptographic key (k) and on the chunk of the input message (x), masked with the first and second masks, by using at least one look up table mapping the determined encoded value of the chunk of the cryptographic key masked with the first mask (Ek(k⊕mk)) and the determined encoded value of the chunk of the input message masked with the second mask (Ex(x⊕ mx)) to said encoded value of the masked result of said operation (Ey(y⊕mxmk)).
机译:本发明涉及一种防止侧信道攻击的方法,该方法在使用密码密钥的白盒实现中对输入消息执行密码算法的操作(f),所述操作与布尔异或(XOR)操作或算术运算(+),其中:所述方法由包括至少一个硬件处理器和随机发生器的客户端设备执行,并且包括:-产生(S1)第一掩码和第二掩码(m k ,m x ),由所述随机发生器,-获得(S2)加密密钥的编码块(E' k (k))和输入消息(E' x (x))-确定(S31)编码值(E k (k⊕ m 通过使用至少一个查找表映射获得的已编码的加密表的第一个掩码(m k )掩盖的加密密钥的大块的密码密钥(E' k (k))和第一个掩码(m k )到密码密钥的已屏蔽块的编码值(E k (k⊕ m k ))-确定(S32)编码值(E x (x⊕ m x ))的输入消息(x)的块被第二个掩码( m x )掩码,使用至少一个查找表映射获得的输入消息的已编码块(E' x (x))和第二个掩码( m x )转换为输入消息的掩码块的所述编码值(E x (x⊕ m x ))-确定(S4)编码值(E y (y⊕ m x m k ))的结果(y)对密码块执行上述操作(f)密钥(k)和在输入消息(x)的块上,通过使用至少一个查找表映射至少一个查找表,该查找表映射了用th掩码的密码密钥的块的确定的编码值第一个掩码(E k (k⊕ m k ))和确定的块的编码值用第二个掩码(E x (x m x )掩码的输入消息为所述编码值运算的屏蔽结果(E y (y⊕ m x m k ))。

著录项

  • 公开/公告号WO2020173662A1

    专利类型

  • 公开/公告日2020-09-03

    原文格式PDF

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

    申请/专利号WO2020EP52495

  • 发明设计人 JELJELI HAMZA;

    申请日2020-01-31

  • 分类号H04L9;

  • 国家 WO

  • 入库时间 2022-08-21 11:09:38

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号