Integer division method which is secure against covert channel attacks
AssigneeGemplus
InventorsMarc Joye, Karine Villegas
Life of this patent
Estimating the term…
Loading patent…
AssigneeGemplus
InventorsMarc Joye, Karine Villegas
Estimating the term…
The invention relates to a cryptographic method involving an integer division of type q=a div b and r=a mod b, wherein a is a number of m bits, b is a number of n bits, with n being less than or equal to m, and bn−1 being non-null and the most significant bit of b. In addition, each iteration of a loop subscripted by i, which varies between 1 and m−n+1, involves a partial division of a word A of n bits of number a by number b in order to obtain one bit of quotient q. According to the invention, the same operations are performed with each iteration, regardless of the value of the quotient bit obtained. In different embodiments of the invention, one of the following is also performed with each iteration: the addition and subtraction of number b to/from word A; the addition of number b or a complementary number /b of b to word A; or a complement operation at 2n of an updated datum (b or /b) or a dummy datum (c or /c) followed by the addition of the datum updated with word A.
A cryptographic method during which an integer division of the type q=a div b and r=a mod b is performed, where q is a quotient, a is a number containing m bits, b is a number of containing n bits, with n less than or equal to m and bn−1 is non-zero, bn−1 being the most significant bit of b, comprising the following steps:
Dependencies are inferred from the claim text.