Electronic Circuits
By introducing finite state machines and advanced encryption standard algorithms into electronic circuits, combined with external generation of decryption keys and interface reception mechanisms, the problem of reverse engineering attacks accessing decryption keys is solved, and strong access to read-only memory data is achieved. Encryption and security improvements.
Patent Information
- Application Number
- CN202010525123.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-06-11
- Filing Date
- 2020-06-10
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-06-10
AI Technical Summary
Existing technology is difficult to effectively protect against reverse engineering attacks. Attackers can decrypt and read hard-coded data by studying the decryption key in the read-only memory, and then control the circuit or device.
Introduce a finite state machine into the electronic circuit and receive the decryption key through the interface for data decryption. Ensure that the decryption key is generated and provided outside the circuit. The data is encrypted using the Advanced Encryption Standard (AES) algorithm and stored in the volatile memory. Store decrypted data in the circuit to avoid decryption keys being stored in the circuit.
It effectively prevents reverse engineering attacks and ensures that the data stored in the read-only memory cannot be decrypted and read by unauthorized persons, thereby improving the security of circuits and devices.
Smart Images

Figure CN112069551B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates generally to electronic circuits and devices and more particularly to the protection of such circuits and devices. The present description applies more particularly to protecting electronic circuits and devices from reverse engineering type techniques that may lead to malicious behavior. Background Art
[0002] Electronic circuits and devices may be subject to different types of attacks. These attacks may be aimed at recovering data stored in the circuit or device, and / or altering the operation of the circuit or device.
[0003] Attackers use different techniques to perform these attacks, one of which is reverse engineering. Reverse engineering involves studying an object to determine its inner workings and / or how it was manufactured. In the case of circuits or electronic devices, reverse engineering techniques can include partial or complete study of the components and their arrangement in the circuit or device. Through this study, the attacker can, for example, develop a model that allows him to simulate the operation of the circuit or device. Summary of the invention
[0004] There is a need in this area for more reliable and effective protection against reverse engineering type techniques.
[0005] One embodiment helps address all or part of the shortcomings of known protections against reverse engineering techniques.
[0006] One embodiment provides a device in which data stored in a read-only memory is indecipherable.
[0007] One embodiment provides an electronic circuit incorporating a read-only memory storing encrypted data, without the presence of a decryption key in the circuit.
[0008] Another embodiment provides a method for decrypting data stored in a read-only memory of an electronic circuit, wherein the data is decrypted using a decryption key that is not present in the circuit.
[0009] According to one embodiment, the circuit incorporates a finite state machine.
[0010] According to one embodiment, the decryption key is supplied to a finite state machine.
[0011] According to one embodiment, the encryption key is supplied to the finite state machine during an activation phase.
[0012] According to one embodiment, data is decrypted via a finite state machine.
[0013] According to one embodiment, the data is decrypted each time it is used.
[0014] According to one embodiment, the circuit further incorporates a non-volatile memory.
[0015] According to one embodiment, the circuit further incorporates a volatile memory.
[0016] According to one embodiment, the data is stored in volatile memory.
[0017] According to one embodiment, data is stored in volatile memory before being stored in non-volatile memory.
[0018] According to one embodiment, the data are encrypted by means of an “Advanced Encryption Standard” type algorithm.
[0019] In one embodiment, the electronic circuit includes: an interface that receives a decryption key in operation; a read-only memory that stores encrypted data; and a cryptographic circuit system coupled to the interface. In operation, the cryptographic circuit system uses the decryption key received via the interface to decrypt the encrypted data. The electronic circuit performs one or more operations using the decrypted data. In one embodiment, the cryptographic circuit system includes a finite state machine. In one embodiment, the decryption key is supplied to the finite state machine via the interface. In one embodiment, the decryption key is supplied to the finite state machine during an activation phase. In one embodiment, the data is decrypted by the finite state machine. In one embodiment, the electronic circuit includes a non-volatile memory. In one embodiment, the electronic circuit includes a volatile memory. In one embodiment, the cryptographic circuit system stores the decrypted data in the volatile memory in operation. In one embodiment, the electronic circuit includes a non-volatile memory, wherein the data is stored in the volatile memory before being stored in the non-volatile memory. In one embodiment, the data is encrypted by an algorithm of the "Advanced Encryption Standard" (AES) type. In one embodiment, the electronic circuit includes one or more processing cores, wherein the one or more operations include a startup operation of the one or more processing cores.
[0020] In one embodiment, a method includes: an electronic device receives a decryption key via an interface of the electronic device; uses the decryption key to decrypt encrypted data stored in a read-only memory of the electronic device; and the electronic device performs one or more operations using the decrypted data, wherein the decryption key was not stored in the electronic device before receiving the decryption key via the interface. In one embodiment, the method includes receiving the decryption key during an activation phase of the electronic device. In one embodiment, the method includes storing the decrypted data in a volatile memory of the electronic device. In one embodiment, the one or more operations include a startup operation of the electronic device. In one embodiment, the method includes: coupling the electronic device to another electronic device via an interface; and receiving the decryption key from the other electronic device via the interface, wherein the one or more operations include authenticating compatibility of the electronic device and the other electronic device.
[0021] In one embodiment, a system includes: a first electronic device; and a second electronic device coupled to the first electronic device, the second electronic device including: a read-only memory storing encrypted data; and a cryptographic circuit system coupled to the read-only memory, the cryptographic circuit system in operation using a decryption key received from the first electronic device to decrypt the encrypted data, wherein, in operation, the second electronic device uses the decrypted data to perform one or more operations. In one embodiment, in operation, the first electronic device provides the decryption key to the second electronic device during an activation phase of the second electronic device. In one embodiment, the one or more operations include authenticating compatibility of the first electronic device and the second electronic device. In one embodiment, the first electronic device is a printer and the second electronic device is a printer cartridge. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above features and advantages and other features and advantages will be described in detail in the following description of specific embodiments given by way of example and not limitation with reference to the accompanying drawings, in which:
[0023] Figure 1 An example of an electronic device susceptible to reverse engineering techniques is shown very schematically in block diagram form;
[0024] Figure 2 An embodiment of an electronic device is shown very schematically in the form of a block diagram;
[0025] Figure 3 Another embodiment of the electronic device is shown very schematically in block diagram form; and
[0026] Figure 4 Shows the combination Figure 2 and 3 Schematic diagram of an exemplary application of the described embodiments. DETAILED DESCRIPTION
[0027] In the various drawings, similar features have been denoted by similar reference numerals. In particular, common structural and / or functional features between the various embodiments may have the same reference numerals and may be arranged with the same structure, dimensions and material properties.
[0028] For the sake of clarity, only the operations and elements that are helpful for understanding the embodiments described herein are illustrated and described in detail.
[0029] In particular, the complete cryptographic algorithm using the encryption key and / or decryption key will not be described in detail, and the described embodiments apply the usual algorithm.
[0030] Unless otherwise specified, when two elements are referred to as being connected together, this means a direct connection without any intermediate elements except conductors; and when two elements are referred to as being coupled together, it means the two elements may be connected or they may be coupled via one or more other elements.
[0031] In the following disclosure, unless otherwise stated, when referring to absolute position qualifiers (such as terms "front", "back", "top", "bottom", "left", "right", etc.) or relative position qualifiers (such as terms "above", "below", "higher", "lower", etc.) or directional qualifiers (such as "horizontal", "vertical", etc.), reference is made to the orientation shown in the figure.
[0032] Unless otherwise specified, "about," "approximately," "substantially," and "approximately" mean within 10%, preferably within 5%.
[0033] Figure 1 is a highly schematic block diagram of an exemplary electronic circuit 10 that is susceptible to certain reverse engineering techniques. For example, circuit 10 is a microcontroller.
[0034] The electronic circuit 10 is provided with at least one processor 12 (CPU) configured to process data stored in the memory.
[0035] The circuit 10 further comprises at least one read-only memory 14 (ROM), at least one random access memory 15 (RAM) and at least one non-volatile memory 16 (NVM).
[0036] The read-only memory 14 is a memory in which data is written once and can be read multiple times. More specifically, the read-only memory 14 is a memory in which data is hard-coded, i.e., a memory in which the data is fixed by manufacturing (e.g., by conductive tracks or by unchangeable doped regions). Thus, the data of the read-only memory 14 is retained when the circuit 10 is powered on or off. Read-only memories of the type read-only memory 14 are generally useful for storing:
[0037] Data related to circuit startup (e.g., data or instructions used or executed as part of a startup process);
[0038] data that may enable tests to be performed on the circuit, such as tests performed during circuit manufacture or tests that may diagnose the source of failures and / or errors during use;
[0039] Data that can authenticate the circuit or another circuit; and / or
[0040] Data related to certain functions of the startup circuit 10.
[0041] Hard-coded data is data that is particularly sensitive to reverse engineering techniques. In fact, research into the electronic components of the read-only memory and its arrangement may be sufficient to read the hard-coded data.
[0042] The volatile memory 15 is a memory that stores data electrically therein and does not retain the data during power-off of the circuit 10. This is a memory that stores data that is only useful during operation of the circuit 10. The volatile memory 15 is, for example, a "random access memory" (RAM) type of memory.
[0043] The non-volatile memory 16 is a memory that stores data electrically therein and can retain the data during power-off of the circuit 10. This is a memory that stores data that can be written during use of the memory and that can be useful during multiple consecutive uses of the circuit 10.
[0044] When the data processed by the circuit 10 is considered sensitive, the data stored in the memories 14, 15, 16 can and may be encrypted. For example, these data are encrypted using encryption and / or decryption keys through one or more different cryptographic algorithms. The encryption and / or decryption keys that can encrypt and / or decrypt the data of the memories are also usually stored in the memories 14, 15 and / or 16, in the connected registers and / or in the digital part of the circuit 10. More particularly, the key that can decrypt the data stored in the read-only memory 14 is usually stored in the digital part of the circuit. In fact, the data stored in the read-only memory is usually the data used by the circuit 10 to start, and the decryption key associated with it must be accessible when the circuit 10 is powered on, so the decryption key is hard-coded in the circuit. One disadvantage of this is that an impostor can use reverse engineering technology to access the encrypted data and its decryption key stored in the read-only memory 14. Therefore, the impostor can successfully decrypt and read the hard-coded data. Furthermore, by using these data, the pirate can, for example, take control of the processor 12 and divert its use, for example to access data stored in other memories of the circuit 10 , such as the volatile memory 15 and the non-volatile memory 16 .
[0045] Figure 2 is a very schematic illustration in the form of a block diagram of one embodiment of the electronic circuit 20. For example, the electronic circuit 20 is a microcontroller. Figure 4 A practical exemplary application of the electronic circuit 20 is described.
[0046] The electronic circuit 20 is equipped with at least one processor 22 (CPU) (eg, one or more processing cores, processing circuits, etc. and various combinations thereof) configured to process data stored in the memory.
[0047] The circuit 20 further comprises at least one read-only memory 24 (ROM), at least one random access memory 25 (RAM) and at least one non-volatile memory 26 (NVM).
[0048] The read-only memory 24 is combined with Figure 1 The ROM 24 is a read-only memory of the type described above for the ROM 14 of the circuit 10. According to one embodiment, the ROM 24 stores only data that is necessary during power-up of the circuit 20. For example, the ROM 24 stores only data related to the startup of the circuit 20, and this data can authenticate the circuit 20. One advantage is that the ROM 24 can be substantially smaller than the ROM 14.
[0049] The volatile memory 25 is combined with Figure 1 The volatile memory 15 of the circuit 10 described is a volatile memory of the type described.
[0050] The non-volatile memory 26 is combined with Figure 1 The non-volatile memory 16 of the circuit 10 is of the type described.
[0051] As combined Figure 1 As described, the data stored in the memories 24, 25 and 26 can be encrypted by one or several different encryption algorithms or cryptographic algorithms using encryption keys and decryption keys. According to one embodiment, the encrypted data stored in the read-only memory 24 is encrypted by a strong encryption algorithm. As an example, the encryption algorithm is an algorithm of the "Advanced Encryption Standard" (AES) type.
[0052] According to one embodiment, the decryption key for the encrypted data stored in the read-only memory 24 of the circuit 20 is not stored in the circuit 20, more specifically, not stored in any of the memories 24, 25 and 26 or in the digital portion of the circuit 20. Moreover, in an embodiment, data that allows the generation of the decryption key, or "generation data", is also not stored in the circuit 20, and more specifically not stored in any of the memories 24, 25 and 26 or in the digital portion of the circuit 20. Therefore, an impostor using reverse engineering techniques can only access the encrypted data, such as strongly encrypted data, stored in the read-only memory 24, but cannot access the key to decrypt the data.
[0053] According to one embodiment, the circuit 20 further includes at least one finite state machine 28 (FSM), which may include, for example, logic circuits, processing cores, cryptographic circuit systems, etc. and various combinations thereof. The finite state machine 28 is adapted to receive data from the read-only memory 24 and data from a user (USER). The finite state machine 28 is adapted to write data in the volatile memory 25 and / or the non-volatile memory 26. The finite state machine 28 is also adapted to perform data decoding operations. More particularly, the finite state machine 28 is adapted to: once a decryption key is provided to it, it decrypts the encrypted data stored in the read-only memory 24. For example, the finite state machine 28 is adapted to decrypt data encrypted using an AES type encryption key.
[0054] The operation of the circuit 20 is as follows. The circuit 20 includes two different life phases. The first phase is the manufacturing and testing phase of the circuit 20, and the second phase is the activity phase of the circuit 20, for example, at the user end. The first phase ends with the testing and activation phase or activation step described below.
[0055] During the manufacturing stage, the boot program data of the circuit 20 is stored in the read-only memory 24 and encrypted by a strong encryption algorithm. The decryption key does not exist in the memories 24, 25 and 26 of the circuit 20, and the circuit 20 cannot be started because the processor cannot access the encrypted data to implement the boot program.
[0056] The manufacturing phase ends with an activation step of the circuit 20. During this step, the user provides the circuit 20 with a decryption key for the encrypted data stored in the read-only memory 24. More specifically, the user provides the decryption key to the finite state machine 28, for example via the interface 71. The finite state machine 28 uses the received decryption key to decode all or part of the encrypted data stored in the read-only memory 24, which in one embodiment may include all the data of the read-only memory 24. Next, the finite state machine 28 stores the decrypted data in the volatile memory 25. Then, the circuit 20 can start up using the data stored in the volatile memory 25.
[0057] According to a variant embodiment, once the decryption of the encrypted data stored in the read-only memory 24 is completed, the finite state machine 28 can further perform a test that can verify whether the encrypted data is correctly decrypted. An exemplary test can be as follows. For example, the finite state machine 28 can verify whether the decrypted data, for example at the end of the data packet, is correct relative to the test data. If the value is correct, the finite state machine 28 can write the decrypted data to the volatile memory 25 or the non-volatile memory 26. If the value is incorrect, the value will not be written to the volatile memory 25 or the non-volatile memory 26. If the data is not correctly decrypted, this may mean that the decryption key provided by the user is incorrect.
[0058] In the active phase, the circuit 20 is activated thanks to the data present in the volatile memory 25 or in the non-volatile memory 26. The circuit 20 then no longer uses the read-only memory.
[0059] In one embodiment, each time the circuit 20 is powered on, the processor 22 may perform a test to determine whether the activation step has occurred. More specifically, the test may be able to determine the memory in which the processor 22 must look for startup and / or authentication data, i.e., in the read-only memory 24 or the non-volatile memory 26. For example, the test may include looking for specific information written to the non-volatile memory 26.
[0060] Combination Figure 2 One advantage of the described embodiment is that the encrypted data stored in the read-only memory 24 are protected by a strong encryption algorithm and the key that could decrypt them is not stored in the circuit 20 .
[0061] Another advantage of this embodiment is that the startup and / or authentication data required each time the circuit 20 is powered on is electronically stored in the non-volatile memory 26. Therefore, the startup and / or authentication data is not accessible and the circuit 20 cannot be powered on. Compared to hard data storage, electronic data storage is less susceptible to reverse engineering techniques.
[0062] Figure 3 is a very schematic illustration in the form of a block diagram of another embodiment of an electronic circuit 30. Figure 2 Similar to the electronic circuit 20 described above, the electronic circuit 30 is, for example, a microcontroller. Figure 4 A practical exemplary application of the electronic circuit 30 is described.
[0063] The electronic circuit 30 is equipped with at least one processor 32 (CPU) (eg, logic circuit, one or more processor cores, etc.) configured to process data stored in the memory.
[0064] The circuit 30 further comprises at least one read-only memory 34 (ROM), at least one random access memory 35 (RAM) and at least one non-volatile memory 36 (NVM).
[0065] The read-only memory 34 is combined with Figure 1 and Figure 2 The described circuits 10 and 20 are of the type of read-only memory 14 and 24. According to one embodiment, like read-only memory 24, read-only memory 34 stores data only that is used during the period that circuit 30 is powered on.
[0066] The volatile memory 35 is combined with Figure 1 and Figure 2 The volatile memories 15 and 25 of the described circuits 10 and 20 are of the type of volatile memories.
[0067] The non-volatile memory 36 is combined with Figure 1 and Figure 2 The non-volatile memories 16 and 26 of the circuits 10 and 20 are of the type described.
[0068] As combined Figure 1 and Figure 2 As described, the data stored in the memories 34, 35 and 36 can be encrypted by one or more different encryption algorithms. According to one embodiment, the data stored in the read-only memory 34 is encrypted by a strong encryption algorithm. For example, the encryption algorithm is an algorithm of the "Advanced Encryption Standard" (AES) type.
[0069] According to one embodiment, the decryption key for the data stored in the read-only memory 34 of the circuit 30 is not stored in the circuit 30, more specifically, not stored in any of the memories 34, 35 and 36 or in the digital part of the circuit 30. Moreover, in an embodiment, the data allowing the generation of the decryption key, or "generation data", is also not stored in the circuit 30, and more specifically not stored in any of the memories 34, 35 and 36 or in the digital part of the circuit 30. Therefore, an impostor using reverse engineering techniques can only access the data stored in the read-only memory 34 and encrypted by the strong encryption algorithm, but cannot access the key to decrypt it.
[0070] According to one embodiment, the circuit 30 also incorporates at least one finite state machine 38 (FSM), which may include, for example, logic circuits, processing cores, cryptographic circuit systems, etc. and various combinations thereof. The finite state machine 38 is adapted to receive data from the read-only memory 34 and data from the user (USER). The finite state machine 38 is adapted to provide data to the processor 32. The finite state machine is further adapted to perform data decryption operations. More particularly, the finite state machine 38 is adapted to: once a decryption key is provided to it, it decrypts the data stored in the read-only memory 34. As an example, the finite state machine 38 is adapted to decrypt data encrypted using an AES type encryption key.
[0071] The operation of the circuit 30 is as follows. The circuit 30 comprises two different life phases. The first phase is the manufacturing phase of the circuit 30 and the second phase is the active phase of the circuit 30, for example at the user end. The first phase ends with the testing and activation phase or activation step described below.
[0072] During the manufacturing stage, the boot program data of the circuit 30 is stored in the read-only memory 34 and can be strongly encrypted. The decryption key does not exist in the memory 34, 35 and 36 of the circuit 30 or the digital part of the circuit 30, and the circuit 30 cannot be started because the processor cannot access the encrypted data to implement the boot program.
[0073] The manufacturing phase ends with an activation step of the circuit 30. During this step, the user provides the circuit 30 with a decryption key for the data stored in the read-only memory 34. More specifically, the user provides the decryption key to the finite state machine 38, for example via the interface 72. The finite state machine 38 uses the received decryption key to decrypt all or part of the data stored in the read-only memory 34. As an example, the finite state machine 38 decrypts the data stored in the read-only memory each time the processor 32 needs it.
[0074] According to a variant embodiment, before decrypting the encrypted data stored in the read-only memory 34, the finite state machine 38 can further perform a test that can verify whether the encrypted data is correctly decrypted. An exemplary test can be as follows. For example, the finite state machine 38 can verify whether the decrypted data is correct relative to the reference data. If the value is correct, the finite state machine 38 is authorized to decrypt the data requested by the processor 32. If the value is incorrect, this may mean that the decryption key provided by the user is incorrect. For example, the finite state machine 38 remains in the off state until the next reset or until the next restart of the circuit 30.
[0075] In the active phase, once the data present in the read-only memory 34 are decrypted by the finite state machine 38 , the circuit 30 restarts due to the data present in the read-only memory 34 .
[0076] In one embodiment, each time the circuit 30 is powered on, the processor 32 performs a test to determine whether the activation step has occurred. More specifically, the test may determine a memory in which the processor 32 must look for startup and / or authentication data. For example, the test may include looking for specific information written in the non-volatile memory 36.
[0077] Combination Figure 3 Advantages and combinations of the described embodiments Figure 2 The advantages of the described embodiments are the same.
[0078] Figure 4 It is a combination Figure 2 and Figure 3 Schematic diagram of an exemplary application of the described embodiments. More particularly, Figure 4 A system 40 is shown that includes a device 41 (eg, a printer) and a consumable device or consumable 42 (eg, a printer cartridge) that is configured to operate with the device 41 .
[0079] The consumable 42 is compatible with the device 41. According to one embodiment, the consumable 42 includes an electronic authentication circuit 421. The electronic authentication circuit 421 is combined with Figure 2 and Figure 3 In some embodiments, the electronic authentication circuit 421 may be configured to authenticate the consumable 42 to the device 41 and to verify that the consumable 42 is in fact compatible with the device 41. In some embodiments, the authentication circuit 421 may be in the device 41 and receive a key from the consumable 42, for example, via one or more interfaces 73.
[0080] Various embodiments and variations have been described. Those skilled in the art will appreciate that certain features of these embodiments may be combined, and other variations will be readily apparent to those skilled in the art.
[0081] In particular, combined Figure 2 and Figure 3 The described embodiments may be applicable to all types of electronic devices used to manipulate sensitive data. Figure 2 and Figure 3 In the described embodiment, the data stored in the read-only memory is encrypted and only a single encryption key is required to be decrypted by the finite state machine. As a variant, the data stored in the read-only memory can be divided into several groups of data, each group of data is encrypted by a different algorithm, or encrypted by the same algorithm but with different encryption keys. In this case, the finite state machine can receive multiple encryption keys from the user during the activation step.
[0082] Finally, based on the functional description provided above, particularly with respect to the encryption algorithm used to encrypt data in read-only memory, actual implementation of the embodiments and variations described herein is within the capabilities of a person skilled in the art.
[0083] Some embodiments may take the form of or include a computer program product. For example, according to one embodiment, a computer readable medium is provided, which includes a computer program suitable for performing one or more of the above methods or one or more of the above functions. The medium may be a physical storage medium such as a read-only memory (ROM) chip, or a disk device such as a digital versatile disk (DVD-ROM), a compact disk (CD-ROM), a hard disk, a memory, a network device, or a portable medium read by an appropriate drive or via an appropriate connection, including content encoded in one or more bar codes or stored on one or more such computer readable media and readable by an appropriate reading device.
[0084] In addition, in some embodiments, part or all of the methods and / or functions may be implemented or provided in other ways, such as at least partially implemented or provided in firmware and / or hardware, including but not limited to: one or more application-specific integrated circuits (ASICs), digital signal processors, discrete circuits, logic gates, standard integrated circuits, controllers (e.g., by executing appropriate instructions, convolution accelerators, and including microcontrollers and / or embedded controllers), field programmable gate arrays (FPGAs), complex programmable logic devices (CPLDs), etc., as well as devices using RFID technology and various combinations thereof.
[0085] The various embodiments described above can be combined to provide further embodiments. The contents of the embodiments can be modified, if necessary, using concepts from various patents, applications, and publications to provide further embodiments.
[0086] 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 interpreted to limit the claims to the specific embodiments disclosed in the specification and claims, but should be interpreted to include all possible embodiments and the full range of equivalents to which these claims are entitled. Therefore, the claims are not limited by the disclosure.
Claims
1. An electronic circuit comprising: Interface, receiving the decryption key in operation; Read-only memory, storing encrypted data; as well as cryptographic circuitry coupled to the interface and comprising a finite state machine, Among them in operation: The cryptographic circuit system protects the electronic circuit from reverse engineering attacks, the protection comprising: providing the decryption key to the finite state machine via the interface during an activation phase to activate the electronic circuit for subsequent use; as well as the cryptographic circuitry decrypting the encrypted data using the decryption key received via the interface, and the electronic circuitry performing one or more operations using the decrypted data, Wherein before receiving the decryption key, the decryption key is not stored in the electronic circuit and data used to generate the decryption key is not stored in the electronic circuit.
2. The electronic circuit of claim 1, wherein the data is decrypted by the finite state machine.
3. The electronic circuit of claim 1, comprising a non-volatile memory.
4. The electronic circuit of claim 1, comprising a volatile memory.
5. An electronic circuit as claimed in claim 4, wherein the cryptographic circuitry is operable to store decrypted data in the volatile memory.
6. The electronic circuit of claim 5, comprising a non-volatile memory, wherein the data stored in the volatile memory is stored in the non-volatile memory in response to activating the electronic circuit.
7. An electronic circuit according to claim 1, wherein the data are encrypted by an algorithm of the "Advanced Encryption Standard" AES type.
8. The electronic circuit of claim 1, comprising one or more processing cores, wherein the one or more operations comprise a startup operation of the one or more processing cores.
9. A method comprising: Protecting electronic devices from reverse engineering attacks, including: In an activation phase, a finite state machine of the electronic device receives a decryption key via an interface of the electronic device to activate the electronic device for subsequent use; decrypting encrypted data stored in a read-only memory of the electronic device using the decryption key; and The electronic device performs one or more operations using the decrypted data, Before receiving the decryption key, the decryption key is not stored in the electronic device, and data used to generate the decryption key is not stored in the electronic device.
10. The method of claim 9, comprising storing the decrypted data in a volatile memory of the electronic device. The method of claim 9 , wherein the one or more operations include a startup operation of the electronic device.
12. The method according to claim 9, comprising: coupling the electronic device to another electronic device via the interface; as well as The decryption key is received from the other electronic device via the interface, wherein the one or more operations include authenticating compatibility of the electronic device and the other electronic device.
13. A system comprising: a first electronic device; as well as A second electronic device is coupled to the first electronic device, wherein the second electronic device comprises: Read-only memory, storing encrypted data; as well as a cryptographic circuit system that protects the second electronic device from reverse engineering attacks and is coupled to the read-only memory, wherein the cryptographic circuit system is operative to decrypt encrypted data using a decryption key received from the first electronic device, wherein in operation the second electronic device uses the decrypted data to perform one or more operations, wherein The decryption key is received by the finite state machine of the cryptographic circuitry during an activation phase to activate the second electronic device for subsequent use; and Prior to receiving the decryption key, the decryption key was not stored in the second electronic device and data used to generate the decryption key was not stored in the second electronic device.
14. The system of claim 13, wherein the one or more operations include authenticating compatibility of the first electronic device and the second electronic device.
15. The system of claim 13, wherein the first electronic device is a printer and the second electronic device is a printer cartridge.
