A deviation correction method and device based on reliability confidence information

By obtaining and using the PUF response value and its reliability confidence information for correction registration and recovery, the problem of insufficient effective entropy in the PUF correction algorithm is solved, and the correction accuracy and security are improved.

CN118349965BActive Publication Date: 2024-08-30HUBEI UNIV OF TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410776499.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-08-30
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

The existing PUF reliability correction algorithm has insufficient effective entropy due to the strong correlation of the response, and the correction accuracy is low, which reduces the reliability and security of the correction algorithm.

Method used

By obtaining the multiple PUF response values ​​and their reliability confidence information generated by the first self-test PUF of the excitation signal, correction registration is performed to obtain an unbiased response sequence and auxiliary data sequence, and these data are used to analyze the response values ​​generated by the second self-test PUF. The response value is restored, an unbiased response sequence is generated, and the correction accuracy is improved.

Benefits of technology

The accuracy and security of the PUF reliability correction algorithm are improved, the reliability of the correction algorithm is enhanced, and the error correction overhead is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118349965B
    Figure CN118349965B
Patent Text Reader

Abstract

The present invention relates to a method and device for correcting errors based on reliability confidence information, and belongs to the field of information security technology. The method for correcting errors based on reliability confidence information includes: obtaining multiple first PUF response values ​​generated by an excitation signal after passing through a first self-check PUF, and reliability confidence information corresponding to the multiple first PUF response values, performing correction registration, and obtaining a first unbiased response sequence and an auxiliary data sequence; obtaining multiple second PUF response values ​​generated by an excitation signal after passing through a second self-check PUF, and restoring the multiple second PUF response values ​​based on the auxiliary data sequence and the reliability confidence information corresponding to the multiple first PUF response values, and restoring the first unbiased response sequence. The present invention improves the accuracy of the PUF reliability correction algorithm, and improves the reliability and security of the correction algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a deviation correction method and device based on reliability confidence information. Background Art

[0002] Various cryptographic algorithms are commonly used in embedded systems to encrypt and authenticate data, and the security of keys is particularly important. However, since keys are generally stored in non-volatile memory, attackers can use physical detection attacks to directly obtain the keys in the memory, which greatly threatens the security of the entire information system. An effective protection method uses physical unclonable functions (PUF) to generate and store keys, and uses its unclonable characteristics to prevent keys from being stolen.

[0003] However, the response sequence generated by PUF may have a poor bias problem, that is, the ratio of 0 and 1 in the output sequence is asymmetric, resulting in low effective entropy of PUF output response, and overhead and security issues when generating keys. The existing PUF reliability correction algorithm needs to determine part of the output response based on the value of the previous response. The correlation of the response is too strong, resulting in insufficient effective entropy of the response and low correction accuracy, which in turn reduces the reliability and security of the correction algorithm.

[0004] Therefore, how to improve the accuracy of the PUF reliability correction algorithm and improve the reliability and security of the correction algorithm has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] In view of this, it is necessary to provide a correction method and device based on reliability confidence information to solve the problem that the correction accuracy, reliability and security of the current PUF reliability correction algorithm are not high.

[0006] In order to solve the above problems, the present invention provides a correction method based on reliability confidence information, comprising:

[0007] Acquire multiple first PUF response values ​​generated by the excitation signal after passing through the first self-test PUF, and reliability confidence information respectively corresponding to the multiple first PUF response values;

[0008] Based on the first index position and the first PUF response value after the first index position and the corresponding reliability confidence information, perform correction registration to obtain a first unbiased response sequence and an auxiliary data sequence, store the auxiliary data sequence and the reliability confidence information corresponding to the plurality of first PUF response values, and the index value of the first index position is an even number;

[0009] A plurality of second PUF response values ​​generated by the excitation signal after passing through the second self-test PUF are obtained, and the plurality of second PUF response values ​​are restored based on the auxiliary data sequence and the reliability confidence information respectively corresponding to the plurality of first PUF response values ​​to restore a first unbiased response sequence, wherein the second self-test PUF is obtained after noise interference is applied to the first self-test PUF.

[0010] In a possible implementation, performing correction registration based on the first index position and the first PUF response value of the next digit of the first index position and the corresponding reliability confidence information includes:

[0011] Determine a value of the auxiliary data at the first index position based on the first PUF response value at the first index position and the first index position and the corresponding reliability confidence information;

[0012] When the value of the auxiliary data at the determined first index position is not 0, the correction response values ​​of the first index position and the next bit of the first index position are determined based on the first PUF response values ​​of the first index position and the next bit of the first index position and the corresponding reliability confidence information.

[0013] In a possible implementation, determining the value of the auxiliary data at the first index position based on the first index position and the first PUF response value of the next digit of the first index position and the corresponding reliability confidence information includes:

[0014] When the reliability confidence information of the first index position and the bit after the first index position is both 0, or when the reliability confidence information of the first index position and the bit after the first index position is both 1, and the first PUF response values ​​of the first index position and the bit after the first index position are equal, it is determined that the value of the auxiliary data at the first index position is 0;

