Microprocessor comprising signature means for detecting an attack by error injection
First Claim
1. A method for monitoring execution of a sequence of instruction codes in an integrated circuit having a central processing unit provided for executing such instruction codes, the method comprising:
- during the execution of the sequence, taking off at various points of the integrated circuit, at least one of deterministic address, control and data logic signals involved in the execution of the sequence, and producing current cumulative signatures using the deterministic logic signals and in synchronization with a clock signal, each current cumulative signature varying according to a previous cumulative signature and to the deterministic logic signals, until, at an end of the execution of the sequence, a final cumulative signature is obtained; and
comparing the final cumulative signature with an expected signature.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for monitoring the execution of a sequence of instruction codes in an integrated circuit comprising a central processing unit provided for executing such instruction codes. Current cumulative signatures are produced using deterministic address, control or data logic signals involved in the execution of the sequence and taken off at various points of the integrated circuit. A final cumulative signature is compared with an expected signature and an error signal is produced if the two signatures are not identical. Particularly useful to secure integrated circuits for smart cards.
45 Citations
48 Claims
-
1. A method for monitoring execution of a sequence of instruction codes in an integrated circuit having a central processing unit provided for executing such instruction codes, the method comprising:
-
during the execution of the sequence, taking off at various points of the integrated circuit, at least one of deterministic address, control and data logic signals involved in the execution of the sequence, and producing current cumulative signatures using the deterministic logic signals and in synchronization with a clock signal, each current cumulative signature varying according to a previous cumulative signature and to the deterministic logic signals, until, at an end of the execution of the sequence, a final cumulative signature is obtained; and
comparing the final cumulative signature with an expected signature. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An integrated circuit comprising:
-
a central processing unit for executing a program comprising instruction codes;
means for monitoring execution of at least one sequence of instruction codes comprising at least one instruction code, the monitoring means comprising;
a signature calculation circuit comprising parallel inputs linked to various points of the integrated circuit through which at least one of deterministic address, control or data logic signals involved in the execution of the sequence pass, the signature calculation circuit being arranged for producing current cumulative signatures that vary according to the deterministic signals, until a final cumulative signature is obtained at an end of the execution of the sequence; and
a configurable hard-wired logic masking circuit for inhibiting the inputs of the signature calculation circuit which are capable of receiving non-deterministic signals during the execution of the sequence; and
means for comparing the final cumulative signature with an expected signature. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A computer-readable memory medium containing a sequence of instructions for controlling an integrated circuit, the sequence including instructions for causing the integrated circuit to:
-
store an expected final cumulative signature;
select deterministic signals for use in producing a current cumulative signature during execution of the sequence of instructions; and
mask a selected signal when the selected signal is not deterministic. - View Dependent Claims (17, 18, 19)
-
-
20. An integrated circuit, comprising:
-
a processor for executing a sequence of instruction codes;
a signature production module configured to monitor deterministic signals in the integrated circuit during execution of the sequence of instruction codes and to produce a current cumulative signature based on the monitored deterministic signals;
an error detection module coupled to the signature production module and configured to produce an error signal based on a comparison of the current cumulative signature with an expected final cumulative signature; and
a signal masking module coupled to the signature production module and configured to mask non-deterministic signals. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. A method of monitoring execution of a sequence of instruction codes by an integrated circuit, comprising:
-
executing the sequence of instruction codes;
masking non-deterministic signals;
monitoring deterministic signals in the integrated circuit during execution of the sequence of instruction codes;
producing a current cumulative signature based on the monitored deterministic signals; and
comparing the current cumulative signature with an expected signature. - View Dependent Claims (30, 31, 32, 33, 34, 35, 36, 37, 38, 39)
-
-
40. A system comprising:
-
a smart card; and
an electronic device coupled to the smart card, wherein the system includes an integrated circuit, the integrated circuit comprising;
a processor for executing a sequence of instruction codes;
a masking module configured to mask non-deterministic signals during execution of the sequence of instructions;
a signature production module configured to monitor deterministic signals in the integrated circuit during execution of the sequence of instruction codes and to produce a current cumulative signature based on the monitored deterministic signals; and
an error detection module coupled to the signature production module and configured to produce an error signal based on a comparison of the current cumulative signature with an expected final cumulative signature. - View Dependent Claims (41, 42, 43, 44)
-
-
45. An integrated circuit, comprising:
-
means for executing a sequence of instructions;
means for producing a current cumulative signature based on monitored deterministic signals generated during execution of the sequence of instructions; and
means for comparing the current cumulative signature with an expected signature. - View Dependent Claims (46, 47, 48)
-
Specification