Lightweight reconfigurable security chip configuration data protection method and device
The SRAM-PUF key generation module combines real-time location information to generate encryption keys, which solves the low security problem of reconfigurable security chip configuration data security protection and achieves unique high security and regional keys for each chip. Improves the overall security of IoT devices.
Patent Information
- Application Number
- CN202410665002.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-08-23
AI Technical Summary
Existing technology cannot effectively solve the problem of configuration data security protection of reconfigurable security chips. Traditional methods have low security, are insensitive to location information, and are vulnerable to attacks.
The SRAM-PUF key generation module generates chip fingerprints based on SRAM data, and combines real-time location information to generate encryption and decryption keys to achieve a 'one-chip, one-key' design. The configuration data to be encrypted and decrypted is stored in non-volatile memory. , ensure the security of configuration data.
Significantly improves the security of reconfigurable security chip configuration data protection, reduces the success probability of attackers, achieves unique high security and regional keys for each chip, and avoids the use of dense configuration data in traditional designs. Risk of cracking.
Smart Images

Figure CN118536172A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data security technology, and in particular to a lightweight reconfigurable security chip configuration data protection method and device. Background Art
[0002] With the continuous development of Internet of Things technology, higher requirements are placed on the hardware foundation of information security. As the security core of the entire information system and equipment, security chips are widely used in various Internet of Things platforms, directly affecting the security protection capabilities of Internet of Things devices. Reconfigurable security chips have been widely studied in the past decade due to their comprehensive advantages in flexibility, energy efficiency and security. They have "white chip" characteristics, and the circuit design and layout wiring are regularly distributed. Attackers cannot obtain any password-related information by physically dissecting them. Therefore, the security of cryptographic algorithms is still greatly guaranteed during the tape-out process or even after the chip is lost.
[0003] However, due to the "white chip" characteristics of the reconfigurable security chip, the specific algorithm implementation in the application process is closely related to the configuration data, and the configuration data is relatively vulnerable to attacks by attackers. The traditional configuration data security protection method uses cryptographic algorithms for encryption and authentication. The configuration data is stored in a non-volatile memory such as FLASH in advance. After the chip is powered on, the configuration data is loaded through the external FLASH, and the configuration data is decrypted and loaded inside the chip.
[0004] Therefore, the above traditional methods cannot fundamentally solve the configuration data security protection problem of the reconfigurable security chip, and the security is relatively low. Summary of the invention
[0005] The present application aims to propose a lightweight reconfigurable security chip configuration data protection method and device, which can improve the security of configuration data security protection.
[0006] In a first aspect, an embodiment of the present application provides a lightweight reconfigurable security chip configuration data protection method, the method comprising:
[0007] Obtain the data to be configured, SRAM data and real-time location information;
[0008] Enable the SRAM-PUF key generation module to generate a chip fingerprint according to the SRAM data;
[0009] Generate an encryption key and a decryption key according to the chip fingerprint and the real-time location information;
[0010] Encrypting the data to be configured according to the encryption key to obtain secret configuration data;
[0011] storing the secret configuration data in a non-volatile memory so that a configuration data decryption module obtains the secret configuration data from the non-volatile memory, and causing the configuration data decryption module to decrypt the secret configuration data according to the decryption key to obtain the decrypted configuration data;
[0012] The decrypted configuration data is loaded into a reconfigurable computing array module to obtain a secret algorithm for security protection of the configuration data.
[0013] Compared with the prior art, the first aspect of the present application has the following beneficial effects:
[0014] This method generates chip fingerprints based on SRAM data, and then generates encryption keys and decryption keys based on chip fingerprints and real-time location information. The chip fingerprint and real-time location information are combined to generate encryption keys and decryption keys, realizing the "one chip one key" design, which can effectively improve key security. Then, according to the encryption key, the configuration data is encrypted, and then the secret configuration data is decrypted according to the decryption key, which can effectively improve the security of the configuration data protection of the reconfigurable security chip.
[0015] According to some embodiments of the present application, the SRAM-PUF key generation module includes a fuzzy extractor and an error correction code, and the chip fingerprint is generated according to the SRAM data, including:
[0016] According to the SRAM data, generating noisy reconfigurable security chip fingerprint data through the fuzzy extractor;
[0017] The noisy reconfigurable security chip fingerprint data is processed by the error correction coding to generate a chip fingerprint.
[0018] According to some embodiments of the present application, the SRAM-PUF key generation module further includes a hash submodule, and the generation of an encryption key and a decryption key according to the chip fingerprint and the real-time location information includes:
[0019] According to the chip fingerprint and the real-time location information, an encryption key and a decryption key are generated by the hash submodule.
[0020] According to some embodiments of the present application, encrypting the data to be configured according to the encryption key to obtain the secret configuration data includes:
[0021] Taking the data to be configured as plain text;
[0022] The plaintext is encrypted using an encryption algorithm according to the encryption key to obtain secret configuration data.
[0023] According to some embodiments of the present application, before obtaining the data to be configured, the method further includes:
[0024] Design a to-be-configured data generation module according to various cryptographic algorithms compatible with the reconfigurable security chip and a reconfigurable computing array inside the reconfigurable security chip;
[0025] The data to be configured is generated by the data to be configured generating module.
[0026] In a second aspect, an embodiment of the present application provides a lightweight reconfigurable security chip configuration data protection device, the device comprising:
[0027] A module for generating data to be configured, used for generating data to be configured;
[0028] Positioning module, used to obtain real-time location information;
[0029] A reconfigurable computing array module for generating SRAM data;
[0030] An SRAM-PUF key generation module, used to obtain the SRAM data and the real-time location information, and generate a chip fingerprint according to the SRAM data; the SRAM-PUF key generation module is also used to generate an encryption key and a decryption key according to the chip fingerprint and the real-time location information;
[0031] A configuration data encryption module, used to obtain the data to be configured and the encryption key, and encrypt the data to be configured according to the encryption key to obtain secret configuration data;
[0032] A non-volatile memory, used to store the confidential configuration data;
[0033] A configuration data decryption module is used to obtain the secret configuration data from the non-volatile memory and decrypt the secret configuration data according to the decryption key to obtain the decrypted configuration data; the configuration data decryption module is also used to load the decrypted configuration data into the reconfigurable computing array module so that the reconfigurable computing array module obtains the secret algorithm for configuration data security protection.
[0034] Compared with the prior art, the second aspect of the present application has the following beneficial effects:
[0035] This method generates a chip fingerprint based on SRAM data through the SRAM-PUF key generation module, and then generates an encryption key and a decryption key based on the chip fingerprint and real-time location information. The chip fingerprint and real-time location information are combined to generate encryption keys and decryption keys, realizing a "one chip one key" design, which can effectively improve key security. Then, the configuration data is encrypted according to the encryption key through the configuration data encryption module, and then the secret configuration data is decrypted according to the decryption key through the configuration data decryption module, which can effectively improve the security of the configuration data protection of the reconfigurable security chip.
[0036] According to some embodiments of the present application, the SRAM-PUF key generation module includes a fuzzy extractor submodule and an error correction coding submodule, wherein:
[0037] The fuzzy extractor submodule is used to generate noisy reconfigurable security chip fingerprint data according to the SRAM data;
[0038] The error correction coding submodule is used to process the noisy reconfigurable security chip fingerprint data to generate a chip fingerprint.
[0039] According to some embodiments of the present application, the SRAM-PUF key generation module further includes a hash submodule, wherein:
[0040] The hash submodule is used to generate an encryption key and a decryption key according to the chip fingerprint and the real-time location information.
[0041] According to some embodiments of the present application, the configuration data encryption module includes a plaintext submodule and an encryption submodule, wherein:
[0042] The plaintext submodule is used to use the data to be configured as plaintext;
[0043] The encryption submodule is used to encrypt the plaintext using an encryption algorithm according to the encryption key to obtain confidential configuration data.
[0044] According to some embodiments of the present application, the reconfigurable computing array module includes a digital logic unit, a selector, a register, and a static random access memory. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0046] Figure 1 It is a flowchart of an embodiment of a lightweight reconfigurable security chip configuration data protection method provided by the present application;
[0047] Figure 2It is a structural schematic diagram of an embodiment of a lightweight reconfigurable security chip configuration data protection device provided by the present application;
[0048] Figure 3 It is a flow chart of a method for protecting configuration data of a reconfigurable security chip based on a combination of SRAM-PUF and location information in the best embodiment provided by the present application;
[0049] Figure 4 It is a schematic diagram of the configuration data encryption storage process in the best embodiment provided by this application;
[0050] Figure 5 It is a schematic diagram of the configuration data decryption and loading process in the best embodiment provided by this application;
[0051] Figure 6 It is a structural schematic diagram of an embodiment of an electronic device provided by the present application. DETAILED DESCRIPTION
[0052] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0053] In the description of this application, if there is a description of first, second, etc., it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0054] In the description of the present application, it should be understood that the descriptions involving orientation, such as the orientation or positional relationship indicated as up, down, etc., are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0055] In the description of this application, it should be noted that, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meaning of the above terms in this application based on the specific content of the technical solution.
[0056] With the continuous development of Internet of Things technology, higher requirements are placed on the hardware foundation of information security. As the security core of the entire information system and equipment, security chips are widely used in various Internet of Things platforms, directly affecting the security protection capabilities of Internet of Things devices. Reconfigurable security chips have been widely studied in the past decade due to their comprehensive advantages in flexibility, energy efficiency and security. They have "white chip" characteristics, and the circuit design and layout wiring are regularly distributed. Attackers cannot obtain any password-related information by physically dissecting them. Therefore, the security of cryptographic algorithms is still greatly guaranteed during the tape-out process or even after the chip is lost.
[0057] However, due to the "white chip" characteristics of the reconfigurable security chip, its specific algorithm implementation in the application process is closely related to the configuration data, and the configuration data is relatively vulnerable to attacks by attackers. Therefore, the security protection of the configuration data of the reconfigurable security chip is the key to ensuring the security of chip applications. The traditional configuration data security protection method uses cryptographic algorithms for encryption and authentication. The configuration data is stored in a non-volatile memory such as FLASH in advance after being packaged in a secret state. After the chip is powered on, the configuration data is loaded through the external FLASH, and the configuration data is decrypted and loaded inside the chip. The above method has two main shortcomings:
[0058] First, the cryptographic algorithm used in the configuration data security protection is the main target of various attack methods. Facing various physical attacks such as invasive attacks and non-invasive attacks, how to protect the cryptographic algorithm itself has become a new problem. Traditional cryptographic algorithms can increase the difficulty for attackers to steal chip configuration data to a certain extent and increase the cost of attackers attacking chip information, but they cannot fundamentally solve the configuration data security protection problem of reconfigurable security chips.
[0059] Second, it is difficult to strike a balance between security and complexity in configuration data security protection measures. Various nodes in the Internet of Things are characterized by extensiveness and miniaturization. Security chip configuration data security protection needs to achieve low power consumption, easy integration, and high security. Traditional designs use the same secret configuration data for all reconfigurable security chips. Once an attacker cracks the configuration data of a chip, it means that the remaining chips can be cracked, which will bring great hidden dangers to the security of the Internet of Things.
[0060] Third, traditional security protection measures are not sensitive to location information. General security protection measures only protect sensitive data of the device, but do not distinguish location information, which allows attackers to steal the device and try to unlock it in an untrusted environment, posing a great threat to the security of IoT devices.
[0061] In order to solve the above-mentioned problem of poor configuration data security protection, which will bring great hidden dangers to the security of the Internet of Things and pose a great threat to the security of Internet of Things devices, this application proposes a lightweight reconfigurable security chip configuration data protection method and device.
[0062] Reference Figure 1 The embodiment of the present application provides a lightweight reconfigurable security chip configuration data protection method, the method comprising the following steps:
[0063] Step S100, obtaining data to be configured, SRAM data and real-time location information;
[0064] Step S200, enabling the SRAM-PUF key generation module to generate a chip fingerprint according to the SRAM data;
[0065] Step S300, generating an encryption key and a decryption key according to the chip fingerprint and real-time location information;
[0066] Step S400: encrypt the configuration data according to the encryption key to obtain the encrypted configuration data;
[0067] Step S500: storing the secret configuration data in a non-volatile memory so that the configuration data decryption module can obtain the secret configuration data from the non-volatile memory, and the configuration data decryption module can decrypt the secret configuration data according to the decryption key to obtain the decrypted configuration data;
[0068] Step S600: Load the decrypted configuration data into the reconfigurable computing array module to obtain a secret algorithm for security protection of the configuration data.
[0069] In this embodiment, the chip fingerprint is generated according to the SRAM data, and then the encryption key and decryption key are generated according to the chip fingerprint and real-time location information. The chip fingerprint and real-time location information are combined to generate the encryption key and decryption key, realizing the "one chip one key" design, which can effectively improve the key security. Then, according to the encryption key, the configuration data is encrypted, and then the secret configuration data is decrypted according to the decryption key, which can effectively improve the security of the configuration data protection of the reconfigurable security chip.
[0070] In some embodiments, the SRAM-PUF key generation module includes a fuzzy extractor and an error correction code, and generates a chip fingerprint based on the SRAM data, including:
[0071] According to the SRAM data, the reconfigurable security chip fingerprint data with noise is generated through the fuzzy extractor;
[0072] The chip fingerprint is generated by processing the noisy reconfigurable security chip fingerprint data through error correction coding.
[0073] In this embodiment, by using the fuzzy extractor and the error correction code together, the imperfection of the biometric data can be handled, the success probability of the attacker is reduced, and the security is improved.
[0074] In some embodiments, the SRAM-PUF key generation module further includes a hash submodule, which generates encryption keys and decryption keys according to the chip fingerprint and real-time location information, including:
[0075] According to the chip fingerprint and real-time location information, the encryption key and decryption key are generated through the hash submodule.
[0076] In this embodiment, the encryption key and decryption key generated by combining the chip fingerprint generated by the SRAM-PUF key generation module with the location information are difficult to control, unpredictable, non-clonable and location-sensitive, which significantly improves the security of the encryption key and decryption key.
[0077] In some implementations, encrypting the configuration data to be configured according to the encryption key to obtain the secret configuration data includes:
[0078] Take the data to be configured as plain text;
[0079] According to the encryption key, the plain text is encrypted using an encryption algorithm to obtain the secret configuration data.
[0080] In this embodiment, the chip fingerprint generated by the SRAM-PUF key generation module is combined with the location information to generate an encryption key, and then an encryption algorithm is used to encrypt the plaintext according to the encryption key, which can improve the security of the secret configuration data.
[0081] It should be noted that the encryption algorithm in this embodiment can be flexibly selected according to the application scenario, and this embodiment does not make any specific limitation.
[0082] In some implementations, before obtaining the data to be configured, the method further includes:
[0083] Design a module for generating data to be configured based on various cryptographic algorithms compatible with the reconfigurable security chip and the reconfigurable computing array inside the reconfigurable security chip;
[0084] The data to be configured is generated by the data to be configured generating module.
[0085] In this embodiment, the reconfigurable security chip generally needs to be compatible with various symmetric, asymmetric, hash and other public cryptographic algorithms as well as unique non-public cryptographic algorithms. Therefore, the to-be-configured data generation module can be designed based on the various cryptographic algorithms that the reconfigurable security chip needs to be compatible with and the reconfigurable computing array inside the reconfigurable security chip, so that the configuration data generated by the designed to-be-configured data generation module is more in line with the requirements of the reconfigurable security chip.
[0086] Reference Figure 2 The embodiment of the present application also provides a lightweight reconfigurable security chip configuration data protection device, which includes a to-be-configured data generation module 100, a positioning module 200, a reconfigurable computing array module 300, an SRAM-PUF key generation module 400, a configuration data encryption module 500, a non-volatile memory 600 and a configuration data decryption module 700, wherein:
[0087] The module 100 for generating data to be configured is used to generate data to be configured;
[0088] Positioning module 200, used to obtain real-time location information;
[0089] A reconfigurable computing array module 300 for generating SRAM data;
[0090] The SRAM-PUF key generation module 400 is used to obtain SRAM data and real-time location information, and generate a chip fingerprint based on the SRAM data; the SRAM-PUF key generation module is also used to generate an encryption key and a decryption key based on the chip fingerprint and real-time location information;
[0091] The configuration data encryption module 500 is used to obtain the data to be configured and the encryption key, and encrypt the configuration data according to the encryption key to obtain the secret configuration data;
[0092] The non-volatile memory 600 is used to store confidential configuration data;
[0093] The configuration data decryption module 700 is used to obtain the confidential configuration data from the non-volatile memory and decrypt the confidential configuration data according to the decryption key to obtain the decrypted configuration data; the configuration data decryption module is also used to load the decrypted configuration data into the reconfigurable computing array module so that the reconfigurable computing array module obtains the confidential algorithm for configuration data security protection.
[0094] In this embodiment, the SRAM-PUF key generation module generates a chip fingerprint based on SRAM data, and then generates an encryption key and a decryption key based on the chip fingerprint and real-time location information. The chip fingerprint and real-time location information are combined to generate encryption keys and decryption keys, realizing a "one chip one key" design, which can effectively improve key security. Then, the configuration data is encrypted according to the encryption key by the configuration data encryption module, and then the secret configuration data is decrypted according to the decryption key by the configuration data decryption module, which can effectively improve the security of the configuration data protection of the reconfigurable security chip.
[0095] In some embodiments, the SRAM-PUF key generation module includes a fuzzy extractor submodule and an error correction coding submodule, wherein:
[0096] The fuzzy extractor submodule is used to generate noisy reconfigurable security chip fingerprint data based on SRAM data;
[0097] The error correction coding submodule is used to process the noisy reconfigurable security chip fingerprint data and generate the chip fingerprint.
[0098] In this embodiment, by using the fuzzy extractor submodule and the error correction coding submodule together, it is possible to handle the imperfection of biometric data, reduce the success probability of attackers, and improve security.
[0099] In some embodiments, the SRAM-PUF key generation module further includes a hash submodule, wherein:
[0100] The hash submodule is used to generate encryption keys and decryption keys based on the chip fingerprint and real-time location information.
[0101] In this embodiment, the chip fingerprint generated by the SRAM-PUF key generation module is combined with the location information, and then the encryption key and decryption key are generated by the hash submodule, so that the encryption key and decryption key are difficult to control, unpredictable, non-clonable and location-sensitive, thereby improving the security of the encryption key and decryption key.
[0102] In some embodiments, the configuration data encryption module includes a plaintext submodule and an encryption submodule, wherein:
[0103] The plaintext submodule is used to treat the data to be configured as plaintext;
[0104] The encryption submodule is used to encrypt the plain text using an encryption algorithm according to the encryption key to obtain the secret configuration data.
[0105] In this embodiment, the chip fingerprint generated by the SRAM-PUF key generation module is combined with the location information to generate an encryption key, and then the encryption submodule uses an encryption algorithm to encrypt the plaintext according to the encryption key, which can improve the security of the secret configuration data.
[0106] In some implementations, the reconfigurable computing array module includes digital logic units, selectors, registers, and static random access memories.
[0107] In this embodiment, based on the analysis of the common characteristics of various typical cryptographic algorithms and the execution parallelism, a reconfigurable computing array module of a security chip is designed, and the implementation architecture mainly includes an arithmetic logic unit (ALU), a selector, a register, and a static random access memory (SRAM). In particular, various cryptographic algorithms contain a large number of frequent SBOX table lookup operations, so the reconfigurable security chip generally contains a large amount of SRAM memory, which can be used as a data source for SRAM-PUF. The reconfigurable computing array module can obtain a secret algorithm for configuration data security protection to improve the security of configuration data security protection.
[0108] To facilitate understanding by those skilled in the art, a set of best embodiments is provided below:
[0109] In this embodiment, for the reconfigurable security chip, its key information such as the key is generated, used and stored inside the chip, and it is difficult for attackers to obtain relevant information. After power-on, configuration data must be loaded from the external memory to implement the corresponding cryptographic algorithm function. Therefore, the reconfigurable security chip achieves security, especially the security protection design of the configuration file becomes the key to the security design of the reconfigurable security chip.
[0110] SRAM-PUF has good stability and uniqueness, and is the most promising and widely used silicon-based PUF design in the field of hardware security. SRAM-PUF can easily utilize the SRAM resources inside the reconfigurable security chip, and does not require separate design of related circuits such as RO-PUF. It can realize PUF softwareization and efficient integration, and is compatible with almost all processes. For IoT devices with low-cost positioning modules, it can provide location information in real time, and its location information can remain stable within a certain range. Combining SRAM-PUF with this location information can provide lightweight, highly secure, and regional root keys for IoT reconfigurable security chips.
[0111] To this end, this application proposes a lightweight reconfigurable security chip configuration data protection method based on SRAM-PUF combined with location information. This method uses the difficult-to-control, unpredictable, and non-clone characteristics of SRAM-PUF and the location information of the IoT device itself to generate a unique high-security, regional "fingerprint" for each reconfigurable security chip to achieve security protection of configuration data. Since SRAM-PUF does not require additional resource consumption and has strong resistance to physical attacks, it can effectively solve the contradiction between high security protection capabilities and low complexity of IoT reconfigurable security chips.
[0112] Specifically, the present application designs a reconfigurable security chip configuration data protection method based on the combination of SRAM-PUF and location information, such as Figure 3 As shown in the figure, the lightweight key generation method based on SRAM-PUF and location information can be integrated into the reconfigurable security chip, and a unique regional security key for the chip is generated according to the SRAM resources and device location information in the reconfigurable array. The configuration data generation module generates the original configuration data through the configuration tool according to the various cryptographic algorithms that the reconfigurable security chip needs to be compatible with. The configuration data encryption module uses the key generated by the built-in SRAM-PUF combined with the location information to encrypt the configuration data, and stores the encrypted configuration data in the external memory. The above architecture can effectively reduce the risk of the configuration data of the reconfigurable security chip being obtained by attackers. After using SRAM-PUF combined with location information to encrypt the configuration data, the reconfigurable security chip realizes a highly secure "one chip, one secret" design on the chip. The configuration data encryption key of each reconfigurable security chip is closely related to the production physical deviation and real-time location information of the chip itself. If an attacker obtains the PUF key through an invasive attack, the random physical deviation on which the SRAM-PUF depends will inevitably be destroyed, which will lead to a change in the SRAM-PUF key. If an attacker directly steals the device and puts the device in an untrusted environment, the key will also change, achieving lightweight and high-security protection for the configuration data of the reconfigurable security chip.
[0113] The reconfigurable security chip configuration data protection method designed in this application based on the combination of SRAM-PUF and location information mainly includes an original configuration data generation module, a reconfigurable computing array module, an SRAM-PUF key generation module, a positioning module, a configuration data encryption module, a configuration data decryption module, and an external non-volatile memory. The specific description of each functional module is as follows:
[0114] 1. Original configuration data generation module (i.e., module for generating data to be configured).
[0115] Reconfigurable security chips generally need to be compatible with various symmetric, asymmetric, hash and other public cryptographic algorithms as well as unique non-public cryptographic algorithms. The original configuration data generation module generates the original configuration data of the reconfigurable security chip under the control of the configuration tool software based on the various cryptographic algorithms that the reconfigurable security chip needs to be compatible with and the reconfigurable computing array design inside the reconfigurable security chip.
[0116] It should be noted that the configuration tool software of this embodiment is the configuration tool software existing in the prior art and is not described in detail in this embodiment.
[0117] 2. Reconfigurable computing array module.
[0118] Based on the analysis of the common characteristics and execution parallelism of various typical cryptographic algorithms, a reconfigurable computing array module for security chips is designed. The reconfigurable computing array module is a software-definable computing array that implements various cryptographic algorithms inside the reconfigurable security chip. The architecture of the reconfigurable computing array module mainly includes: arithmetic logic unit (ALU), selector, register, and static random access memory (SRAM). In particular, various cryptographic algorithms contain a large number of frequent SBOX table lookup operations, so the reconfigurable security chip generally contains a large amount of SRAM memory, which can be used as the data source of SRAM-PUF.
[0119] 3. SRAM-PUF key generation module.
[0120] Since SRAM-PUF has the characteristics of small area overhead, uniqueness, and randomness, the security key generated by SRAM-PUF for reconfigurable security chip configuration data has the advantages of natural resistance to physical attacks, difficulty in prediction, and easy extraction, and generates encryption keys and decryption keys in combination with the location information of IoT devices. However, SRAM-PUF key extraction requires extremely high reliability, otherwise changes in the environment may cause necessary changes in the SRAM-PUF output, which in turn leads to failure in configuration data encryption and decryption. The SRAM-PUF module mainly includes a fuzzy extractor (i.e., a fuzzy extractor submodule), error correction coding (ECC) (i.e., an error correction coding submodule), and a hash submodule (including a HASH function). It uses the SRAM power-on state contained in the reconfigurable security chip as the data source, and combines the real-time location information of the device to finally generate stable encryption keys and decryption keys for the configuration data.
[0121] 4. Positioning module.
[0122] The positioning module obtains the location information of the current IoT device in real time and performs preprocessing. The positioning accuracy of the positioning module determines the number of bits of location information that can be extracted, so a low-cost positioning module is used.
[0123] It should be noted that the preprocessing in this embodiment adopts the existing technology, which will not be described in detail in this embodiment.
[0124] 5. Configure the data encryption module.
[0125] The configuration data encryption module uses the configuration data of the reconfigurable security chip generated by the original configuration data generation module as plain text and the key generated by the SRAM-PUF key generation module as the encryption key to encrypt the configuration data and write the configuration data (i.e., the secret configuration data) after being encapsulated in a secret state to an external non-volatile memory. The encryption algorithm used in the encryption process can be flexibly selected according to the application scenario, such as XOR operation, SM4 algorithm, etc.
[0126] 6. Configure the data decryption module.
[0127] During the power-on loading process of the reconfigurable security chip, the configuration data decryption module loads the ciphertext of the configuration data in a secret state from the external non-volatile memory, and uses the key generated by the SRAM-PUF key generation module as the decryption key to decrypt the secret configuration data. The decrypted configuration data is then loaded into the reconfigurable computing array to implement the corresponding cryptographic algorithm function.
[0128] 7. External non-volatile memory.
[0129] The external non-volatile memory realizes the secure storage function of the secret configuration data of the reconfigurable security chip, and can be implemented by non-volatile memory such as FLASH.
[0130] The implementation process of the reconfigurable security chip configuration data protection method based on SRAM-PUF and location information designed in this application mainly includes the configuration data encryption storage process and the configuration data decryption loading process. Specifically:
[0131] 1. The overall idea of the configuration data encryption storage process is: extract the original configuration data of the reconfigurable security chip through the configuration data generation module, use the chip fingerprint combined with the position information output by the SRAM-PUF as the encryption key, implement the encryption operation of the reconfigurable security chip configuration data through the configuration data encryption module, and finally write the encrypted configuration data into the external non-volatile memory. Figure 4 This is a schematic diagram of the configuration data encryption storage process. The specific execution process is as follows:
[0132] Step 1: Generate original configuration data (i.e. data to be configured) through the configuration tool according to the characteristics of the cryptographic algorithm;
[0133] Step 2: Generate noisy reconstructible security chip fingerprint data through fuzzy extractor;
[0134] Step 3: Process the noisy reconstructible security chip fingerprint data through error correction coding to restore the initial chip fingerprint (i.e., chip fingerprint);
[0135] Step 4: Obtain the real-time location information of the device through the positioning module;
[0136] Step 5: Using the recovered initial chip fingerprint and real-time location information, the encryption key of the reconfigurable security chip is obtained through the HASH function;
[0137] Step 6: Encrypt the original configuration data according to the encryption key through the configuration data encryption module to obtain the configuration data after secret packaging (i.e., secret configuration data);
[0138] Step 7: Write the configuration data after secret packaging into the external non-volatile memory to complete the encryption operation of the configuration data of the reconfigurable security chip.
[0139] 2. The overall idea of the configuration data decryption and loading process is: after the reconfigurable security chip is powered on, the confidential configuration data is obtained, the configuration data decryption operation is implemented through the configuration data decryption module, and finally the decrypted configuration data is loaded into the reconfigurable computing array to implement the corresponding cryptographic algorithm. Figure 5 This is a schematic diagram of the configuration data decryption and loading process. The specific execution process is as follows:
[0140] Step 1: The system is powered on and reset, and the reconfigurable security chip loads the secret configuration data from the non-volatile memory;
[0141] Step 2: Obtain the real-time location information of the device through the positioning module;
[0142] Step 3: Obtain the chip fingerprint through the fuzzy extractor and ECC error correction (i.e. error correction coding); and combine the chip fingerprint and real-time location information to generate the decryption key of the reconfigurable security chip through the HASH function;
[0143] Step 4: Decrypt the secret configuration data using the decryption key through the configuration data decryption module;
[0144] Step 5: Load the decrypted configuration data into the reconfigurable computing array to implement the corresponding cryptographic algorithm function.
[0145] Compared with the prior art, this application has the following beneficial effects:
[0146] 1. The key generated by combining SRAM-PUF with location information is difficult to control, unpredictable, unclonable, and location-sensitive, significantly improving key security;
[0147] 2. The method can realize the "one chip one key" design of reconfigurable security chip configuration data encryption, which can effectively improve the security of reconfigurable security chip configuration data protection;
[0148] 3. The reconfigurable security chip configuration data protection method does not require additional hardware overhead and can effectively reduce the complexity of IoT terminal devices.
[0149] Reference Figure 6 The embodiment of the present application further provides an electronic device, the electronic device comprising:
[0150] at least one memory;
[0151] at least one processor;
[0152] at least one program;
[0153] The program is stored in the memory, and the processor executes at least one program to implement the above-mentioned intelligent bidding document preparation method implemented in the present disclosure.
[0154] The electronic device may be any intelligent terminal including a mobile phone, a tablet computer, a personal digital assistant (PDA), a car computer, etc.
[0155] The electronic device according to the embodiment of the present application is described in detail below.
[0156] The processor 1600 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided by the embodiments of the present disclosure;
[0157] The memory 1700 may be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1700 may store an operating system and other application programs. When the technical solution provided in the embodiments of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1700, and the processor 1600 calls and executes the intelligent bidding document preparation method of the embodiment of the present disclosure.
[0158] Input / output interface 1800, used to implement information input and output;
[0159] The communication interface 1900 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0160] Bus 2000 , which transmits information between various components of the device (e.g., processor 1600 , memory 1700 , input / output interface 1800 , and communication interface 1900 );
[0161] The processor 1600 , the memory 1700 , the input / output interface 1800 , and the communication interface 1900 are connected to each other in communication within the device via the bus 2000 .
[0162] The embodiment of the present disclosure also provides a storage medium, which is a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the above-mentioned intelligent bidding document preparation method.
[0163] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0164] The embodiments described in the embodiments of the present disclosure are intended to more clearly illustrate the technical solutions of the embodiments of the present disclosure and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems.
[0165] Those skilled in the art will appreciate that the technical solutions shown in the figures do not limit the embodiments of the present disclosure and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0166] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0167] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0168] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0169] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0170] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0171] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0172] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0173] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable an electronic device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store programs. The above is a detailed description of the embodiments of the present application in conjunction with the accompanying drawings, but the present application is not limited to the above embodiments. Within the scope of knowledge possessed by ordinary technicians in the relevant technical field, various changes can be made without departing from the purpose of the present application.
Claims
1. A lightweight reconfigurable security chip configuration data protection method, characterized in that: The method comprises: Obtain the data to be configured, SRAM data and real-time location information; Enable the SRAM-PUF key generation module to generate a chip fingerprint according to the SRAM data; Generate an encryption key and a decryption key according to the chip fingerprint and the real-time location information; Encrypting the data to be configured according to the encryption key to obtain secret configuration data; storing the secret configuration data in a non-volatile memory so that a configuration data decryption module obtains the secret configuration data from the non-volatile memory, and causing the configuration data decryption module to decrypt the secret configuration data according to the decryption key to obtain the decrypted configuration data; The decrypted configuration data is loaded into a reconfigurable computing array module to obtain a secret algorithm for security protection of the configuration data.
2. The lightweight reconfigurable security chip configuration data protection method according to claim 1 is characterized in that: The SRAM-PUF key generation module includes a fuzzy extractor and an error correction code, and the chip fingerprint is generated according to the SRAM data, including: According to the SRAM data, generating noisy reconfigurable security chip fingerprint data through the fuzzy extractor; The noisy reconfigurable security chip fingerprint data is processed by the error correction coding to generate a chip fingerprint.
3. The lightweight reconfigurable security chip configuration data protection method according to claim 2 is characterized in that: The SRAM-PUF key generation module also includes a hash submodule, which generates an encryption key and a decryption key according to the chip fingerprint and the real-time location information, including: According to the chip fingerprint and the real-time location information, an encryption key and a decryption key are generated by the hash submodule.
4. The lightweight reconfigurable security chip configuration data protection method according to claim 1, characterized in that: The step of encrypting the data to be configured according to the encryption key to obtain the secret configuration data includes: Taking the data to be configured as plain text; The plaintext is encrypted using an encryption algorithm according to the encryption key to obtain secret configuration data.
5. The lightweight reconfigurable security chip configuration data protection method according to claim 1, characterized in that: Before obtaining the data to be configured, the method further includes: Design a to-be-configured data generation module according to various cryptographic algorithms compatible with the reconfigurable security chip and the reconfigurable computing array inside the reconfigurable security chip; The data to be configured is generated by the data to be configured generating module.
6. A lightweight reconfigurable security chip configuration data protection device, characterized in that: The device comprises: A module for generating data to be configured, used for generating data to be configured; Positioning module, used to obtain real-time location information; A reconfigurable computing array module for generating SRAM data; An SRAM-PUF key generation module, used to obtain the SRAM data and the real-time location information, and generate a chip fingerprint according to the SRAM data; the SRAM-PUF key generation module is also used to generate an encryption key and a decryption key according to the chip fingerprint and the real-time location information; A configuration data encryption module, used to obtain the data to be configured and the encryption key, and encrypt the data to be configured according to the encryption key to obtain secret configuration data; A non-volatile memory, used to store the confidential configuration data; A configuration data decryption module is used to obtain the secret configuration data from the non-volatile memory and decrypt the secret configuration data according to the decryption key to obtain the decrypted configuration data; the configuration data decryption module is also used to load the decrypted configuration data into the reconfigurable computing array module so that the reconfigurable computing array module obtains the secret algorithm for configuration data security protection.
7. The lightweight reconfigurable security chip configuration data protection device according to claim 6, characterized in that: The SRAM-PUF key generation module includes a fuzzy extractor submodule and an error correction coding submodule, wherein: The fuzzy extractor submodule is used to generate noisy reconfigurable security chip fingerprint data according to the SRAM data; The error correction coding submodule is used to process the noisy reconfigurable security chip fingerprint data to generate a chip fingerprint.
8. The lightweight reconfigurable security chip configuration data protection device according to claim 7, characterized in that: The SRAM-PUF key generation module also includes a hash submodule, wherein: The hash submodule is used to generate an encryption key and a decryption key according to the chip fingerprint and the real-time location information.
9. The lightweight reconfigurable security chip configuration data protection device according to claim 6, characterized in that: The configuration data encryption module includes a plaintext submodule and an encryption submodule, wherein: The plaintext submodule is used to use the data to be configured as plaintext; The encryption submodule is used to encrypt the plaintext using an encryption algorithm according to the encryption key to obtain confidential configuration data.
10. The lightweight reconfigurable security chip configuration data protection device according to claim 6, characterized in that: The reconfigurable computing array module includes a digital logic unit, a selector, a register and a static random access memory.
Citation Information
Cited By
Quantum computing assisted cloud storage encryption system and anti-quantum attack algorithm
CN120896738A