[0015] When the reliability confidence information of the first index position and the bit following the first index position are not equal, or when the reliability confidence information of the first index position and the bit following the first index position are both 1, and the first PUF response values ​​of the first index position and the bit following the first index position are not equal, it is determined that the value of the auxiliary data at the first index position is 1.

[0016] In a possible implementation, when the value of the auxiliary data at the determined first index position is not 0, determining the correction response value of the first index position and the next bit of the first index position based on the first PUF response value of the first index position and the next bit of the first index position and the corresponding reliability confidence information, includes:

[0017] When the reliability confidence information of the first index position and the bit after the first index position is both 1, the first PUF response value of the first index position is determined as the correction response value of the first index position, and the first PUF response value of the bit after the first index position is determined as the correction response value of the bit after the first index position;

[0018] When the reliability confidence information corresponding to the first index position and the bit following the first index position are not equal, the correction response values ​​of the first index position and the bit following the first index position are determined based on the first PUF response value of the second index position, and the second index position is the index position corresponding to the reliability confidence information having a value of 1 in the reliability confidence information corresponding to the first index position and the bit following the first index position.

[0019] In a possible implementation, determining the correction response values ​​of the first index position and the next digit of the first index position based on the first PUF response value of the second index position includes:

[0020] When the index value of the second index position is an odd number, the inverse value of the first PUF response value at the second index position is determined as the correction response value of the first index position, and the first PUF response value at the second index position is determined as the correction response value of the next digit of the first index position;

[0021] When the index value of the second index position is an even number, the first PUF response value of the second index position is determined as the correction response value of the first index position, and the inverse value of the first PUF response value of the second index position is determined as the correction response value of the next digit of the first index position.

[0022] In a possible implementation, the recovering of the plurality of second PUF response values ​​based on the auxiliary data sequence and the reliability confidence information respectively corresponding to the plurality of first PUF response values ​​includes:

[0023] When the value of the auxiliary data at the first index position is not 0, the unbiased response values ​​of the first index position and the next bit of the first index position are determined based on the second PUF response value and reliability confidence information of the first index position and the next bit of the first index position.

[0024] In a possible implementation, determining the unbiased response value of the first index position and the next bit of the first index position based on the second PUF response value and the reliability confidence information of the first index position and the next bit of the first index position includes:

[0025] When the reliability confidence information of the first index position and the bit after the first index position are both 1, the second PUF response value of the first index position is determined as the unbiased response value of the first index position, and the second PUF response value of the bit after the first index position is determined as the unbiased response value of the bit after the first index position;

[0026] When the reliability confidence information corresponding to the first index position and the bit after the first index position is not both 1, the unbiased response value of the first index position and the bit after the first index position is determined based on the second PUF response value of the second index position, and the second index position is the index position corresponding to the reliability confidence information with a value of 1 in the reliability confidence information corresponding to the first index position and the bit after the first index position.

[0027] The present invention also provides a deviation correction device based on reliability confidence information, comprising:

[0028] An acquisition module, used to acquire a plurality of first PUF response values ​​generated by the excitation signal after passing through the first self-test PUF, and reliability confidence information respectively corresponding to the plurality of first PUF response values;

[0029] A registration module, configured to perform correction registration based on the first index position and the first PUF response value after the first index position and the corresponding reliability confidence information, obtain a first unbiased response sequence and an auxiliary data sequence, store the auxiliary data sequence and the reliability confidence information corresponding to the plurality of first PUF response values, wherein the index value of the first index position is an even number;

[0030] A recovery module is used to obtain multiple second PUF response values ​​generated by the excitation signal after passing through the second self-test PUF, and based on the auxiliary data sequence and the reliability confidence information corresponding to the multiple first PUF response values, the multiple second PUF response values ​​are restored to restore the first unbiased response sequence, wherein the second self-test PUF is obtained after the first self-test PUF is subjected to noise interference.

[0031] The present invention also provides an electronic device, including a memory and a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the deviation correction method based on reliability confidence information as described above is implemented.

[0032] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the deviation correction method based on reliability confidence information as described above is implemented.

[0033] The beneficial effects of the present invention are as follows: the correction method and device based on reliability confidence information provided by the present invention first obtain multiple first PUF response values ​​generated by the excitation signal through the first self-test PUF, and the reliability confidence information corresponding to the multiple first PUF response values, so as to provide basic data for the subsequent correction process, and then perform correction registration according to the first PUF response value and the corresponding reliability confidence information of the index position with an even index value and the next one, obtain the first unbiased response sequence and the auxiliary data sequence, and realize correction registration, and finally obtain multiple second PUF response values ​​generated by the same excitation signal through the second self-test PUF, and restore the multiple second PUF response values ​​according to the reliability confidence information and the auxiliary data sequence corresponding to the multiple first PUF response values, and restore the first unbiased response sequence to realize the correction of the excitation signal, thereby improving the accuracy of the PUF reliability correction algorithm, and improving the reliability and security of the correction algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram of a flow chart of an embodiment of a deviation correction method based on reliability confidence information provided by the present invention;

[0035] Figure 2 A schematic diagram of a process flow of an embodiment of a reliability enhancement self-checking PUF operation process provided by the present invention;

