Patent ID: 8311211

Claim:
A computer-implemented method comprising: compiling a software program, the compiling resulting in an executable program; automatically generating a function identifier file in response to compiling the software program, wherein the function identifier file identifies one or more cryptographic functions included in the executable program; executing a function included in the executable program on an execution unit; determining, based upon the function identifier file, that the executing function is one of the cryptographic functions; in response to determining that the executing function is one of the cryptographic functions: computing a current execution time that corresponds to the amount of time that the function requires to execute; retrieving a previous execution time, the previous execution time corresponding to the amount of time that the function required during a previous execution; determining that the current execution time is less than the previous execution time; and in response determining that the current execution time is less than the previous execution time, injecting one or more filler instructions that do not correspond to the executable program, wherein the injecting increases the current execution time until the current execution time is equal to the previous execution time.