摘要 |
The invention concerns a method and a system for making secure a secret quantity, contained in an electronic device, and used at least partly in an encryption algorithm of at least part of an input data executing a predetermined number (N) of successive iterations of a common function and producing at least part of an output data, which consists in: storing (14), after a first number (X) of iterations, an intermediate result; applying, to the output data, a function inverse to that of the encryption for a number (N-X) of iterations corresponding to the difference between the total number of iterations and the first number; comparing (18) the intermediate result with the result of iterations of the inverse function; and validating the encryption only if the two results are identical. |