[0036] Figure 3 A schematic diagram of a flow chart of an embodiment of a correction coding registration process based on reliability confidence information provided by the present invention;

[0037] Figure 4 A schematic diagram of a flow chart of an embodiment of a correction coding recovery process based on reliability confidence information provided by the present invention;

[0038] Figure 5 A schematic diagram of a process flow of an embodiment of a registration process of a correction PUF provided by the present invention;

[0039] Figure 6 A sequence diagram of an embodiment of the registration process of the correction PUF provided by the present invention;

[0040] Figure 7 A schematic diagram of a process flow of an embodiment of a correction PUF recovery process provided by the present invention;

[0041] Figure 8 A sequence diagram of an embodiment of a recovery process of a correction PUF provided by the present invention;

[0042] Fig. 9 A schematic structural diagram of an embodiment of a deviation correction device based on reliability confidence information provided by the present invention;

[0043] Fig.10 A schematic structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0045] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0046] In the description of the present invention, reference to an "embodiment" means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the described embodiments may be combined with other embodiments.

[0047] The existing PUF reliability correction algorithm needs to determine part of the output response based on the value of the previous response. The correlation of the responses is too strong, which leads to insufficient effective entropy of the responses and low correction accuracy, thereby reducing the reliability and security of the correction algorithm.

[0048] In view of the above problems, the present invention provides an efficient correction algorithm based on reliability confidence information, which eliminates the bias problem existing in the PUF response and enhances the unpredictability of the PUF.

[0049] The specific embodiments are described in detail below:

[0050] A specific embodiment of the present invention discloses a method for correcting errors based on reliability confidence information, combined with Figure 1 Come and see, Figure 1 A flowchart of an embodiment of a deviation correction method based on reliability confidence information provided by the present invention includes steps S101 to S103, wherein:

[0051] In step S101, a plurality of first PUF response values ​​generated by an excitation signal after passing through a first self-test PUF and reliability confidence information respectively corresponding to the plurality of first PUF response values ​​are obtained;

[0052] In step S102, based on the first index position and the first PUF response value after the first index position and the corresponding reliability confidence information, correction registration is performed to obtain a first unbiased response sequence and an auxiliary data sequence, and the auxiliary data sequence and the reliability confidence information corresponding to the plurality of first PUF response values ​​are stored, and the index value of the first index position is an even number;

[0053] In step S103, multiple second PUF response values ​​generated by the excitation signal after passing through the second self-test PUF are obtained, and the multiple second PUF response values ​​are restored based on the auxiliary data sequence and the reliability confidence information corresponding to the multiple first PUF response values ​​to restore the first unbiased response sequence, where the second self-test PUF is obtained after noise interference is applied to the first self-test PUF.

[0054] During implementation, the n first PUF response values ​​generated by the excitation signal after the first self-test PUF can be obtained. , and the reliability confidence information corresponding to the n first PUF response values .

[0055] Then, the index position with an even index value may be determined as the first index position (for example, the first index position may be (m is an integer greater than 0)), according to the first index position and the first PUF response value after the first index position and the corresponding reliability confidence information, a correction registration is performed to obtain a first unbiased response sequence and auxiliary data sequence , and store reliability confidence information And auxiliary data sequence .

[0056] After completing the correction registration, you can obtain n second PUF response values ​​generated by the same excitation signal through the second self-test PUF , the second self-test PUF can be obtained by applying noise interference to the first self-test PUF, so n second PUF response values With n first PUF response values There may also be differences, but the reliability confidence information generated by the stimulus signal is fixed, so the information can be finally trusted based on the reliability And auxiliary data sequence , for n second PUF response values Recover the first unbiased response sequence .

[0057] The correction method based on reliability confidence information provided by the present invention can be applied to the field of mobile phone encryption, and can also be applied to other encryption fields such as the field of electric vehicle encryption, and the present invention does not make specific limitations on this.

[0058] Compared with the prior art, the correction method based on reliability confidence information provided in this embodiment first obtains multiple first PUF response values ​​generated by the excitation signal passing through the first self-test PUF, and the reliability confidence information corresponding to the multiple first PUF response values, to provide basic data for the subsequent correction process, and then performs correction registration according to the first PUF response value of the index position with an even index value and the next one and the corresponding reliability confidence information, to obtain a first unbiased response sequence and an auxiliary data sequence, to achieve correction registration, and finally obtains multiple second PUF response values ​​generated by the same excitation signal passing through the second self-test PUF, and restores the multiple second PUF response values ​​according to the reliability confidence information and the auxiliary data sequence corresponding to the multiple first PUF response values, to restore the first unbiased response sequence, to achieve correction of the excitation signal, thereby improving the accuracy of the PUF reliability correction algorithm, and improving the reliability and security of the correction algorithm.

[0059] Exemplarily, the performing correction registration based on the first index position and the first PUF response value of the next digit of the first index position and the corresponding reliability confidence information includes:

[0060] Determine a value of the auxiliary data at the first index position based on the first PUF response value at the first index position and the first index position and the corresponding reliability confidence information;

[0061] When the value of the auxiliary data at the determined first index position is not 0, the correction response values ​​of the first index position and the next bit of the first index position are determined based on the first PUF response values ​​of the first index position and the next bit of the first index position and the corresponding reliability confidence information.

