Patent ID: 11902412
Assignee: MAXIM INTEGRATED PRODUCTS, INC.
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 0:
1. A method for carrying out computations by a computing device, the method comprising:
using, by the computing device, a secret in a computation that outputs an expected number and that comprises an iteration of a loop;
the secret causes the computation to output an incorrect result in the event that the computation has been subject to one or more manipulations such that, in the event of an attack, no information is revealed from which confidential information may be extracted, the one or more manipulations comprising reducing a number of iterations of the loop;
comparing, by the computing device, the expected number to a number calculated by the computation;
based on the comparison, determining, by the computing device, whether the computation is valid;
in response to the computation being invalid, generating, by the computing device, an error indicating that the computation has been subject to the one or more manipulations; and
in response to the computation being valid, removing, by the computing device, an effect of the secret from the expected number to output a correct result.