The invention relates to a method and to an electronic device for securing the computation of a modular exponentiation x=mD mod N against invasive attacks. The invention comprises applying a mask to the message m, and after the modular exponentiation is carried out, in verifying that the exponentiation was not altered thanks to properties introduced by the mask.
展开▼
机译:本发明涉及一种用于确保针对侵入性攻击的模幂x = m D Sup> mod N的计算的方法和电子设备。本发明包括在消息m上施加掩码,并且在执行模幂运算之后,验证由于掩码引入的特性,幂运算没有改变。
展开▼