[0062] Specifically, when performing correction registration according to the first index position and the first PUF response value of the next digit of the first index position and the corresponding reliability confidence information, the value of the auxiliary data of the first index position can be determined according to the first index position and the first PUF response value of the next digit of the first index position and the corresponding reliability confidence information. and , and the corresponding reliability confidence information and , determine the auxiliary data of the first index position The value of .

[0063] It is also possible to determine the correction response value of the first index position and the next bit of the first index position based on the first PUF response value of the first index position and the next bit of the first index position and the corresponding reliability confidence information when the value of the auxiliary data of the determined first index position is not 0. and , and the corresponding reliability confidence information and , determine the correction response value of the first index position and the next one after the first index position and .

[0064] Exemplarily, determining the value of the auxiliary data at the first index position based on the first PUF response value at the first index position and the next digit of the first index position and the corresponding reliability confidence information includes:

[0065] When the reliability confidence information of the first index position and the bit after the first index position is both 0, or when the reliability confidence information of the first index position and the bit after the first index position is both 1, and the first PUF response values ​​of the first index position and the bit after the first index position are equal, it is determined that the value of the auxiliary data at the first index position is 0;

[0066] When the reliability confidence information of the first index position and the bit following the first index position are not equal, or when the reliability confidence information of the first index position and the bit following the first index position are both 1, and the first PUF response values ​​of the first index position and the bit following the first index position are not equal, it is determined that the value of the auxiliary data at the first index position is 1.

[0067] Specifically, the value of the auxiliary data at the first index position may be determined according to the above rules.

[0068] For example, ,or, , we can determine .

[0069] For example, ,or, , we can determine .

[0070] Exemplarily, when the value of the auxiliary data at the determined first index position is not 0, determining the correction response value of the first index position and the next bit of the first index position based on the first PUF response value of the first index position and the next bit of the first index position and the corresponding reliability confidence information, includes:

[0071] When the reliability confidence information of the first index position and the bit after the first index position is both 1, the first PUF response value of the first index position is determined as the correction response value of the first index position, and the first PUF response value of the bit after the first index position is determined as the correction response value of the bit after the first index position;

[0072] When the reliability confidence information corresponding to the first index position and the bit following the first index position are not equal, the correction response values ​​of the first index position and the bit following the first index position are determined based on the first PUF response value of the second index position, and the second index position is the index position corresponding to the reliability confidence information having a value of 1 in the reliability confidence information corresponding to the first index position and the bit following the first index position.

[0073] Specifically, the deviation correction response values ​​of the first index position and the position following the first index position may be determined according to the above rule.

[0074] For example, , we can determine , .

[0075] For example, , then it is necessary to and The index position with a value of 1 corresponds to Sure and .

[0076] Exemplarily, the determining of the correction response values ​​of the first index position and the next digit of the first index position based on the first PUF response value of the second index position includes:

[0077] When the index value of the second index position is an odd number, the inverse value of the first PUF response value at the second index position is determined as the correction response value of the first index position, and the first PUF response value at the second index position is determined as the correction response value of the next digit of the first index position;

[0078] When the index value of the second index position is an even number, the first PUF response value of the second index position is determined as the correction response value of the first index position, and the inverse value of the first PUF response value of the second index position is determined as the correction response value of the next digit of the first index position.

[0079] Specifically, according to and The index position with a value of 1 corresponds to Sure and When , according to the definition of the first index position, it can be determined Is an even number.

[0080] exist When , , Indicates the negation operation.

[0081] exist When , .

[0082] Exemplarily, the recovering of the plurality of second PUF response values ​​based on the auxiliary data sequence and the reliability confidence information respectively corresponding to the plurality of first PUF response values ​​includes:

[0083] When the value of the auxiliary data at the first index position is not 0, the unbiased response values ​​of the first index position and the next bit of the first index position are determined based on the second PUF response value and reliability confidence information of the first index position and the next bit of the first index position.

[0084] Specifically, when restoring, you can When, according to Sure and .

[0085] Exemplarily, the determining the unbiased response value of the first index position and the next bit of the first index position based on the second PUF response value of the first index position and the next bit of the first index position and the corresponding reliability confidence information includes:

[0086] When the reliability confidence information of the first index position and the bit after the first index position are both 1, the second PUF response value of the first index position is determined as the unbiased response value of the first index position, and the second PUF response value of the bit after the first index position is determined as the unbiased response value of the bit after the first index position;

[0087] When the reliability confidence information corresponding to the first index position and the bit after the first index position is not both 1, the unbiased response value of the first index position and the bit after the first index position is determined based on the second PUF response value of the second index position, and the second index position is the index position corresponding to the reliability confidence information with a value of 1 in the reliability confidence information corresponding to the first index position and the bit after the first index position.

[0088] Specifically, the rules for determining the unbiased response value in the above-mentioned recovery process can refer to the rules for determining the biased response value in the registration process, which will not be repeated here.

[0089] The following is a specific application scenario to better illustrate the technical solution of the present invention:

