INTEGRATED RECEIVER CIRCUIT FOR ELECTROMAGNETIC IMPULSE DETECTION IN WIRELESS MICROCONTROLLERS
Patent Information
- Application Number
- DE102018115644
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2017-07-07
- Filing Date
- 2018-06-28
- Publication Date
- 2024-08-29
- Estimated Expiration
- 2038-06-28
Smart Images

Figure DE102018115644B4_0000_ABST
Abstract
Description
AREA OF REVELATION This disclosure relates generally to security circuits, in particular to tamper protection circuits for secure integrated circuits. BACKGROUND Hackers attempt to gain access to cryptographic integrated circuits, such as smart card controllers, in order to steal valuable user data, passwords, and the like. One technique hackers use is to inject electrical faults to cause circuits to malfunction, giving the hackers access to the integrated circuit's memory and other resources. Fault injection poses a serious threat to secure circuits. There are several methods for injecting faults into cryptographic circuits. Methods include laser, voltage, and electromagnetic (EM) fault injection. Laser fault injection is a popular method because of its high spatial and temporal resolution. However, the use of lasers for fault injection has limitations.An increased number of metal layers for signal routing within a chip, as well as progressive countermeasures, increase the inefficiency of laser attacks. Spike injection is also used by injecting a voltage spike directly into a substrate of a targeted integrated circuit. Spike injection results in ground bounces or voltage dips depending on the intensity of the spike. EM fault injection via a targeted electromagnetic pulse is more commonly used for targeted attacks aimed at disrupting the behavior of logic circuits in integrated circuits. US 2015 0 260 759 A1 discloses a tampering system for an electricity meter. The tampering system measures an RF signal received by an antenna in an electricity meter housing to provide a strength signal corresponding to a strength of the RF signal and generates a tampering indicator responsive, at least in part, to a determination that the RF signal strength value exceeds a threshold. US 2014 0 108 786 A1 discloses tamper-protected hardware protected by various techniques, including the use of a tamper protection module in an integrated circuit.The techniques include trusted bootstrapping using secure software entity modules, a new use of hardware that provides a Physical Unclonable Function (PUF), and the use of a configuration fingerprint of a Field Programmable Gate Array (FPGA) used within the tamper-proof hardware. Two types of EM injection platforms are known to be used to induce faults in circuits. The Harmonic EM injection platform generates sine EM waves that can be modulated to generate faults. Harmonic EM injections can disrupt the behavior of an integrated circuit's internal clock, as well as the bias voltage of a true random number generator. Additionally, EM Pulse (EMP) injection, fabricated using a high-voltage pulse generator and an injector, has been shown to generate faults that are exploitable from a cryptanalytic perspective. EMP injection generates a single, powerful EMP at a desired time and location on a targeted integrated circuit, creating a sudden current flow in the power and ground networks of the targeted integrated circuit, causing voltage drops, ground bounces, and timing errors.Each of these forms of fault injection is difficult to defend against. As devices become smaller and more ubiquitous in our environment, vulnerability to security breaches becomes increasingly important and difficult to combat. SHORT SUMMARY The invention provides integrated circuits and a method for protecting an integrated circuit from tampering, as claimed in the independent claims. Embodiments are specified in the dependent claims. SHORT DESCRIPTION OF THE CHARACTERS Fig. 1 shows a flowchart of a method for cryptographically authenticating an integrated circuit during an electromagnetic pulse interrupt, according to some embodiments. Fig. 2 shows a timing diagram of the internal voltage oscillations during electromagnetic fault injection to interrupt the behavior of a logic circuit. Fig. 3 shows a diagram of the electromagnetic pulse-induced magnetic field in an integrated circuit. Fig. 4 shows a block diagram of an electromagnetic pulse fault injection system that a hacker can use to implement the fault injection of Fig. 3. Fig. 5 shows a graphical illustration of an electromagnetic fault injection glitch analysis. Fig. 6 shows a block diagram of an example secure integrated circuit, according to some embodiments. Fig. 7 shows a block diagram of an electromagnetic pulse detection circuit, according to some embodiments.Figure 8 graphically illustrates a superimposed perspective of Figure 5 and the distribution of an antenna of an electromagnetic pulse detection circuit according to some embodiments. Figure 9 illustrates, in block diagram form, a distribution of an antenna and an electromagnetic pulse detection circuit on an integrated circuit layout according to some embodiments. In the following description, the use of the same reference numbers in different drawings indicates similar or identical components. Unless otherwise stated, the word "coupled" and the corresponding verb forms encompass both direct and indirect electrical connection using means known in the art. Unless otherwise stated, any description of direct connection also implies the use of suitable forms of indirect electrical connection. DETAILED DESCRIPTION An integrated circuit includes, in one form, an energy detection circuit, a switch, and a tamper response circuit. The energy detection circuit has an input for receiving a radio frequency (RF) signal, a first output for providing a demodulated signal, and a second output for selectively providing a detection signal. The detection signal is provided in response to sensing by the energy detection circuit detecting that an energy of an internal signal exceeds a first threshold when the energy detection circuit is in a secure mode. The switch alternatively switches the input of the energy detection circuit to an RF input in a normal mode and to an internal antenna in a secure mode.The tamper response circuit is used to disable a function of the integrated circuit in response to activation of the detect signal in secure mode. In yet another embodiment, an integrated circuit comprises a protected circuit, an energy detection circuit, an antenna, a tamper response circuit, and a protection circuit. The energy detection circuit has an input for receiving an RF signal, a first output for providing a demodulated signal, and a second output for selectively providing a detection signal in response to an energy of a first internal signal exceeding a first threshold. The tamper response circuit is operable to activate a protection signal in response to the detection signal in a secure authentication mode. The protection circuit responds to the protection signal to disable a function of the protected circuit. Fig. 1 shows a flowchart of a method for cryptographically authenticating an integrated circuit during an electromagnetic pulse interrupt, according to some embodiments. At block 102, a cryptographic certificate is used to transfer host firmware development and debug access to an authorized developer. Cryptographic authentication is performed at block 104. At block 106, fault injection such as an electromagnetic (EM) pulse (EMP) may be applied to the integrated circuit during cryptographic authentication. Fault injection may also be implemented via voltage glitch and clock glitch. At block 108, a decision is made as to whether the EMP will cause an interrupt during signature validation. During the signature validation process at block 108, a subsequent EMP is applied at block 110.In response to the detection of an EMP of sufficient intensity to disrupt the integrated circuit at either block 106 or 110, the signature is identified as invalid, protecting the firmware integrity. In response to the tamper sensor identifying the signature as valid, the firmware boot process continues. Fig. 2 shows a timing diagram of the internal / localized voltage oscillations during EM fault injection to disrupt the behavior of a logic circuit, according to some embodiments. A graph 200 shows a waveform 220 of the deviation of the supply voltage (Vdd) from its nominal value, a threshold 210 and 212. One method for triggering faults in an integrated circuit is the use of EMP. In the example of Fig. 2, an EMP is injected at approximately 100 nanoseconds (ns) and causes an oscillation of Vdd. The Vdd oscillation causes timing violations if the deviation is outside predefined limits, where threshold 210 is an upper limit specifying the hold violation limit and threshold 212 is a lower limit specifying the setup violation limit. The EMP generates timing violations as a result of voltage glitches.Threshold 210 shows a high Vdd deviation at +50mV and a low Vdd deviation of -50mV. A targeted attack intended to disrupt the behavior of a logic circuit using an EMP delivers a pulse to the integrated circuit with a tamper sensor. Accordingly, an EMP injection with a supply voltage deviation greater than threshold 210 (deviation > 50mV) results in a hold-time violation in the tamper sensor. An EMP injection with a supply voltage deviation less than threshold 212 (deviation < -50mV) results in a setup time violation in the tamper sensor. Fig. 3 shows a diagram of the EMP-induced magnetic field distribution in an integrated circuit according to some embodiments. Diagram 300 shows an EMP probe 310 near the active surface of an integrated circuit. In one example, the EMP injection creates a strong and sudden change in the magnetic field near the target device and / or a portion of the target device. The EMP probe 310 has a loop with a diameter of 100 micrometers (m) and induces a magnetic field in the target device that decreases with increasing distance from the injection point. The defects induced by the EMP probe 310 can be highly localized, as shown in diagram 300. Fig. 4 shows a block diagram of an EMP fault injection system 400 according to one embodiment, with which a localized EMP of the type shown in Fig. 3 can be injected. The EMP fault injection system 400 includes a target device 410, a power supply 415, a host computer system 420, a pulse generator 430, and an EMP probe 440. The host computer 420 is connected to the power supply 415, the pulse generator 430, the EMP probe 440, and the target device 410. In one example, host computer 420 performs an EMP sweep on target device 410. Host computer system 420 is used to provide invalid boot firmware to target device 410. Pulser 430 provides EMP-to-EMP probe 440 for injecting the fault into target device 410. EMP probe 440 is a miniaturized EMP injector positioned over target device 410. Upon receiving a pulse from pulser 430, EMP probe 440 discharges a capacitor bank into a coil, thereby generating an EMP. Pulser 430 waits a predefined time (glitch offset) and outputs a pulse when a trigger signal is issued from target device 410. The host computer system 420 communicates with the target device 410 and monitors the behavior of the target device 410.In one example, power supply 415 is an interruptible power supply that allows host computer system 420 to interrupt the power supply to target device 410 to force a reboot of the target device. In another example, power supply 415 is a control input that causes target device 410 to repeat a critical sequence during the boot process. A stepper motor is used to move the target device 410 and / or the EMP probe 440. A voltage pulse of a specific amplitude (e.g., voltage: 200 V, current: 8 A) is applied by the EMP probe 440 to the surface of the target device 410 for a specific duration (e.g., 5 ns to 100 ns). The host computer system 420 initiates a glitch sweep of the EMP across the surface of the target device 410 to generate a timing error during boot-up of the target device 410. In one example, the sweep is performed with a fixed glitch offset (time) at a predetermined glitch intensity and duration. Upon booting at a first location, the target device 410 is reset, the EMP probe 440 applies the EMP, and the host computer system 420 determines a result. The EMP probe 440 is moved to the next location and the process is repeated.The host computer system 420 continues to monitor the target device 410 to determine when the target device 410 is not functioning properly during the firmware boot authentication process so that the host computer system 420 can provide instructions to read and modify the memory on the target device 410. Fig. 5 graphically illustrates an electromagnetic fault injection glitch analysis according to some embodiments. A graph 500 contains the glitch results of areas 510, 515, and 520. In one example, a system similar to Fig. 4 is used to perform the glitch analysis of graph 500. A sweep is performed on a target device, e.g., a microcomputer with a Cortex-A8 core processor licensed from Advanced RISC Machines, Ltd. of Cambridge, England, executing a test program. The goal of the EMP fault injection system (Fig. 4) is to inject a fault at a time post-reset and at a location on the integrated circuit to cause the integrated circuit to fail during execution of the authentication process, allowing malicious firmware to be made available to the target device.The sweep begins at an initial XY position and continues across the entire device surface at a fixed time after the reset, the so-called "glitch offset." The EMP is set to a fixed intensity and duration. The parameters are applied to the target device until the desired behavior is achieved. Area 510 represents anomalous results, indicating that the EMP injection caused a glitch that would allow a hacker to interrupt the authentication process. Area 515 represents a non-responding target, and area 520 represents an expected result. Fig. 6 shows a block diagram of an exemplary secure integrated circuit 600 according to some embodiments. Integrated circuit 600 includes a protected circuit including a microcontroller unit (MCU) 610, a peripheral bus interface 620, flash memory 631, read-only memory (ROM) 632, random access memory (RAM) 633, tamper response circuit 635, debug interface circuit 636, debug port 650, and EMP detection circuit 675. MCU 610 is a processing device connected to ROM 632 and RAM 633. MCU 610 is also connected to peripheral bus interface 620, flash memory 631, tamper response 635, and debug interface 636. ROM 632 is a non-volatile memory for storing firmware and data associated with the integrated circuit. RAM 633 is used to store program data. Peripheral bus interface 620 is used to connect peripheral devices to MCU 610. Flash memory 631 is a non-volatile storage medium that stores data without power and can be electrically erased and reprogrammed. Blocks of flash memory 631 can be erased, and flash memory 631 can also be completely erased. The debug port 650 connects to the debug interface circuit 636. The debug interface circuit 636 is an electronic interface that provides access to the debug information stored on the MCU 610. The debug port 650 facilitates the development and debugging of the MCU 610; however, the debug port 650 is also used by hackers to gain access to firmware, functionality, and secret data of the MCU 610, another processor, a peripheral device, and / or a memory component connected to the MCU 610. A host can manage and query a target connected to the debug interface circuit 636 via the debug port 650. The debug interface circuit 636 only allows MCU debug access if the debug port provides the correct cryptographic unlocking information. Tamper response circuit 635 is connected to debug interface circuit 636, MCU 610, and the memory blocks (flash memory 631, ROM 632, and RAM 633). Tamper response circuit 635 receives a detection signal from EMP detection circuit 675 when it detects an EMP characteristic of an attempt to hack integrated circuit 600 and performs a protection operation to secure components of integrated circuit 600 in response to the detection signal. The tamper response circuit 635 selectively outputs a response to the debug interface circuit 636, MCU 610, or flash memory 631 when a detection signal is received from the EMP detection circuit 675, thereby detecting a security breach of the integrated circuit 600. The EMP detection circuit 675 includes an RF receiver circuit 680, an internal antenna 684, a switch 686, and an RF input terminal 682. The switch 686 switches the input of the RF receiver circuit 680 to the RF input terminal 682 in a normal operating mode for the integrated circuit 600. In a safe operating mode, the switch 686 switches to the internal antenna 684. In response to an EMP fault, the RF receiver circuit 680 activates a detection signal and provides the detection signal to the tamper response circuit 635. The tamper response circuit 635 disables a function of the integrated circuit 600. During operation, the integrated circuit 600 provides, among other things, certain secure functions such as storing secure keys and storing protected information. The information stored in the flash memory 631 is protected by cryptographic authentication. During the boot process of the integrated circuit 600, the EMP detection circuit 675 detects a fault injection and outputs a detection signal to the tamper response circuit 635. The tamper response circuit 635 dynamically provides a response to the detection signal. For example, the tamper response circuit 635 can reset the integrated circuit 600. In another example, the tamper response circuit 635 selectively erases sensitive information from the integrated circuit 600.In another example, tamper response circuitry 635 enables debug interface 636 to invalidate a cryptographic authentication operation and disable access to debug interface 636. Tamper response circuitry 635 deletes secrets and / or functions of integrated circuit 600 in response to detection of fault injection by EMP detection circuitry 675 in accordance with a tamper response policy. EMP detection circuitry 675 detects EMP attacks on integrated circuit 600. Specifically, EMP detection circuitry 675 detects when an internal signal received at internal antenna 684 exceeds a predetermined threshold for the power induced by fault injection attacks. It also utilizes RF receiver circuitry already present on integrated circuit 600 to detect attempts to hack the circuit using an EMP when the RF receiver is not needed for other purposes, such as during a secure authentication operation prior to debugging or firmware updates. Thus, EMP detection circuitry 675 provides additional security against attempts to hack the integrated circuit with only a few additional circuits. Fig. 7 shows a block diagram of the EMP detection circuit 675 of Fig. 6 according to some embodiments. The EMP detection circuit 675 includes an internal antenna 684, an external antenna 704, a switch 705, an amplifier 701, a power detector 742, an automatic gain control circuit 703, a register 715, an RF receiver circuit 680, and a demodulator 790. The EMP detection circuit 675 has an input for receiving an RF signal from the internal antenna 684 or the external antenna 704. The switch 705 is connected to the input of the RF receiver circuit 680. The amplifier 701 has an input connected to the circuit 705 for receiving the input signal, a control input, and an output. The amplifier 701 may be an operational amplifier.The input of amplifier 701 can produce an amplified signal at the amplifier output that is not inverted with respect to the signal received at the input of amplifier 701, i.e., the amplifier input can be a positive input. Automatic gain control circuit 703 has a first input for receiving the input signal, a first output connected to amplifier 701, and a second output. The output of amplifier 701 is connected to power detector 742. Power detector 742 has an input for receiving the internal signal and an output. Automatic gain control circuit 703 has an input connected to the output of power detector 742, a first output connected to the control input of amplifier 701, and a second output.Register 715 is a set-reset flip-flop with a set input labeled "S" at the second output of control circuit 703, a reset input labeled "R" for receiving a signal labeled "ACTIVATE DETECTOR," and a Q output connected to tamper response circuit 635 of Fig. 6 for providing the detection signal. RF receiver 710 has an input for receiving the output of amplifier 701 and an output. Demodulator 790 is connected to the output of RF receiver circuit 710. The demodulated signal generated by demodulator 620 at its output can be received at the MCU via peripheral bus 620 for further processing and triggering MCU procedures to protect the MCU from EMP attacks. The EMP detection circuit 675 detects when the energy of an internal signal received by the internal antenna 684 exceeds a predetermined threshold. During safe operation of the integrated circuit 600, the EMP detection circuit 675 switches to the internal antenna 684; otherwise, the switch 705 is set to receive signals from the external antenna 704. In safe mode, a broadband signal is received at the power detector 742. The power detector 742 outputs a peak power of the broadband signal. The automatic gain control circuit 703 reduces the gain of the signal received by the RF receiver circuit 680. The automatic gain control circuit 703 compares the peak power of the internal signal to the predetermined threshold.If a fault injection is detected by the EMP detection circuit 675 by applying an EMP, the voltage glitch exceeds the predetermined peak power threshold, and the automatic gain control circuitry triggers the Q of register 715 to register the logic high by triggering the "Set" signal from register 715. In response to the Q of register 715 triggering, a detection signal is provided to the tamper response circuit 635 indicating the detection of a fault injection. The tamper response circuit 635 enables a protection operation to be executed. Upon receipt of a signal at the "Reset" input of register 715, the Q output of register 715 is set to "0," and the EMP detection circuitry 675 is armed to continue monitoring the fault injection. By detecting that the peak power of the signal from the internal antenna 684 exceeds the predetermined peak power threshold, the EMP detection circuit 675 reliably detects the application of an EMP and generates the detection signal to prevent the EMP from interfering with an important operation such as a cryptographic authentication operation, thereby preventing hacking of the integrated circuit. Note that the amplifier 701, the power detector 742, and an automatic gain control (AGC) control circuit 703 form an AGC loop included in the RF receiver circuit 680 for use in the normal operating mode, and the RF receiver circuit 680 is capable of detecting an EMP received by the internal antenna 684 in the secure mode with only a very small amount of additional hardware.In another embodiment, automatic gain control circuit 703 may monitor the dynamic behavior of the gain of the signal received at internal antenna 684. A rapid gain reduction indicates the detection of a rising edge of an EMP. Therefore, automatic gain control circuit 703 detects a rising edge of the output signal of power detector 742 when a rate of gain reduction over time exceeds a gain reduction threshold, thereby triggering the detection signal. In another embodiment, an integrated circuit without an RF receiver could also implement the EMP detection mechanism. Integrated circuit 600 would include internal antenna 684, but a simple detection circuit would replace RF receiver circuit 680. In one particular embodiment, the detection circuit could be a broadband energy detector with a rectifier followed by a fast-attack (filter state rises quickly), slow-release (filter state falls slowly) filter. A comparator, such as the comparator of automatic gain control circuit 703 described above, would compare the filter's output to the predetermined threshold. The comparator's output would then set the state of a register, such as register 715, to generate the detection signal as described above.Thus, the integrated circuit could take advantage of this EMP detection capability by adding only one detection circuit that is much smaller than the 680 RF receiver circuit. Fig. 8 graphically illustrates an overlaid perspective of Fig. 5 and the distribution of an antenna of an electromagnetic pulse detection circuit according to some embodiments. The graphic 800 includes the internal antenna 684, the integrated circuit 832, and the glitch result 820, 822, 824, 830, and 834. In this embodiment, the internal antenna 684 is distributed throughout the integrated circuit 832 by less than a predetermined distance relative to an expected fault injection range. The formed network of tamper sensors enables the detection of the glitch result 820, 822, 824, 830, and 834 resulting from the fault injection analysis shown in Fig. 5. Fig. 9 shows a block diagram of the integrated circuit 832 of Fig. 8 with internal antenna 684 and a continuity test circuit 900 for use with internal antenna 684. The continuity test circuit 900 includes the internal antenna 684, switches 910 and 920, a register 915, a voltage source 930, an ammeter 940, and a comparator 950. As shown in Fig. 8, the internal antenna 684 is configured in a serpentine pattern on the integrated circuit 832. The continuity test circuit 900 is located between the first and second ends of the internal antenna 684. In secure mode, switches 910 and 920 connect pass-through circuit 900 to both ends of internal antenna 684. Pass-through circuit 900 detects tampering at internal antenna 684 when internal antenna 684 does not conduct sufficient current from one end to the other. Ammeter 940 measures the current through internal antenna 684 when voltage source 930 is connected in series between the two ends of internal antenna 684. To avoid a virtual short circuit, voltage source 930 has a high internal resistance to limit its output current. Comparator 950 receives a voltage from ammeter 940 that is representative of the current flowing through internal antenna 684. Comparator 950 compares the output of ammeter 940 to a threshold voltage labeled "VTH." When the output of ammeter 940 falls below VTH, the output of comparator 950 goes high and sets register 915.Thus, if the internal antenna 684 is disturbed (e.g., cut, tampered, removed, or destroyed), the current through the ammeter 940 is also interrupted, causing a logic "1" to be applied to the "Set" input of register 915. Providing a logic "1" to register 915 forces the output of register 915 high, causing register 915 to provide a signal labeled "TRANSFERENCE FAULT" to the tamper response circuit 635. Thus, the secure integrated circuit not only includes an internal antenna connected to an input of an existing RF receiver to detect a high-energy EMP, but it also detects a loss of continuity in the internal antenna resulting from attempts to bypass the internal EMP detection mechanism. In one particular embodiment, a pass-through integrated circuit may be manufactured as follows. First, the integrated circuit is laid out to form a layout similar to the layout of integrated circuit 832. Generally, an integrated circuit designer provides a netlist for the integrated circuit to a commercially available place-and-route tool, which automatically layouts the electronic components in the integrated circuit to meet timing requirements. However, the designer specifies the desired position of the internal antenna 684. The method includes defining a route for the internal antenna 684 such that all points on the integrated circuit 600 are within a predetermined distance of the internal antenna 684. The method includes connecting an input of the tamper response circuit 635 to the reset input of register 915 and register 715.The method includes distributing the internal antenna 684 in a serpentine pattern on the integrated circuit 600 and placing the pass-through circuit 900 between the first and second ends of the internal antenna 684. The method includes connecting the outputs of the pass-through circuit 900 and the EMP detection circuit 675 to the tamper response circuit 635. Second, the integrated circuit is manufactured according to the layout. Manufacturing can be carried out using conventional complementary metal-oxide-semiconductor (CMOS) chip manufacturing processes. The manufacturing process includes steps such as doping the semiconductor wafer to form active regions of transistors, patterning and etching gate electrodes and electrical connections, polishing various layers for planarization, testing the finished integrated circuit, encapsulating the integrated circuit chip in an integrated circuit package for mounting on printed circuit boards, and the like. The above-disclosed subject matter is to be considered illustrative and not restrictive, and the appended claims are intended to cover all modifications, improvements, and other embodiments that fall within the true scope of the claims. In one embodiment, a basic tamper sensor circuit includes a hold time violation detection circuit and a setup time violation detection circuit. Each circuit detects the respective fault injection that triggers either a low hold time violation or a low setup time violation. In one example, setup time and hold time violation circuits are randomly distributed on an integrated circuit. In another example, setup time and hold time violation circuits are strategically placed to secure a particular element on an integrated circuit.In an alternative embodiment, the tamper sensor circuit includes paired clusters of setup time and hold time violation circuits. In another embodiment, the tamper sensor circuit utilizes quad clusters. Therefore, to the extent permitted by law, the scope of the present invention is to be determined by the broadest possible interpretation of the following claims and their equivalents, and is not to be restricted or limited by the foregoing detailed description.
Claims
An integrated circuit (600) comprising: an energy detection circuit (680) having an input for receiving a radio frequency (RF) signal, a first output for providing a demodulated signal, and a second output for selectively providing a detection signal in response to detecting that an energy of an internal signal exceeds a first threshold in a secure mode; a switch (682, 684, 686) for alternatively switching the input of the energy detection circuit to an RF input terminal (682) in a normal mode and to an internal antenna (684) in the secure mode; and a tamper response circuit (635) for disabling a function of the integrated circuit in response to activation of the detection signal in the secure mode. The integrated circuit of claim 1, wherein the energy detection circuit detects that the energy of the internal signal exceeds the first threshold by comparing a power of the internal signal with the first threshold using an automatic gain control circuit. The integrated circuit of claim 2, wherein the energy detection circuit further comprises:an amplifier (701) having a positive input coupled to a switch and an output;a power detector (742) having an input for receiving the internal signal and an output;wherein the automatic gain control circuit (703) has a first input for receiving a peak power of the internal signal, a first output to the amplifier, and a second output; anda register (715) having an output for providing a detect signal that is set in response to an activation of the output of the automatic gain control circuit and reset in response to a detector activation signal. The integrated circuit of claim 3, wherein the automatic gain control circuit detects that the energy of the internal signal exceeds the first threshold by comparing the peak power of the internal signal with the first threshold using the power detector. The integrated circuit of claim 3 or claim 4, wherein the automatic gain control circuit: monitors a dynamic behavior of the gain when the gain is applied to the internal signal; and responsively detects an increase in the power of the internal signal when a reduction in a gain rate over time exceeds a gain reduction threshold. The integrated circuit of any one of claims 1 to 5, wherein the energy detection circuit further comprises:an RF receiver (710) having an input for receiving the RF signal; anda demodulator circuit (790) for providing the demodulated signal. The integrated circuit of any one of claims 1 to 6, further comprising:a continuity test circuit (900) coupled to first and second ends of the internal antenna (684) for selectively providing a continuity error signal in response to detecting a break in the continuity of the internal antenna; andwherein the tamper response circuit further disables the function in response to the continuity error signal. The integrated circuit according to one of claims 1 to 7, wherein the internal antenna is routed on the integrated circuit such that all points on the integrated circuit are within a predetermined distance from the internal antenna. The integrated circuit of claim 8, wherein the internal antenna is routed in a serpentine pattern on the integrated circuit. The integrated circuit of any one of claims 1 to 8, wherein the tamper response circuit places the circuit in secure mode in response to an authentication operation. The integrated circuit of any one of claims 1 to 10, wherein the tamper response circuit places the switch into secure mode in response to a debug interface operation. An integrated circuit (600) comprising: a protected circuit (610, 620, 631, 632, 633, 635, 636, 650, 675); an antenna (684) for receiving a radio frequency (RF) signal; an energy detection circuit (680) having an input coupled to the antenna, a first output for providing a demodulated signal, and a second output for selectively providing a detection signal in response to detecting that an energy of a first internal signal exceeds a first threshold; a tamper response circuit (635) for activating a protection signal in response to the detection signal in a secure authentication mode; and a protection circuit responsive to the protection signal for disabling a function of the protected circuit. The integrated circuit of claim 12, wherein the energy detection circuit detects that the energy of the first internal signal exceeds the first threshold by comparing a peak power of the first internal signal with the first threshold using an automatic gain control circuit (703). The integrated circuit of claim 13, wherein the energy detection circuit further comprises:an amplifier (701) having a positive input coupled to a switch (686, 705) and an output;a power detector (742) having an input for receiving the first internal signal and an output;the automatic gain control circuit has a first input for receiving the peak power of the first internal signal, a first output to the amplifier, and a second output; anda register (715) having an output for providing the detect signal, which is set in response to an activation of the output of the automatic gain control circuit, and a reset in response to a detector activation signal. The integrated circuit of claim 14, wherein the energy detection circuit further comprises:an RF input terminal (682);the switch for coupling the input of the energy detection circuit to the RF input terminal in a normal operating mode and to the antenna in the secure authentication mode; andthe tamper response circuit for selectively placing the switch in the secure authentication mode. The integrated circuit of claim 15, wherein the tamper response circuit places the switch in the secure authentication mode in response to an authentication request. The integrated circuit of claim 15, wherein the tamper response circuit places the switch in the secure authentication mode in response to initiation of a debug interface operation. The integrated circuit of claim 13, wherein the automatic gain control circuit detects that the energy of the first internal signal exceeds the first threshold by comparing a peak power of the first internal signal with the first threshold using a power detector (742). The integrated circuit of claim 13, wherein the automatic gain control circuit: monitors a dynamic behavior of a gain when the gain is applied to the first internal signal; and responsively detects a power increase of the first internal signal when a reduction in a gain rate over time exceeds a gain reduction threshold. The integrated circuit of claim 12, wherein the energy detection circuit selectively provides a detection signal in response to detecting that an energy of a respective internal signal exceeds a corresponding threshold. The integrated circuit of claim 12, further comprising: a continuity test circuit coupled to the first and second ends of the antenna for selectively providing a continuity error signal in response to detecting a break in the continuity of the antenna; and wherein the tamper response circuit further provides the protection signal in response to the continuity error signal. The integrated circuit of claim 21, wherein the antenna is routed on the integrated circuit such that all points on the integrated circuit are within a predetermined distance from the antenna. The integrated circuit of claim 21, wherein the antenna is routed in a serpentine pattern on the integrated circuit. The integrated circuit of claim 12, wherein the energy detection circuit provides the demodulated signal to the protected circuit in response to the RF signal in a normal operating mode. A method for protecting an integrated circuit (600) from tampering, comprising: in a normal operating mode: switching an input of a radio frequency (RF) receiver (680) to an RF input terminal (682) of the integrated circuit; receiving an RF input signal at the RF input terminal using the RF receiver; and demodulating the RF input signal received at the RF input terminal, and in a secure authentication mode: switching the input of the RF receiver to an antenna (684) on the integrated circuit; detecting that an energy of a first internal signal of the RF receiver exceeds a first threshold; providing a detection signal in response to the detection; and disabling a function of the integrated circuit in response to activation of the detection signal. The method of claim 25, wherein disabling the function comprises an authentication operation. The method of claim 25, wherein disabling the function comprises a debug operation. The method of claim 25, wherein detecting comprises comparing a power of the first internal signal to the first threshold using an automatic gain control circuit. The method of claim 25, wherein detecting comprises comparing a peak power of the first internal signal to the first threshold using a power detector. The method of claim 25, wherein detecting comprises detecting that an energy of any one of a plurality of internal signals exceeds a corresponding threshold. The method of claim 25, further comprising:testing continuity between the first and second ends of the antenna;selectively providing a continuity fault signal in response to detecting a break in the continuity of the antenna; anddisabling the function of the integrated circuit in response to activation of the continuity fault signal. The method of claim 25, wherein switching the input of the RF receiver to the antenna comprises switching the input of the RF receiver to an internal antenna routed on the integrated circuit such that all points on the integrated circuit are within a predetermined distance of the antenna. The method of claim 25, wherein switching the input of the RF receiver to the antenna comprises switching the input of the RF receiver to an internal antenna having a serpentine pattern on the integrated circuit.
Citation Information
Patent Citations
Tamper-protected hardware and method for using same
US20140108786A1
Tampering detection for an electric meter
US20150260759A1
