摘要 |
The device for executing a cryptographic algorithm comprises computational means, data storage means and data communication means. The storage means comprise determined values r and N, a predetermined function f(x) with a value x, as well as an algorithm, by means of which the computational means can determine: the value of z = f(x) modulo r.N; the value of y>r< = f(x) modulo r; if z modulo r is equal to or not equal to y>r<, in order to detect an error in the cryptographic algorithm calculation when z modulo r is not equal to y>r<, and to calculate the value y = z modulo N when z modulo r is in fact equal to y>r<. One possible field of application for said invention is chip cards. |