[0090] In order to improve the reliability of PUF output and reduce error correction overhead, the PUF reliability self-check method can be used to extract reliable responses. Figure 2 Come and see, Figure 2 This is a flow chart of an embodiment of the reliability enhancement self-checking PUF operation process provided by the present invention. When a stimulus C is input, the reliability self-checking PUF can output a 1-bit response R and a reliability flag F.

[0091] In order to solve the problem of insufficient existing PUF deflection correction technology and reduce hardware overhead, the present invention proposes a PUF deflection method based on reliability identification, including two processes: registration and recovery.

[0092] The registration process takes the PUF response R and reliability flag F output by the reliability self-check PUF as input, and uses the debiased data encoding module to generate a reliable and unbiased response Y and auxiliary data D.

[0093] The recovery process takes the noisy response R' and auxiliary data D output by the same PUF as input, and uses the debiasing decoding module to recover the unbiased response Y.

[0094] Combination Figure 3 Come and see, Figure 3 This is a flow chart of an embodiment of the correction coding registration process based on reliability confidence information provided by the present invention. The excitation signal EN is input into the self-test PUF to generate a response R and reliability confidence information F. R and F are then processed by correction to generate an unbiased response Y and auxiliary data D.

[0095] Combination Figure 4 Come and see, Figure 4 This is a flow chart of an embodiment of the correction coding recovery process based on reliability confidence information provided by the present invention. First, the excitation signal EN is input into the noisy self-test PUF to obtain the noisy response R', and then the auxiliary data D and F and the noisy R' response are input into the correction decoder to recover the unbiased response Y'.

[0096] Combination Figure 5 Come and see, Figure 5 This is a flow chart of an embodiment of the registration process of the correction PUF provided by the present invention. The specific steps of the registration process are as follows:

[0097] 1. First, input the excitation signal EN into the self-test PUF to generate n dynamic self-test PUF response values and the corresponding reliability confidence information .

[0098] 2. Start the correction algorithm registration process and set the index value , Is a positive integer.

[0099] 3. Determine reliability confidence information and Are they all 0? If not, jump out of the judgment statement and execute step 4; if yes, generate auxiliary data ; Then order , continue to execute step 3 judgment statement.

[0100] 4. Determine reliability confidence information and Are the values ​​of are all 1? If not, go to step 5; if so, , , then go to step 7.

[0101] 5. Determine whether the reliability confidence information is , If not, jump out of the judgment and execute step 6; if yes, according to the reliability confidence information Corresponding response The value of and , , ; Generate auxiliary data at the same time , ; Then go to step 8.

[0102] 6. When reliability confidence information , When the reliability confidence information Corresponding response The value of produces an unbiased response and , , ; Generate auxiliary data at the same time , ; Then go to step 8.

[0103] 7. When judging Whether The values ​​are the same, if , without correction processing, generate auxiliary data , ;like , respectively select the reliability confidence information , Generate debiased response from corresponding response , ; Generate auxiliary data at the same time , ; Then go to step 8.

[0104] 8. Order , then judge Is it less than the total length n of the sequence? If so, proceed to step 3; if not, proceed to step 9.

[0105] 9. End the correction PUF encoding process and output the correction response and auxiliary data .

[0106] Combination Figure 6 Come and see, Figure 6 A sequence diagram of an embodiment of the registration process of the correction PUF provided by the present invention, wherein the correction response Reliability confidence information and the response generated by the PUF Joint judgment generation.

[0107] Combination Figure 7 Come and see, Figure 7 This is a flow chart of an embodiment of the recovery process of the correction PUF provided by the present invention. The specific steps of the recovery process are as follows:

[0108] 1. First, the excitation signal EN is input into the noisy self-test PUF to generate n noisy PUF response values and store the auxiliary data in nonvolatile memory and reliability confidence information Input to the de-skewed data decoder.

[0109] 2. Start the debiased PUF decoding recovery process, let the index value , Is a positive integer.

[0110] 3. Determine auxiliary data If not, go to step 4; if so, Continue indexing and return to step 3 to continue.

[0111] 4. Determine reliability confidence information and Are the values ​​of both 1? , , then proceed to step 7; if not, proceed to step 5.

[0112] 5. Determine whether the reliability confidence information is , If not, proceed to step 6; if yes, then according to the reliability confidence information Corresponding response The value of restores the unbiased response , ; Then go to step 8.

[0113] 6. When reliability confidence information , When selecting reliability confidence information Corresponding response The value of produces an unbiased response , ; Then go to step 8.

[0114] 7. When reliability confidence information , select reliability confidence information , Corresponding response , The value of restores the unbiased response , ; Then go to step 8.

[0115] 8. Order , then judge Is it less than the total length n of the sequence? If so, go to step 3; if not, jump to step 9.

[0116] 9. End the correction PUF recovery process and output the unbiased response sequence.

[0117] Combination Figure 8 Come and see, Figure 8 A sequence diagram of an embodiment of the recovery process of the correction PUF provided by the present invention, according to the reliability confidence information and auxiliary data Response from band noise Recovering unbiased response Its recovery is similar to the registration process, auxiliary data Decide which bits to discard, and the reliability confidence information to determine the reliable bit, and work together to restore the unbiased response In the recovery algorithm, the correction data and reliability confidence information All of them are used as auxiliary data. Since these data only show the location information of reliable responses, there will be no additional entropy leakage.

