IP Library › Granted Patent US 11,546,132
Granted Patent B2
US 11,546,132 · App. 17/251,159 · Granted Jan 3, 2023

Detection of laser fault injection attacks on cryptographic devices

Inventors: Sylvain Guilley (Paris, FR); Michel Le Rolland (Ploermel, FR)
Assignee: SECURE-IC SAS
H04L9/004G06F11/1044G06F21/75G06F21/77G06F2221/2135
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,546,132
App. No.
17/251,159
Granted
Jan 3, 2023
Kind
B2
Abstract

Countermeasures against fault injection attacks of a cryptographic integrated circuit, and more specifically laser fault injection attacks are provided. The invention consists in generating sequences of bits belonging to a set of allowed sequences, and storing these sequences on a set of Flip-Flops. Then the sequences stored on the Flip-Flops are checked and, if they do not belong to the allowed sequence, this is the sign that a fault injection attack occurred and caused a bit flip in one of the flip-flops. An alarm signal is then generated.

Claims (47)

1. A cryptographic integrated circuit (IC) comprising:

one or more processing logics configured to generate one or more sequences of bits belonging to a set of allowed sequences;

a set of Flip-Flops (FFs) comprising two or more Flip-Flops configured to store said sequences of bits; and

one or more processing logics configured to generate a signal (S A ) indicating an occurrence of a fault injection attack if a sequence of bits defined by the bits stored by the two or more FFs of the set does not belong to the set of allowed sequences,

wherein said cryptographic IC comprises at least one first FF having an output connected to an input of at least one second FF and to an input of a NOT logical gate, said NOT logical gate having an output connected to the input of said first FF.

2. The cryptographic integrated circuit (IC) of claim 1 , wherein a Hamming distance between two different sequences belonging to the set of allowed sequences is at least equal to two.

3. The cryptographic integrated circuit (IC) of claim 2 , wherein the set of allowed sequences comprises two sequences, a first sequence of the set being a complement of a second sequence of the set.

4. The cryptographic integrated circuit (IC) of claim 1 , wherein:

the one or more processing logics configured to generate one or more sequences of bits belonging to a set of allowed sequences comprise said two or more FFs configured to store said sequences of bits, and one or more logical gates connected to generate a different sequence of bits belonging to the set of allowed sequences at each clock cycle; and

the one or more processing logics configured to generate a signal (S A ) indicating the occurrence of a fault injection attack comprise one or more logical gates configured to perform logical operations to generate a predefined signal if the sequence of bits at the outputs of the two or more FFs configured to store said sequences of bits does not belong to the set of allowed sequences.

5. The cryptographic integrated circuit (IC) of claim 4 , wherein at least one of the FFs has an input which is a complement of its output.

6. The cryptographic integrated circuit (IC) of claim 1 , comprising:

a first FF and a second FF to store said sequences of bits;

a NOT logical gate; and

a XNOR logical gate;

wherein:

the output of the first FF is connected to the input of the NOT logical gate, to the input of the second FF and to a first input of the XNOR logical gate;

the output of the NOT logical gate is connected to the input of the first FF;

the output of the second FF is connected to a second input of the XNOR logical gate; and

the signal (S A ) indicating the occurrence of a fault injection attack is an output of the XNOR logical gate equal to 1.

7. The cryptographic integrated circuit (IC) of claim 1 , comprising a plurality of FFs connected on the same clock signal, the output of each of the FFs being respectively negated and connected to its input.

8. The cryptographic integrated circuit (IC) of claim 1 , comprising:

an error-correcting code encoder configured to generate the one or more sequences of bits, the set of allowed sequences comprising error-free codes;

a set of FFs configured to store the one or more sequences of bits at the output of the error-correcting code encoder; and

an error-correcting code decoder configured to decode the code stored in the set of FFs and to generate the signal (S A ) indicating the occurrence of a fault injection attack if said code stored in the set of FFs comprises an error.

9. The cryptographic integrated circuit (IC) of claim 8 , wherein the error-correcting code is a Hamming code.

10. The cryptographic integrated circuit (IC) of claim 1 , comprising a security manager configured to modify the output of an execution of a cryptographic algorithm, in response to a reception of the signal (S A ) indicating the occurrence of a fault injection attack.

11. The cryptographic integrated circuit (IC) of claim 10 , wherein the security manager is configured to count a total number of fault injections, and modify the output of the execution of the cryptographic algorithm, in response to the reception of the signal (S A ) indicating the occurrence of a fault injection attack depending on the total number of fault injections.

12. The cryptographic integrated circuit (IC) of claim 11 , wherein the security manager is configured to disable the cryptographic integrated circuit (IC), if the total number of fault injections is higher than or equal to a predefined threshold.

13. The cryptographic integrated circuit (IC) of claim 1 , wherein it further comprises one or more sensors, configured to detect a global fault injection attack performed on the integrated circuit (IC).

14. The cryptographic integrated circuit (IC) of claim 13 , wherein said one or more sensors comprises at least one sensor selected in the group consisting of:

an analog or digital light sensor configured to detect a light or laser fault injection attack;

a voltmeter configured to detect a fault injection attack based on a modification of a voltage of the integrated circuit (IC);

a temperature sensor configured to detect a fault injection attack based on an overheating of the integrated circuit (IC); and

a clock sensor configured to detect a fault injection attack based on a modification of the clock of the integrated circuit (IC).

15. A method for detecting a fault injection attack performed on an integrated circuit (IC), said integrated circuit (IC) comprising a set of Flip-Flops (FFs), wherein the method comprises:

generating one or more sequences of bits belonging to a set of allowed sequences;

storing said sequences of bits in a set of said Flip-Flops (FFs) comprising two or more Flip-Flops; and

generating a signal (S A ) indicating an occurrence of a fault injection attack if a sequence of bits defined by the bits stored by the two or more FFs of the set does not belong to the set of allowed sequences,

wherein said IC comprises a cryptographic IC comprising at least one first FF having an output connected to an input of at least one second FF.

16. A computer program product for detecting a fault injection attack performed on an integrated circuit (IC), said integrated circuit (IC) comprising a set of Flip-Flops (FFs), the computer program product comprising:

a non-transitory computer-readable storage medium; and

program code stored on the non-transitory computer-readable storage medium that, when executed by one or more processors, causes the one or more processors to:

generate one or more sequences of bits belonging to a set of allowed sequences;

store said sequences of bits in a set of registers comprising two or more registers; and

generate a signal (S A ) indicating an occurrence of a fault injection attack if a sequence of bits defined by the bits stored by the two or more registers of the set does not belong to the set of allowed sequences,

wherein said IC comprises a cryptographic IC comprising at least one first FF having an output connected to an input of at least one second FF.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 17, 2021
From: GUILLEY, SYLVAIN; LE ROLLAND, MICHEL
To: SECURE-IC SAS
Reel/Frame 055630/0484 →
Priority Claims (1)
EP 8305769 · Jun 19, 2018 · regional
Continuity (1)
Related Publication 20210328761A1 · Oct 21, 2021