Countermeasure method and device for protecting against a fault injection attack by detection of a well voltage crossing a threshold
Summary by NHIP
Well-based fault detection method
The method detects voltage crossings at local ground or power terminals within a microcircuit to trigger a signal. The circuit uses a first well isolated by a second well and an embedded region, with the ground terminal in the first well and the power terminal in the second well, while biasing the ground via a resistor or bias circuit.
Claim Score by NHIP
Abstract
A method for detecting an attack in an electronic microcircuit comprises: forming the microcircuit in a substrate, forming in the substrate a first well electrically isolated from the substrate, by a second well and an embedded well, forming in the first and second wells a data processing circuit comprising a ground terminal formed in the first well and a power supply terminal formed in the second well, and activating a detection signal when a voltage at the ground or power supply terminal of the data processing circuit crosses a threshold voltage.

Term
Projected expiry 12 August 2031.
- Priority
- Filed
- Granted
- Today
- Projected expiry
23 claims: 8 independent, 15 dependent
- 1A method, comprising:detecting that a voltage of at least one of a first local ground terminal and a first power supply terminal crosses a first threshold voltage, the first local ground and first power supply terminals being part of a first data processing circuit of a microcircuit in a substrate, the microcircuit including first and second wells and a first embedded region formed in the substrate, the first well being electrically isolated from a main portion of the substrate by the second well and the first embedded region;the first local ground terminal being formed in the first well and the first power supply terminal being formed in the second well;activating a first detection signal in response to detecting the voltage at the at least one of the first local ground and first power supply terminals of the first data processing circuit crossing the first threshold voltage;and supplying a bias voltage to the first local ground terminal of the first data processing circuit through a resistor or a bias circuit coupling the first local ground terminal of the first data processing circuit to a ground of the substrate.
- 5A method comprising:detecting that a voltage of at least one of a first local ground terminal and a first power supply terminal crosses a first threshold voltage, the first local ground and first power supply terminals being part of a first data processing circuit of a microcircuit in a substrate, the microcircuit including first and second wells and a first embedded region formed in the substrate, the first well being electrically isolated from a main portion of the substrate by the second well and the first embedded region;the first local ground terminal being formed in the first well and the first power supply terminal being formed in the second well;activating a first detection signal in response to detecting the voltage at the at least one of the first local ground and first power supply terminals of the first data processing circuit crossing the first threshold voltage;and adjusting the first threshold voltage to a value higher than a variation range of a local ground voltage at the first local ground terminal of the first data processing circuit in a normal operation, taking into account a ground bias voltage in relation to the ground of the substrate.
- 7A method, comprising:detecting that a voltage of at least one of a first local ground terminal and a first power supply terminal crosses a first threshold voltage, the first local ground and first power supply terminals being part of a first data processing circuit of a microcircuit in a substrate, the microcircuit including first and second wells and a first embedded region formed in the substrate, the first well being electrically isolated from a main portion of the substrate by the second well and the first embedded region;the first local ground terminal being formed in the first well and the first power supply terminal being formed in the second well;activating a first detection signal in response to detecting the voltage at the at least one of the first local ground and first power supply terminals of the first data processing circuit crossing the first threshold voltage;and adjusting the first threshold voltage to a value lower than a variation range of the voltage at the first power supply terminal of the first data processing circuit in a normal operation.
- 9A method detecting that a voltage of at least one of a first local ground terminal and a first power supply terminal crosses a first threshold voltage, the first local ground and first power supply terminals being part of a first data processing circuit of a microcircuit in a substrate, the microcircuit including first and second wells and a first embedded region formed in the substrate, the first well being electrically isolated from a main portion of the substrate by the second well and the first embedded region;the first local ground terminal being formed in the first well and the first power supply terminal being formed in the second well;activating a first detection signal in response to detecting the voltage at the at least one of the first local ground and first power supply terminals of the first data processing circuit crossing the first threshold voltage, wherein the detecting and activating are performed using a first detection circuit;detecting, using a second detection circuit, that a voltage of at least one of a second local ground terminal and a second power supply terminal of a second data processing circuit crosses a second threshold voltage, the second data processing circuit being part of the microcircuit, the microcircuit including third and fourth wells and a second embedded region formed in the substrate, the third well being electrically isolated from the main part of the substrate by the fourth well and the second embedded region, the second local ground terminal being formed in the third well and the second power supply terminal being formed in the fourth well;and activating, using the second detection circuit, a second detection signal in response to detecting that the voltage of the at least one of the second local ground terminal and the second power supply terminal crosses the second threshold voltage.
- 12Broadest claimClaim Score 49, average(NHIP)A microcircuit comprising:a first data processing circuit that includes a first power supply terminal and a first local ground terminal, the first local ground terminal being positioned in a first well of a substrate, the first well being electrically isolated from a main part of the substrate by a second well of the substrate and a first embedded region of the substrate;and a first detection circuit formed in the substrate, the first detection circuit being configured to activate a detection signal in response to detecting that a voltage of at least one of the first local ground terminal and the first power supply terminal of the first data processing circuit crosses a first threshold voltage;a ground terminal of the substrate coupled to the first local ground terminal of the first data processing circuit;and a bias circuit coupled between the first local ground terminal and the ground terminal of the substrate, the bias circuit being configured to supply a bias voltage to the first local ground terminal.
- 15A microcircuit, comprising:a first data processing circuit that includes a first power supply terminal and a first local ground terminal, the first local ground terminal being positioned in a first well of a substrate, the first well being electrically isolated from a main part of the substrate by a second well of the substrate and a first embedded region of the substrate;a first detection circuit formed in the substrate, the first detection circuit being configured to activate a first detection signal in response to detecting that a voltage of at least one of the first local ground terminal and the first power supply terminal of the first data processing circuit crosses a first threshold voltage;a second data processing circuit that includes a second power supply terminal and a second local ground terminal, the second local ground terminal being formed in a third well of the substrate, the third well being electrically isolated from the main part of the substrate by a fourth well of the substrate and a second embedded region of the substrate;and a second detection circuit formed in the substrate, the second detection circuit being configured to activate a second detection signal in response to a voltage of at least one of the second local ground terminal and the second power supply terminal crosses a second threshold voltage.
- 18A microcircuit portable device, comprising:a support;and a microcircuit carried by the support and including: a first data processing circuit that includes a first power supply terminal and a first local ground terminal, the first local ground terminal being positioned in a first well of a substrate, the first well being electrically isolated from a main part of the substrate by a second well of the substrate and a first embedded region of the substrate;a first detection circuit formed in the substrate, the first detection circuit being configured to activate a detection signal in response to detecting that a voltage of at least one of the first local ground terminal and the first power supply terminal of the first data processing circuit crosses a first threshold voltage;a ground terminal of the substrate coupled to the first local ground terminal of the first data processing circuit;and a bias circuit coupled between the first local ground terminal and the ground terminal of the substrate, the bias circuit being configured to supply a bias voltage to the first local ground terminal.
- 21A microcircuit portable device, comprising:a support;and a microcircuit carried by the support and including: a first data processing circuit that includes a first power supply terminal and a first local ground terminal, the first local ground terminal being positioned in a first well of a substrate, the first well being electrically isolated from a main part of the substrate by a second well of the substrate and a first embedded region of the substrate;a first detection circuit formed in the substrate, the first detection circuit being configured to activate a first detection signal in response to detecting that a voltage of at least one of the first local ground terminal and the first power supply terminal of the first data processing circuit crosses a first threshold voltage;a second data processing circuit that includes a second power supply terminal and a second local ground terminal, the second local ground terminal being formed in a third well of the substrate, the third well being electrically isolated from the main part of the substrate by a fourth well of the substrate and a second embedded region of the substrate;and a second detection circuit formed in the substrate, the second detection circuit being configured to activate a second detection signal in response to a voltage of at least one of the second local ground terminal and the second power supply terminal crosses a second threshold voltage.
Independent claims8
65 paragraphs in 4 sections, as filed
BACKGROUND
00011. Technical Field
0002The present disclosure relates to a countermeasure method for protecting sensitive data circulating in an electronic microcircuit, against attacks which aim is to discover these data. It also relates to a microcircuit portable device such as a chip card, implementing the method.
00032. Description of the Related Art
0004Sensitive data may be in particular encryption or decryption keys, and more generally cryptographic data used or elaborated during cryptographic calculations, such as intermediate data of such calculations, and identifiers desired to be kept secret.
0005Microcircuit devices using sensitive data are sometimes subjected to attacks which aim is to determine these data. Among the known attacks, the attacks of SPA (Simple Power Analysis) or DPA (Differential Power Analysis) type consist in taking numerous current and voltage measures coming in and going out of the microcircuit during a program execution or data processing by the microcircuit, with different input data. The measures obtained are used by a statistical analysis to deduce therefrom protected data, processed or used by the microcircuit. For the same aim, the attacks of EMA (Electromagnetic Analysis) and DEMA (Differential Electromagnetic Analysis) type are based on the analysis of the electromagnetic radiation emitted by the microcircuit.
0006Attacks by fault injection are also known, which consist in introducing disturbances into the microcircuit when it executes for example sensitive algorithms such as cryptographic algorithms, or which aim is to trigger the execution of a downloading routine emitting on a port the data it memorizes. Such disturbance may be made by applying to the microcircuit one or more brief flashes for example by a laser beam, or one or more voltage peaks to one of the contacts thereof.
0007So as to fight against these attacks, which are various by nature, numerous solutions, very different from one another, have been brought. The disclosure more particularly relates those which aim is to detect attacks by fault injection.
0008Various detection techniques have been implemented so as to fight against these attacks. Thus, it is known to duplicate in a microcircuit the circuits to be protected, and to compare the data supplied by the duplicated circuits. If a difference appears in the data supplied, it means that the microcircuit has been subjected to an attack by fault injection. This detection technique reveals to be demanding in terms of circuit size and electrical consumption.
0009It is also known to insert into a microcircuit several local detectors reacting to a lighting flash by supplying an active detection signal. This solution does not really allow sensitive circuits of the microcircuit to be protected from a fault injection, unless a great number of local detectors are provided, which induce a significant additional cost in terms of circuit size and electrical consumption.
BRIEF SUMMARY
0010One embodiment is a countermeasure device for protecting circuits handling secret data against attacks by fault injection. One embodiment is able to detect a fault injection in particular by applying brief flashes or voltage peaks to the microcircuit. One embodiment is a countermeasure device that does not substantially increase the complexity or electrical consumption or the microcircuit.
0011Some embodiments relates to a method for detecting an attack in an electronic microcircuit, comprising: forming the microcircuit in a substrate, forming in the substrate a first well electrically isolated from the substrate, by a second well and an embedded well, and forming in the first and second wells a data processing circuit comprising a ground terminal formed in the first well and a power supply terminal formed in the second well. According to one embodiment, the method comprises activating a detection signal when a voltage at the ground or power supply terminal of the data processing circuit crosses a threshold voltage.
0012According to one embodiment, the detection signal is activated as soon as the voltage between the ground terminal and a ground of the substrate crosses the threshold voltage.
0013According to one embodiment, the threshold voltage is adjusted at a value higher than a variation range of the ground voltage at the ground terminal of the data processing circuit in normal operation, taking into account a ground bias voltage in relation to the ground of the substrate.
0014According to one embodiment, the detection signal is activated as soon as the voltage between the power supply terminal and a ground of the substrate goes below the threshold voltage.
0015According to one embodiment, the threshold voltage is adjusted at a value lower than a variation range of the power supply voltage of the data processing circuit in normal operation.
0016According to one embodiment, the ground terminal of the data processing circuit is linked to the ground terminal of the substrate through a resistor or a bias circuit supplying a bias voltage to the ground terminal of the data processing circuit.
0017According to one embodiment, the method comprises forming several data processing circuits in the substrate, each data processing circuit being formed in a first well, and in a second well electrically isolating from the substrate the first well with an embedded well, each data processing circuit comprising a ground terminal formed in the first well and a power supply terminal formed in the second well, and forming a detection circuit for each data processing circuit, each detection circuit supplying an active detection signal when a voltage at the ground or power supply terminal of the data processing circuit crosses a threshold voltage.
0018According to one embodiment, the method comprises forming for each data processing circuit of a bias circuit supplying a bias voltage to the ground terminal of the data processing circuit.
0019According to one embodiment, the method comprises supplying an active consolidated detection signal if at least one of the detection signals is active.
0020Some embodiments also relate to a microcircuit comprising a data processing circuit, comprising power supply and ground terminals, the ground terminal being formed in a first well electrically isolated from the substrate, by a second well and an embedded well According to one embodiment, the processing circuit is associated to a detection circuit to activate a detection signal when a voltage at the ground or power supply terminal of the data processing circuit crosses a threshold voltage, the microcircuit being configured to implement the method such as previously defined.
0021According to one embodiment, the ground terminal of the data processing circuit is linked to the ground terminal of the substrate through a resistor or a bias circuit supplying a bias voltage to the ground terminal to the data processing circuit.
0022According to one embodiment, the microcircuit comprises several data processing circuits, each comprising power supply and ground terminals, each ground terminal being formed in an isolated well, each processing circuit being associated to a detection circuit supplying an active detection signal when a voltage at the ground or power supply terminal of the data processing circuit crosses a threshold voltage.
0023According to one embodiment, the microcircuit comprises a logic circuit receiving all the detection signals, and supplying an active consolidated detection signal if at least one of the detection signals is active.
0024According to one embodiment, the microcircuit comprises for each data processing circuit a bias circuit supplying a bias voltage to the ground terminal of the data processing circuit.
0025Some embodiments also relate to a microcircuit portable device comprising a microcircuit such as previously defined.
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
0026Embodiments of the disclosure will be described hereinafter, in relation with, but not limited to the appended figures wherein:
0027<figref idref="DRAWINGS">FIG. 1</figref> schematically shows a cross-section of a substrate in which an integrated circuit is formed,
0028<figref idref="DRAWINGS">FIG. 2</figref> shows on a scale different voltage levels to be considered in an analysis of the integrated circuit operation,
0029<figref idref="DRAWINGS">FIGS. 3A and 3B</figref> are variation curves as a function of time, of voltages in the integrated circuit when it is subjected to a brief flash,
0030<figref idref="DRAWINGS">FIG. 4</figref> is a schematic top view of the integrated circuit, according to one embodiment,
0031<figref idref="DRAWINGS">FIG. 5</figref> schematically shows a power supply circuit of the integrated circuit,
0032<figref idref="DRAWINGS">FIG. 6</figref> schematically shows a bias circuit of a local ground of a circuit of the integrated circuit,
0033<figref idref="DRAWINGS">FIG. 7</figref> shows a circuit for detecting fault injection, according to one embodiment,
0034<figref idref="DRAWINGS">FIG. 8</figref> shows a circuit for detecting fault injection, according to another embodiment,
0035<figref idref="DRAWINGS">FIG. 9</figref> shows a flip-flop of the detection circuit of <figref idref="DRAWINGS">FIG. 7</figref> or <b>8</b>.
0036<figref idref="DRAWINGS">FIG. 10</figref> is a chip card according to one embodiment of the present disclosure.
DETAILED DESCRIPTION
0037<figref idref="DRAWINGS">FIG. 1</figref> shows an integrated circuit IC comprising a substrate SUB in a semiconductor material of P-type conductivity in which a circuit ISC is formed. The substrate SUB comprises a P+ doped region SBS forming a substrate connection connected to a substrate ground SGnd. The circuit ISC comprises an embedded region NISO of N-type conductivity and a well NW of N-type conductivity formed in the substrate until reaching the region NISO. The well NW is formed so as to encircle an area of the substrate thus forming a well PW of P-type conductivity. The well PW is thus isolated from a main portion of the substrate SUB by the region NISO and well NW. The region NISO forms with the well PW a capacitance CIW, and with the main portion of the substrate SUB a capacitance CIS. The presence of the capacitances CIW, CIS allows the noise on the ground SGnd of the substrate SUB and the electromagnetic radiation emitted by the circuit to be reduced, in particular in the band from 800 MHz to 1 GHz.
0038The well NW comprises N+ doped regions NS<b>1</b>, NS<b>2</b> forming well connections intended to receive the power supply voltage Vdd of the circuit. The well NW also comprises P+ doped regions DP, SP forming the drain and the source of a P-channel CMOS transistor comprising a gate GP formed above an area forming the transistor channel, between the source SP and drain DP regions. The well PW comprises a P+ doped region PWS forming a well connection intended to be connected to the ground and two N+ doped regions SN, DN forming the source and the drain of a N-channel CMOS transistor comprising a gate GN formed above an area between the source SN and drain DN regions. Each of the gates GP, GN comprise a conductive layer overlying a thin dielectric layer on the substrate. The areas between a P+ doped region and a N+ doped region comprise a trench filled in with an isolating material (not shown), formed in the substrate to isolate the P+ doped regions from the N+ doped regions. The drain DN, DP and source SN, SP regions of the transistors, form with the wells NW and PW capacitances CPN, CNP. In the example of <figref idref="DRAWINGS">FIG. 1</figref>, the N-channel and P-channel transistors are interconnected so as to form an inverter. Thus, the source SP receives the power supply voltage Vdd, and the source SN is connected to the ground connection PWS. An input In of the inverter is connected to the gates SN and SP, and an output Out of the inverter is connected to the drains DN, DP.
0039The ground connection PWS of the well PW forms a local ground LGnd of the circuit ISC which may be connected to the ground of the substrate SGnd, or receive a bias voltage in relation thereto.
0040<figref idref="DRAWINGS">FIG. 2</figref> shows on a scale different voltage values and ranges to be considered in the integrated circuit IC operation. The scale of <figref idref="DRAWINGS">FIG. 2</figref> comprises, from the top of the scale, voltage ranges GB, VDO, LGO, LGR then SGO at the bottom of the scale. The voltage range GB delineates the variations of the power supply voltage Vdd resulting from variations of the integrated circuit performances linked to variations of the ambient temperature and variations of the manufacturing conditions of the integrated circuit. The voltage range VDO delineates the variations of the voltage Vdd as a function of the extent of the integrated circuit activity. The range VDO corresponds to the drop of the voltage Vdd in the internal resistors of the integrated circuit. The range LGO delineates the variations of the bias voltage of the local ground of the circuit ISC as a function of the extent of the integrated circuit IC activity. The range LGR delineates the maximum adjusting extent of the voltage Vgb of the local ground of the circuit ISC. The range SGO delineates the variations of the voltage of the substrate SUB ground as a function of the extent of the integrated circuit IC activity.
0041The extent of the range LGR may be chosen so that the voltage difference between the ranges VDO and LGO is superior or equal to the sum of the minimum voltages making it possible to guarantee the switching of the N-channel and P-channel transistors of the integrated circuit IC, i.e. the sum of the threshold voltages Vtn of a N-channel transistor and Vtp of a P-channel transistor, to which an overdrive of around 10% is added.
0042The maximum extent of the adjusting range of the voltage Vgb of the local ground LGnd may be chosen so as to take into account different voltages relative to the integrated circuit IC operation and features. Thus, the maximum extent of the adjusting range of the bias voltage Vgb may be chosen so as to comply with the threshold voltages of a N-channel transistor and a P-channel transistor of the integrated circuit IC, with the power supply voltage Vdd and with the voltage drops which occur in the circuits of the integrated circuit when they are active. The voltages taken into account are considered with an error margin linked to performance variations of the integrated circuit resulting from ambient temperature variations or process corners of the integrated circuit.
0043In the 90 nm integration technology, the rated power supply voltage is of around 1.3 V (with a possible difference of 10%). At the top of the scale of <figref idref="DRAWINGS">FIG. 2</figref>, the ranges GB and VDO have spreads of around 70 mV and 50 mV. The spreads of the threshold voltages Vtp and Vtn are on average of 500 mV and 475 mV. A voltage range of around 1025 mV should therefore be provided to allow the N-channel and P-channel transistors of the circuit ISC to switch. The ranges LGO and SGO have spreads of 50 mV and 25 mV. Therefore there is around 50 mV (with a possible difference of 10%) for the adjusting range LGR of the voltage Vgb. In the 0.18 μm integration technology, the adjusting range of the voltage Vgb may have an extent of 100 to 200 mV.
0044<figref idref="DRAWINGS">FIGS. 3A</figref>, <b>3</b>B show variation curves as a function of time of the power supply voltage Vdd (curves CV<b>1</b>, CV<b>2</b>) and the voltage Vgb of the local ground LGnd (curves CV<b>3</b>, CV<b>4</b>). In normal operation, the voltage Vdd (curve CV<b>1</b>) varies between a maximum value when the circuit ISC is inactive and a minimum value Vdm. The voltage area between the voltages Vdm and VdM corresponds to the range VDO in <figref idref="DRAWINGS">FIG. 2</figref>. In normal operation, the voltage Vgb (curve CV<b>3</b>) varies between a minimum value Vgm when the circuit ISC is inactive and a maximum value VgM when the circuit is active. The voltage area between the voltages Vgm and VgM corresponds to the range LGO in <figref idref="DRAWINGS">FIG. 2</figref>.
0045In the event of overvoltage for example caused by a lighting flash such as a laser shot on the circuit ISC or by a voltage peak applied to a contact pad of the circuit, a high current appears between the power supply source Vdd and the local ground LGnd of the circuit ISC. This high current results from the fact that parasitic bipolar transistors tend to initiate a latch-up. On the other hand, the presence of the embedded region NISO minimizes the effect of other parasitic bipolar transistors, preventing a high current from establishing between the local ground LGnd of the circuit ISC and the ground of the substrate SGnd. Consequently, little current passes between the power supply source Vdd and the ground of the substrate SGnd. The curves CV<b>2</b> and CV<b>4</b> show the effect of the high current on the power supply Vdd and local ground Vgb voltages. In the curve CV<b>2</b>, the voltage Vdd drops significantly down to a voltage VdS (more than twice the width of the range VDO). In the curve CV<b>4</b>, the voltage Vgb increases rapidly until reaching a relatively high voltage peak VgS (more than twice the width of the range LGO).
0046<figref idref="DRAWINGS">FIG. 4</figref> shows the integrated circuit IC, according to one embodiment. In <figref idref="DRAWINGS">FIG. 4</figref>, the integrated circuit IC comprises several circuits formed in the substrate SUB, including several circuits ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b> to be protected by a countermeasure device. The integrated circuit IC comprises a global power supply circuit GPC supplying to the various circuits of the integrated circuit, including the circuits ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b>, the power supply voltage Vdd in relation to the ground of the substrate SGnd, from an external power supply voltage Vps.
0047According to one embodiment, each of the circuits ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b> comprises a well of P-type conductivity PW<b>1</b>, PW<b>2</b>, PW<b>3</b> encircled by a well of N-type conductivity NW<b>1</b>, NW<b>2</b>, NW<b>3</b>, and isolated from the rest of the substrate SUB by an embedded isolating region NISO<b>1</b>, NISO<b>2</b>, NISO<b>3</b>. Each of the circuits ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b> comprises a local ground connection LG<b>1</b>, LG<b>2</b>, LG<b>3</b> and may be coupled to a bias circuit LGB<b>1</b>, LGB<b>2</b>, LGB<b>3</b> supplying a voltage Vgb<b>1</b>, Vgb<b>2</b>, Vgb<b>3</b> of the local ground LG<b>1</b>, LG<b>2</b>, LG<b>3</b> in relation to the ground of the substrate SGnd. Thus, each circuit ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b> may be powered by a power supply voltage equal to Vdd−Vgb<i> (where i is equal to 1, 2 or 3). As each circuit ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b> is isolated from the main portion of the substrate, the voltages Vgb<b>1</b>, Vgb<b>2</b>, Vgb<b>3</b> may be different at a given time when the circuits ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b> are all active. The circuits LGB<b>1</b>, LGB<b>2</b>, LGB<b>3</b> may consist of a simple resistor of some Ohms linking the local ground LG<b>1</b>, LG<b>2</b>, LG<b>3</b> to the ground of the substrate SGnd.
0048According to one embodiment, each circuit ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b> is coupled to a detection circuit DET<b>1</b>, DET<b>2</b>, DET<b>3</b> to detect an attack of the circuit by a fault injection and supply an active detection signal DS<b>1</b>, DS<b>2</b>, DS<b>3</b> in the event of a detection of such an attack. To that end, the detection circuit is configured to detect a voltage peak exceeding a determined threshold TH between the voltages VgM and VgS, in the voltage Vgb of the local ground LGnd, or a drop of the power supply voltage Vdd exceeding a determined threshold TH<b>1</b> between the voltages VdS and Vdm. In the example of <figref idref="DRAWINGS">FIG. 4</figref>, each detection circuit DET<b>1</b>, DET<b>2</b>, DET<b>3</b> is connected between the output of the power supply circuit GPC and the ground of the substrate SGnd, and is connected to the local ground terminal LG<b>1</b>, LG<b>2</b>, LG<b>3</b> of one of the circuits ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b>. The integrated circuit IC may in addition comprise a logic circuit LG, for example comprising an OR logic gate, receiving all the detection signals DS<b>1</b>, DS<b>2</b>, DS<b>3</b>, and supplying an active consolidated detection signal CDS if at least one of the signals DS<b>1</b>, DS<b>2</b>, DS<b>3</b> is active, revealing the detection of an attack of the integrated circuit IC by fault injection.
0049The circuits DET<b>1</b>, DET<b>2</b>, DET<b>3</b> thus allow a fault injection to be detected on the whole substrate surface occupied by each of the circuits ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b>, above the wells NISO<b>1</b>, NISO<b>2</b>, NISO<b>3</b>.
0050<figref idref="DRAWINGS">FIG. 5</figref> shows an example of power supply circuit GPC of the integrated circuit IC. The circuit GPC comprises two N-channel MOS transistors T<b>1</b>, T<b>2</b>, two resistors R<b>1</b>, R<b>2</b>, a comparator CP and a step-up voltage circuit BPMP. The drain of the transistors T<b>1</b>, T<b>2</b> receives the external voltage Vps. The source of the transistor T<b>1</b> is linked to the substrate ground SGnd through the resistors R<b>1</b> and R<b>2</b> connected in series. The junction node ND between the resistors R<b>1</b>, R<b>2</b> is connected to a direct input of the comparator CP. The comparator CP comprises an inverting input receiving a constant reference voltage Vref, for example fixed at 0.8 V. The output of the comparator is connected to an input of the circuit BPMP. The output of the circuit BPMP is connected to the gates of the transistors T<b>1</b>, T<b>2</b>. The source of the transistor T<b>2</b> supplies the power supply voltage Vdd. The circuit BPMP for example made by a charge pump, supplies a voltage equal to Vdd+Vtn, where Vtn is the threshold voltage of the transistors T<b>1</b>, T<b>2</b>. The comparator CP regulates the voltage Vdd by keeping the voltage at the node ND substantially equal to the voltage Vref. The value of the voltage Vdd is defined by the values of the resistors R<b>1</b>, R<b>2</b>.
0051<figref idref="DRAWINGS">FIG. 6</figref> shows an embodiment of each of the bias circuits LGB<b>1</b>, LGB<b>2</b>, LGB<b>3</b>. In <figref idref="DRAWINGS">FIG. 6</figref>, the circuit LGB comprises a resistor R<b>3</b>, a comparator CP<b>1</b> and a current source CS. The current source CS is powered by the voltage Vdd and supplies a current Iref equal to a reference voltage Vref divided by a resistor (not shown). The voltage Vref is substantially constant, i.e. in particular independent of the ambient temperature of the integrated circuit IC and the manufacturing conditions thereof. The voltage Vref may be for example supplied by a bandgap reference circuit. The comparator CP<b>1</b> is powered between the power supply voltage Vdd and the substrate ground SGnd. The resistor R<b>3</b> is connected in series between the current source CS and the ground. The junction node N<b>1</b> between the current source and the resistor R<b>3</b> is connected to a direct input of the comparator CP<b>1</b>. The output of the comparator CP<b>1</b>, which supplies the voltage Vgb to a ground terminal LG (terminal LG<b>1</b>, LG<b>2</b>, LG<b>3</b> of the circuit ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b>), is looped to the inverting input thereof. Thus, the comparator CP<b>1</b> regulates the voltage Vgb by keeping it equal to the voltage at the node N<b>1</b>. The voltage Vgb supplied by the circuit LGB may therefore be calculated using the following equation: <br /><i>Vgb=R</i>3<i>I</i>ref=<i>V</i>ref<i>R</i>3<i>/R</i> (1)
0052where R is a resistor such that Vref=Iref R. The circuit LGB has the advantage of not being sensitive to variations of the power supply voltage Vdd which may occur in particular when the integrated circuit IC is active due to voltage drops in the internal resistors of the circuit IC and in the event of attack by fault injection.
0053The resistor R<b>3</b> may be adjustable to adjust the local ground voltage Vgb. In the 90 nm technology with the power supply voltage Vdd fixed at 1.3 V, and if Vref is fixed at 0.1 V and if Vgb is adjustable between 1 and 50 mV, then the ratio R<b>3</b>/R of the values of the resistors R<b>3</b> and R is adjustable between 1/100 and ½. Conventionally, the adjustable resistor R<b>3</b> may be made using several resistors connected in series, a switch being mounted in parallel of each resistor mounted in series, each switch being controlled by a bit of a control word.
0054One embodiment of a detection circuit is shown in <figref idref="DRAWINGS">FIG. 7</figref>. In <figref idref="DRAWINGS">FIG. 7</figref>, the detection circuit DETC comprises two resistors R<b>4</b>, R<b>5</b> a capacitor C<b>1</b>, a comparator CP<b>2</b> and a flip-flop FF. The comparator CP<b>2</b> is powered between the power supply voltage Vdd and the substrate ground SGnd. The capacitor C<b>1</b> is connected between the source of the voltage Vdd and the ground SGnd to filter or decrease the possible variations of the voltage Vdd. A direct input of the comparator CP<b>2</b> is connected to the ground terminal LG (terminal LG<b>1</b>, LG<b>2</b>, LG<b>3</b> of the circuit ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b>). The resistors R<b>4</b>, R<b>5</b> are connected in series between a reference voltage source Vref and the ground of the substrate SGnd. The junction node N<b>2</b> between the two resistors R<b>4</b>, R<b>5</b> is connected to an inverting input of the comparator CP<b>2</b>. The output of the comparator CP<b>2</b> is connected to an input of the flip-flop FF which outputs a detection signal DS. The flip-flop FF is for example of RS type to supply a logic signal at 0 as long as the output signal of the comparator is at 0 and a logic signal at 1 as soon as a signal different from zero appears in output of the comparator CP<b>2</b>. The state of the flip-flop FF may be reset at 0 using a reset signal RST supplied to a reset input of the flip-flop. The capacitor C<b>1</b> has a capacitance sufficient to maintain the voltage Vdd in the event of a voltage drop the sufficient time for the detection.
0055The circuit DETC supplies a logic signal DS indicating an attack (for example at 1) as soon as a voltage difference appears between the local ground voltage Vgb and the ground of the substrate SGnd, higher than a threshold voltage TH. The threshold voltage TH is defined by the resistors R<b>4</b>, R<b>5</b> and the reference voltage Vref. Thus, the threshold voltage TH may be determined using the following formula: <br /><i>TH=V</i>ref/(1<i>+R</i>4<i>/R</i>5) (2)
0056The resistors R<b>4</b> and R<b>5</b> may be chosen so that the threshold voltage TH is as low as possible above the voltage VgM or the range LGO (<figref idref="DRAWINGS">FIGS. 3B and 2</figref>) to obtain a high detection sensitivity while avoiding the risk of false detection. One of the two resistors R<b>4</b>, R<b>5</b>, for example the resistor R<b>5</b> may be adjustable to adjust the threshold voltage TH as a function of the local ground voltage Vgb supplied by the bias circuit LGB to obtain a determined detection sensitivity. <figref idref="DRAWINGS">FIGS. 2 and 3B</figref> indicate an adjusting range of the threshold voltage TH located above the adjusting range LGO of the voltage Vgb and between the voltages VgM and VgS. <figref idref="DRAWINGS">FIG. 3B</figref> shows that a compromise is to be found for the threshold TH<b>1</b>, knowing that by increasing the detection sensitivity, the risk of false detection is increased.
0057When the signal DS indicates an attack, any adapted measure may be taken, given that indicating an error may reveal an attack of the integrated circuit IC. Thus, the integrated circuit may, in the event of error detection, for example reset, definitely block, erase the memory thereof or only the sensitive data it memorizes, etc.
0058<figref idref="DRAWINGS">FIG. 8</figref> shows a detection circuit DETC′, according to another embodiment. In <figref idref="DRAWINGS">FIG. 8</figref>, the circuit DETC′ differs from the circuit DETC in that it is configured to connect, not to the local ground terminal of the circuit ISC<b>1</b>, ISC<b>2</b>, ISC<b>3</b>, but to the power supply terminal VS (corresponding to VS<b>1</b>, VS<b>2</b> or VS<b>3</b> in <figref idref="DRAWINGS">FIG. 4</figref>) thereof. The circuit DETC′ differs from the circuit DETC in that the inverting input of the comparator CP<b>2</b> is connected to the terminal VS and the power supply voltage source Vdd is linked to the voltage source Vref through resistors R<b>6</b> and R<b>7</b> connected in series. The junction node N<b>3</b> between the resistors R<b>6</b>, R<b>7</b> is connected to the direct input of the comparator CP<b>2</b>.
0059The circuit DETC′ supplies a logic signal DS indicating an attack (for example at 1) as soon as a voltage difference appears between the power supply voltage at the terminal VS and the power supply voltage Vdd at the output of the circuit GPC, lower than a threshold voltage TH<b>1</b>. The threshold voltage TH<b>1</b> is defined by the resistors R<b>6</b>, R<b>7</b> and the voltages Vdd and Vref. Thus, the threshold voltage TH<b>1</b> may be calculated using the following formula: <br /><i>TH</i>1<i>=V</i>ref+(<i>Vdd−V</i>ref)/(1<i>+R</i>6<i>/R</i>7) (3)
0060The resistors R<b>6</b> and R<b>7</b> may be chosen so that the threshold voltage TH<b>1</b> is as high as possible below the voltage Vdm or the range VDO (<figref idref="DRAWINGS">FIGS. 3A and 2</figref>) to obtain a high detection sensitivity while avoiding the risk of false detection. One of the two resistors R<b>6</b>, R<b>7</b>, for example the resistor R<b>7</b> may be adjustable to adjust the threshold voltage TH<b>1</b> as a function of the power supply voltage Vdd supplied by the power supply circuit GPC to obtain a determined detection sensitivity. <figref idref="DRAWINGS">FIG. 3B</figref> indicates an adjusting range of the threshold voltage TH<b>1</b> located between the voltages VdS and Vdm. <figref idref="DRAWINGS">FIG. 3B</figref> shows that a compromise is to be found for the threshold TH<b>1</b>, knowing that by increasing the detection sensitivity, the risk of false detection is increased.
0061<figref idref="DRAWINGS">FIG. 9</figref> shows a conventional example embodiment of the flip-flop FF. The flip-flop FF comprises two logic gates NOR<b>1</b>, NOR<b>2</b> of NOR type. The output of each gate NOR<b>1</b>, NOR<b>2</b> is connected to an input of the other gate. The gate NOR<b>1</b> comprises an input connected to an input of the flip-flop FF (connected to the output of the comparator CP<b>2</b>) and the gate NOR<b>2</b> comprises an input receiving a reset signal RST from the flip-flop. The output of the gate NOR<b>2</b> is linked to the output of the flip-flop.
0062It will be clear to those skilled in the art that the present disclosure is susceptible of various embodiments and applications. In particular, the disclosure is not limited to an integrated circuit comprising several wells isolated from the main portion of substrate. All the process circuits of the integrated circuit may be formed in one isolated well and one well encircling the isolated well.
0063The disclosure is not limited either to the circuits described for detecting an attack by lighting flash or voltage peaks applied to contact pads of the integrated circuit. Any other circuit making it possible to detect a voltage peak crossing a threshold voltage in the power supply voltage or the ground voltage (isolated from the substrate) of a processing circuit of the integrated circuit may be adapted.
0064A microcircuit portable device according to one embodiment is shown in <figref idref="DRAWINGS">FIG. 10</figref>. In particular, the microcircuit portable device is a chip card CC that includes a support S that typically would be made of plastic, as is typical for chip cards. The chip card CC also includes an integrated circuit such as the integrated circuit IC described above. Those skilled in the art will understand that a microcircuit portable device according to the present disclosure can be implemented using any portable device with a processor that is desired to be protected from hacking attempts.
0065The various embodiments described above can be combined to provide further embodiments. These and other changes can be made to the embodiments in light of the above-detailed description. In general, in the following claims, the terms used should not be construed to limit the claims to the specific embodiments disclosed in the specification and the claims, but should be construed to include all possible embodiments along with the full scope of equivalents to which such claims are entitled. Accordingly, the claims are not limited by the disclosure.
Contents4
5 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US2013193437A1 | Cited by | United States of America | Pre-grant |
| US8809858B2 | Cited by | United States of America | Search report |
| US2003133241A1 | Cites | United States of America | Applicant |
| US2004025135A1 | Cites | United States of America | Applicant |
| US2004143747A1 | Cites | United States of America | Applicant |
| US2006156039A1 | Cites | United States of America | Applicant |
| US2007126100A1 | Cites | United States of America | Applicant |
| US2007171588A1 | Cites | United States of America | Applicant |
| US2009174031A1 | Cites | United States of America | Applicant |
| US2009251168A1 | Cites | United States of America | Applicant |
| US6320770B1 | Cites | United States of America | Applicant |
| US6419159B1 | Cites | United States of America | Applicant |
| US6745331B1 | Cites | United States of America | Applicant |
| US6867637B2 | Cites | United States of America | Search report |
| US6967522B2 | Cites | United States of America | Search report |
| US7002397B2 | Cites | United States of America | Search report |
| US8116050B2 | Cites | United States of America | Search report |
| US20030133241A1 | Cites | United States of America | Applicant |
| US20040025135A1 | Cites | United States of America | Applicant |
| US20040143747A1 | Cites | United States of America | Applicant |
| US20060156039A1 | Cites | United States of America | Applicant |
| US20070126100A1 | Cites | United States of America | Applicant |
| US20070171588A1 | Cites | United States of America | Applicant |
| US20090174031A1 | Cites | United States of America | Applicant |
| US20090251168A1 | Cites | United States of America | Applicant |
| Bar-El, H. et al., “The Sorcerer's Apprentice Guide to Fault Attacks,” Proceedings of the IEEE 94(2):370-382, Feb. 2006. | Non-patent | – | Applicant |
| Bar-El, H. et al., "The Sorcerer's Apprentice Guide to Fault Attacks," Proceedings of the IEEE 94(2):370-382, Feb. 2006. | Non-patent | – | Applicant |
13 members in 4 offices
Priority claims4
| Document | Office | Kind | Date |
|---|---|---|---|
| 1001176 | France | – | |
| 1001177 | France | – | |
| 1001176 | France | A | |
| 1001177 | France | A |
Members13
| Document | Office | Kind | |
|---|---|---|---|
| EP2369622A1 | European Patent Office (EPO) | A1 | |
| US2011234307A1 | United States of America | A1 | |
| WO2011117781A1 | World Intellectual Property Organization (WIPO) | A1 | |
| FR2958078A1 | France | A1 | |
| FR2958098A1 | France | A1 | |
| FR2958078B1 | France | B1 | |
| FR2958098B1 | France | B1 | |
| US2013015900A1 | United States of America | A1 | |
| US8564364B2This record | United States of America | B2 | |
| US8819609B2 | United States of America | B2 | |
| US2015019885A1 | United States of America | A1 | |
| EP2369622B1 | European Patent Office (EPO) | B1 | |
| US9223368B2 | United States of America | B2 |
41 transactions on the USPTO file
Allowed after 1 non-final rejection.
- Non-final rejections
- 1
- Final rejections
- 0
- RCEs
- 0
- Appeals
- 0
Over time
Point at a mark for the transactionTransactions
| Event | Code | |
|---|---|---|
| Expire PatentEXP. | EXP. | |
| Maintenance Fee Reminder MailedREM. | REM. | |
| Recordation of Patent Grant MailedPGM/ | PGM/ | |
| Patent Issue Date Used in PTA CalculationAllowedPTAC | PTAC | |
| Issue Notification MailedAllowedWPIR | WPIR | |
| Dispatch to FDCD1935 | D1935 | |
| Application Is Considered Ready for IssuePILS | PILS | |
| Issue Fee Payment VerifiedN084 | N084 | |
| Issue Fee Payment ReceivedIFEE | IFEE | |
| Mail Notice of AllowanceAllowedMN/=. | MN/=. | |
| Notice of Allowance Data Verification CompletedAllowedN/=. | N/=. | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| Reasons for AllowanceEX.R | EX.R | |
| Examiner's Amendment CommunicationEX.A | EX.A | |
| Interview Summary - Examiner InitiatedEXIE | EXIE | |
| Information Disclosure Statement consideredIDSC | IDSC | |
| Reference capture on IDSRCAP | RCAP | |
| Information Disclosure Statement (IDS) FiledM844 | M844 | |
| Information Disclosure Statement (IDS) FiledWIDS | WIDS | |
| Date Forwarded to ExaminerFWDX | FWDX | |
| Response after Non-Final ActionA... | A... | |
| Mail Non-Final RejectionNon-final rejectionMCTNF | MCTNF | |
| Non-Final RejectionNon-final rejectionCTNF | CTNF | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| PG-Pub Issue NotificationPG-ISSUE | PG-ISSUE | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| Application Dispatched from OIPEOIPE | OIPE | |
| Information Disclosure Statement consideredIDSC | IDSC | |
| Electronic Information Disclosure StatementEIDS. | EIDS. | |
| Information Disclosure Statement (IDS) FiledWIDS | WIDS | |
| Application Is Now CompleteCOMP | COMP | |
| Sent to Classification ContractorPGPC | PGPC | |
| Filing ReceiptFLRCPT.O | FLRCPT.O | |
| Cleared by L&R (LARS)L128 | L128 | |
| Request for Foreign Priority (Priority Papers May Be Included)RQPR | RQPR | |
| Referred to Level 2 (LARS) by OIPE CSRL198 | L198 | |
| IFW Scan & PACR Auto Security ReviewSCAN | SCAN | |
| Information Disclosure Statement consideredIDSC | IDSC | |
| Electronic Information Disclosure StatementEIDS. | EIDS. | |
| Information Disclosure Statement (IDS) FiledWIDS | WIDS | |
| Initial Exam Team nnIEXX | IEXX |
7 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| Lapsed due to failure to pay maintenance feeLapsedFP | FP | |
| Lapse for failure to pay maintenance feesLapsedPATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITYLAPS | LAPS | |
| Information on status: patent discontinuationPATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362STCH | STCH | |
| Fee payment procedureMAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITYFEPP | FEPP | |
| Fee paymentFPAY | FPAY | |
| Information on status: patent grantGrantedPATENTED CASESTCF | STCF | |
| AssignmentAS | AS |
Numbers
- Publication
- 8564364
- Application
- 13071325
Titles
- English
- Countermeasure method and device for protecting against a fault injection attack by detection of a well voltage crossing a threshold
Patent term adjustment
- A delay
- +249 daysthe office missed an examination deadline
- Applicant delay
- −108 days
- Net adjustment
- 141 days
Classification
- CPC, 11
- G06F21/72
- G06F1/26
- G06K19/07309
- H04L2209/12
- Y10T29/49155
- H03K19/003
- H04L9/004
- H10W42/405
- H10W10/014
- H10W10/17
- H03K3/84
- IPC, 3
- H01L27 00
- G05F3 08
- G06F21 72