[0118] The present invention uses reliability-enhanced self-checking PUF output sequence and reliable flag Perform debiasing encoding to generate auxiliary data and unbiased response When decoding, the corresponding Response bit (noise) value and auxiliary data And reliable bit To restore high reliability and unbiased response . Due to the response The probability of being affected by environmental changes under reliable flags is extremely small, so this method can generate unbiased responses more reliably. The unbiased response generation based on the reliability self-checking PUF proposed in the present invention can not only alleviate the entropy leakage caused by the bias of the PUF response, but also the unbiased response Y can be applied to key encryption.

[0119] Compared with other correction algorithms, the reliability confidence information correction algorithm proposed in the present invention significantly improves the response utilization rate and correction efficiency.

[0120] The embodiment of the present invention also provides a correction device based on reliability confidence information, Fig. 9 Come and see, Fig. 9 The schematic diagram of the structure of an embodiment of a deviation correction device based on reliability confidence information provided by the present invention is as follows. The deviation correction device based on reliability confidence information 900 includes:

[0121] An acquisition module 901 is used to acquire a plurality of first PUF response values ​​generated by an excitation signal after passing through a first self-test PUF, and reliability confidence information respectively corresponding to the plurality of first PUF response values;

[0122] A registration module 902 is used to perform correction registration based on the first index position and the first PUF response value after the first index position and the corresponding reliability confidence information, obtain a first unbiased response sequence and an auxiliary data sequence, store the auxiliary data sequence and the reliability confidence information corresponding to the plurality of first PUF response values, and the index value of the first index position is an even number;

[0123] The recovery module 903 is used to obtain multiple second PUF response values ​​generated by the excitation signal after passing through the second self-test PUF, and recover the multiple second PUF response values ​​based on the auxiliary data sequence and the reliability confidence information corresponding to the multiple first PUF response values ​​to recover the first unbiased response sequence, where the second self-test PUF is obtained after the first self-test PUF applies noise interference.

[0124] The specific implementation methods of each module of the correction device based on reliability confidence information can refer to the description of the correction method based on reliability confidence information mentioned above, and it has similar beneficial effects, which will not be repeated here.

[0125] It should be noted that the correction device based on reliability confidence information can be set in a mobile phone encryption chip or in an automobile electronic encryption chip, and the present invention does not make specific limitations on this.

[0126] The embodiment of the present invention further provides an electronic device, Fig.10 Come and see, Fig.10 This is a structural diagram of an embodiment of an electronic device provided by the present invention. The electronic device 1000 includes a processor 1001, a memory 1002, and a computer program stored in the memory 1002 and executable on the processor 1001. When the processor 1001 executes the program, the correction method based on reliability confidence information as described above is implemented.

[0127] As a preferred embodiment, the electronic device 1000 further includes a display 1003 for displaying that the processor 1001 executes the above-mentioned deviation correction method based on reliability confidence information.

[0128] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 1002, and are executed by the processor 1001 to complete the present invention. One or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device 1000. For example, the computer program may be divided into the acquisition module 901, the registration module 902, and the recovery module 903 in the above embodiment, and the specific functions of each module are as described above, and are not repeated here one by one.

[0129] The electronic device 1000 may be a desktop computer, a notebook, a PDA or a smart phone with an adjustable camera module.

[0130] Among them, the processor 1001 may be an integrated circuit chip with signal processing capabilities. The above-mentioned processor 1001 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present invention can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0131] The memory 1002 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory 1002 is used to store programs, and the processor 1001 executes the program after receiving an execution instruction. The process definition method disclosed in any of the embodiments of the present invention may be applied to the processor 1001 or implemented by the processor 1001.

[0132] The display 1003 may be an LCD display screen or an LED display screen, for example, a display screen on a mobile phone.

[0133] Understandably, Fig.10 The structure shown is only a schematic diagram of the structure of the electronic device 1000. The electronic device 1000 may also include Fig.10 More or fewer components as shown. Fig.10 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0134] The electronic device provided according to the above-mentioned embodiment of the present invention can be implemented with reference to the specific description of the correction method based on reliability confidence information as described above according to the present invention, and has similar beneficial effects as the correction method based on reliability confidence information as described above, which will not be repeated here.

[0135] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the deviation correction method based on reliability confidence information as described above is implemented.

[0136] Generally speaking, the computer instructions for implementing the method of the present invention can be carried by any combination of one or more computer-readable storage media. Non-transitory computer-readable storage media can include any computer-readable media except for the signal itself that is temporarily propagating.

[0137] Computer-readable storage media may be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0138] Computer program codes for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages, in particular, Python suitable for neural network computing and platform frameworks based on TensorFlow, PyTorch, etc. may be used. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0139] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0140] The present invention discloses a correction method and device based on reliability confidence information. Firstly, a plurality of first PUF response values ​​generated by an excitation signal passing through a first self-check PUF and reliability confidence information respectively corresponding to the plurality of first PUF response values ​​are obtained, so as to provide basic data for a subsequent correction process. Then, correction registration is performed according to the first PUF response value of an even-numbered index position and the next one thereof and the corresponding reliability confidence information, so as to obtain a first unbiased response sequence and an auxiliary data sequence, so as to realize correction registration. Finally, a plurality of second PUF response values ​​generated by the same excitation signal passing through a second self-check PUF are obtained. According to the reliability confidence information respectively corresponding to the plurality of first PUF response values ​​and the auxiliary data sequence, the plurality of second PUF response values ​​are restored, so as to restore the first unbiased response sequence, realize correction of the excitation signal, improve the accuracy of the PUF reliability correction algorithm, and improve the reliability and security of the correction algorithm.

[0141] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A deviation correction method based on reliability confidence information, characterized in that: include: Acquire multiple first PUF response values ​​generated by the excitation signal after passing through the first self-test PUF, and reliability confidence information respectively corresponding to the multiple first PUF response values; Based on the first index position and the first PUF response value after the first index position and the corresponding reliability confidence information, perform correction registration to obtain a first unbiased response sequence and an auxiliary data sequence, store the auxiliary data sequence and the reliability confidence information corresponding to the plurality of first PUF response values, and the index value of the first index position is an even number; Acquire multiple second PUF response values ​​generated by the excitation signal through the second self-test PUF, and restore the multiple second PUF response values ​​based on the auxiliary data sequence and the reliability confidence information respectively corresponding to the multiple first PUF response values ​​to restore the first unbiased response sequence, wherein the second self-test PUF is obtained after the first self-test PUF is subjected to noise interference; The performing correction registration based on the first index position and the first PUF response value of the next digit of the first index position and the corresponding reliability confidence information includes: Determine a value of the auxiliary data at the first index position based on the first PUF response value at the first index position and the first index position and the corresponding reliability confidence information; When the value of the auxiliary data at the determined first index position is not 0, based on the first PUF response value at the first index position and the one following the first index position and the corresponding reliability confidence information, determine the correction response value at the first index position and the one following the first index position; The recovering the plurality of second PUF response values ​​based on the auxiliary data sequence and the reliability confidence information respectively corresponding to the plurality of first PUF response values ​​comprises: When the value of the auxiliary data at the first index position is not 0, determining the unbiased response value of the first index position and the next bit of the first index position based on the second PUF response value and the reliability confidence information at the first index position and the next bit of the first index position; The specific steps of the registration process are as follows: Step 1: First, input the excitation signal EN into the self-test PUF to generate n dynamic self-test PUF response values and the corresponding reliability confidence information ; Step 2: Start the correction algorithm registration process and set the index value , is a positive integer; Step 3: Determine reliability confidence information and Are they all 0? If not, jump out of the judgment statement and execute step 4; if yes, generate auxiliary data ; Then order , continue to execute step 3 judgment statement; Step 4: Determine reliability confidence information and Are the values ​​of are all 1? If not, go to step 5; if so, , , then proceed to step 7; Step 5: Determine whether the reliability confidence information is , If not, jump out of the judgment and execute step 6; if yes, according to the reliability confidence information Corresponding response The value of produces an unbiased response and , , ; Generate auxiliary data at the same time , ; Then proceed to step 8; Step 6: When the reliability confidence information , When the reliability confidence information Corresponding response The value of produces an unbiased response and , , ; Generate auxiliary data at the same time , ; Then proceed to step 8; Step 7 When judging Whether The values ​​are the same, if , without correction processing, generate auxiliary data , ;like , respectively select the reliability confidence information , Generate debiased response from corresponding response , ; Generate auxiliary data at the same time , ; Then proceed to step 8; Step 8: , then judge Is it less than the total length n of the sequence? If so, proceed to step 3; if not, proceed to step 9; Step 9: End the correction PUF encoding process and output the correction response and auxiliary data .

2. The method for correcting errors based on reliability confidence information according to claim 1, characterized in that: The determining the value of the auxiliary data at the first index position based on the first PUF response value of the first index position and the next bit of the first index position and the corresponding reliability confidence information includes: When the reliability confidence information of the first index position and the bit after the first index position is both 0, or when the reliability confidence information of the first index position and the bit after the first index position is both 1, and the first PUF response values ​​of the first index position and the bit after the first index position are equal, it is determined that the value of the auxiliary data at the first index position is 0; When the reliability confidence information of the first index position and the bit following the first index position are not equal, or when the reliability confidence information of the first index position and the bit following the first index position are both 1, and the first PUF response values ​​of the first index position and the bit following the first index position are not equal, it is determined that the value of the auxiliary data at the first index position is 1.

3. The correction method based on reliability confidence information according to claim 2 is characterized in that: The determining, when the value of the auxiliary data at the determined first index position is not 0, based on the first PUF response value at the first index position and the first index position and the corresponding reliability confidence information, of the correction response value at the first index position and the first index position, includes: When the reliability confidence information of the first index position and the bit after the first index position is both 1, the first PUF response value of the first index position is determined as the correction response value of the first index position, and the first PUF response value of the bit after the first index position is determined as the correction response value of the bit after the first index position; When the reliability confidence information corresponding to the first index position and the bit following the first index position are not equal, the correction response values ​​of the first index position and the bit following the first index position are determined based on the first PUF response value of the second index position, and the second index position is the index position corresponding to the reliability confidence information having a value of 1 in the reliability confidence information corresponding to the first index position and the bit following the first index position.

4. The method for correcting errors based on reliability confidence information according to claim 3, characterized in that: The determining, based on the first PUF response value of the second index position, the correction response value of the first index position and the next bit of the first index position includes: When the index value of the second index position is an odd number, the inverse value of the first PUF response value at the second index position is determined as the correction response value of the first index position, and the first PUF response value at the second index position is determined as the correction response value of the next digit of the first index position; When the index value of the second index position is an even number, the first PUF response value of the second index position is determined as the correction response value of the first index position, and the inverse value of the first PUF response value of the second index position is determined as the correction response value of the next digit of the first index position.

5. The method for correcting errors based on reliability confidence information according to claim 1, characterized in that: The determining, based on the second PUF response value of the first index position and the next bit of the first index position and the reliability confidence information, of the unbiased response value of the first index position and the next bit of the first index position includes: When the reliability confidence information of the first index position and the bit after the first index position are both 1, the second PUF response value of the first index position is determined as the unbiased response value of the first index position, and the second PUF response value of the bit after the first index position is determined as the unbiased response value of the bit after the first index position; When the reliability confidence information corresponding to the first index position and the bit after the first index position is not both 1, the unbiased response value of the first index position and the bit after the first index position is determined based on the second PUF response value of the second index position, and the second index position is the index position corresponding to the reliability confidence information with a value of 1 in the reliability confidence information corresponding to the first index position and the bit after the first index position.

6. A deviation correction device based on reliability confidence information, characterized in that: include: An acquisition module, used to acquire a plurality of first PUF response values ​​generated by the excitation signal after passing through the first self-test PUF, and reliability confidence information respectively corresponding to the plurality of first PUF response values; A registration module, configured to perform correction registration based on the first index position and the first PUF response value after the first index position and the corresponding reliability confidence information, obtain a first unbiased response sequence and an auxiliary data sequence, store the auxiliary data sequence and the reliability confidence information corresponding to the plurality of first PUF response values, wherein the index value of the first index position is an even number; a recovery module, configured to obtain a plurality of second PUF response values ​​generated by the excitation signal after passing through a second self-test PUF, and recover the plurality of second PUF response values ​​based on the auxiliary data sequence and the reliability confidence information respectively corresponding to the plurality of first PUF response values, so as to recover a first unbiased response sequence, wherein the second self-test PUF is obtained after applying noise interference to the first self-test PUF; The performing correction registration based on the first index position and the first PUF response value of the next digit of the first index position and the corresponding reliability confidence information includes: Determine a value of the auxiliary data at the first index position based on the first PUF response value at the first index position and the first index position and the corresponding reliability confidence information; When the value of the auxiliary data at the determined first index position is not 0, based on the first PUF response value at the first index position and the one following the first index position and the corresponding reliability confidence information, determine the correction response value at the first index position and the one following the first index position; The recovering the plurality of second PUF response values ​​based on the auxiliary data sequence and the reliability confidence information respectively corresponding to the plurality of first PUF response values ​​comprises: When the value of the auxiliary data at the first index position is not 0, determining the unbiased response value of the first index position and the next bit of the first index position based on the second PUF response value and the reliability confidence information at the first index position and the next bit of the first index position; The specific steps of the registration process are as follows: Step 1: First, input the excitation signal EN into the self-test PUF to generate n dynamic self-test PUF response values and the corresponding reliability confidence information ; Step 2: Start the correction algorithm registration process and set the index value , is a positive integer; Step 3: Determine reliability confidence information and Are they all 0? If not, jump out of the judgment statement and execute step 4; if yes, generate auxiliary data ; Then order , continue to execute step 3 judgment statement; Step 4: Determine reliability confidence information and Are the values ​​of are all 1? If not, go to step 5; if so, , , then proceed to step 7; Step 5: Determine whether the reliability confidence information is , If not, jump out of the judgment and execute step 6; if yes, according to the reliability confidence information Corresponding response The value of produces an unbiased response and , , ; Generate auxiliary data at the same time , ; Then proceed to step 8; Step 6: When the reliability confidence information , When the reliability confidence information Corresponding response The value of produces an unbiased response and , , ; Generate auxiliary data at the same time , ; Then proceed to step 8; Step 7 When judging Whether The values ​​are the same, if , without correction processing, generate auxiliary data , ;like , respectively select the reliability confidence information , Generate debiased response from corresponding response , ; Generate auxiliary data at the same time , ; Then proceed to step 8; Step 8: , then judge Is it less than the total length n of the sequence? If so, proceed to step 3; if not, proceed to step 9; Step 9: End the correction PUF encoding process and output the correction response and auxiliary data .

7. An electronic device, characterized in that: It includes a memory and a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the deviation correction method based on reliability confidence information according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the correction method based on reliability confidence information as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Unbiased response depolarization structure based on bit self-check PUF and generation method

    CN112422273A