Chip-specific random number generator

The chip-specific random number generator uses parallel lookup tables and feedback sections to stabilize outputs, addressing vulnerabilities to machine learning attacks and reducing costs and power consumption.

JP7575734B2Active Publication Date: 2024-10-30WASEDA UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021016161
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-03
Publication Date
2024-10-30
Estimated Expiration
2041-02-03

AI Technical Summary

Technical Problem

Existing chip-specific random number generators are vulnerable to machine learning attacks and incur high cost and power consumption due to the need for numerous PUFs and unpredictable delay variations.

Method used

A chip-specific random number generator with multiple parallel lookup tables and feedback sections, utilizing PUFs to convert input signals and stabilize outputs, making it difficult to predict outputs using machine learning, while reducing the overall scale and power consumption.

Benefits of technology

The proposed generator enhances resistance to machine learning attacks while minimizing cost and power consumption by stabilizing outputs and increasing the complexity of predicting responses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007575734000001
    Figure 0007575734000001
  • Figure 0007575734000002
    Figure 0007575734000002
  • Figure 0007575734000003
    Figure 0007575734000003
Patent Text Reader

Abstract

To provide a chip unique random number generator that can be reduced in cost and power consumption and has high resistance to machine learning attacks.SOLUTION: A chip unique random number generator according to the present invention mounted on an integrated circuit chip includes a plurality of challenge input terminals, a first lookup table unit connected downstream of the challenge input terminal and having a plurality of lookup tables arranged in parallel, and an output unit connected downstream of the first lookup table unit and configured to generate a response output, and the lookup table has a plurality of input terminals and a plurality of output terminals, and uses a plurality of PUFs that generate chip-specific random numbers to code-convert a signal input to the input terminal and output the converted signal to the output terminal.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a chip-specific random number generator. [Background technology]

[0002] As the Internet of Things (IoT) advances, security issues for objects are increasing. For example, passwords written to non-volatile memory can be easily read or tampered with. In response to this, authentication methods for semiconductor chips using a PUF (Physically Unclonable Function) are attracting attention.

[0003] The PUF uses manufacturing variations in semiconductors to output a logic value unique to the chip. As a circuit using a PUF, for example, the arbiter PUF 100 shown in FIG. 10 is known (see, for example, Japanese Patent Application Laid-Open No. 2020-188345). In the arbiter PUF 100, two multi-stage delay circuits 101 form a path in which n stages are connected in series, and the two multi-stage delay circuits 101 are connected to the input C i Two paths are prepared by switching between them using the selection circuit 102 (C1, C2, . . . , Cn). The arbiter 103 determines which of these two paths will arrive first, and the output (response) of the arbiter PUF 100 is determined.

[0004] In the arbiter PUF 100, the two multi-stage delay circuits 101 are designed to have equal delay values. However, when actually manufactured, the two multi-stage delay circuits 101 have different delay values ​​due to manufacturing variations. For example, which of Delay1A and Delay1B is slower varies from semiconductor chip to semiconductor chip, and cannot be controlled. Therefore, after manufacturing the semiconductor chip, iA large number of response outputs R when a challenge input is given are acquired in advance, and are stored in a server that uses the semiconductor chip as a unique logical value of the semiconductor chip (for example, linked to the serial number of the semiconductor chip). The server then inputs a challenge input C to the semiconductor chip. i When a request is sent, the response output R that will be returned is known in advance, so for example, an encryption key for authentication is not transmitted, thereby enhancing confidentiality.

[0005] However, since the total delay time of the two paths of the Arbiter PUF 100 is the linear sum of the delays of each stage, it is vulnerable to machine learning attacks in which the output can be predicted by machine learning of several hundred CRPs (Challenge Response Pairs: pairs of challenge and response).

[0006] One possible method to resolve this vulnerability is to prepare one PUF for each challenge input. In this method, the response can change independently for each challenge input, so the server stores and uses the response output for each challenge input (see, for example, JP 2019-121885 A).

[0007] However, such a configuration requires a very large number of PUFs, which is disadvantageous in terms of reducing the cost and power consumption of integrated circuit chips. [Prior art documents] [Patent documents]

[0008] [Patent Document 1] JP 2020-188345 A [Patent Document 2] JP 2019-121885 A Summary of the Invention [Problem to be solved by the invention]

[0009] The present invention has been made in light of the above circumstances, and aims to provide a chip-specific random number generator that allows for reduced cost and power consumption, and is highly resistant to machine learning attacks. [Means for solving the problem]

[0010] A chip-specific random number generator according to one embodiment of the present invention is a chip-specific random number generator mounted on an integrated circuit chip, and comprises a plurality of challenge input terminals, a first lookup table section connected downstream of the challenge input terminals and having a plurality of lookup tables arranged in parallel, and an output section connected downstream of the first lookup table section and generating a response output, wherein the lookup table has a plurality of input terminals and a plurality of output terminals, and a plurality of PUFs that generate chip-specific random numbers code-convert a signal input to the input terminal and output it to the output terminal.

[0011] In the chip-specific random number generator, a plurality of lookup tables are arranged in parallel downstream of a plurality of challenge input terminals. Since each lookup table converts the code of a signal input to the input terminal by a plurality of PUFs, the output is highly irregular, and it is difficult to predict the output from a finite CRP by machine learning. Therefore, the chip-specific random number generator has high resistance to machine learning attacks. In addition, since the lookup tables are provided separately for a plurality of challenge input terminals, the overall size of the lookup tables is relatively small, which is advantageous for reducing the cost and power consumption of integrated circuit chips.

[0012] A second lookup table unit may be provided between the first lookup table unit and the output unit, in which a plurality of the lookup tables are further arranged in parallel, and a plurality of output terminals of one lookup table of the first lookup table unit are connected to input terminals of a plurality of lookup tables of the second lookup table unit. By providing the second lookup table unit in this way and connecting a plurality of output terminals of one lookup table of the first lookup table unit to input terminals of a plurality of lookup tables of the second lookup table unit, it is possible to make it even more difficult to predict the output from a finite CRP by machine learning. Therefore, it is possible to further increase resistance to machine learning attacks.

[0013] It is preferable to include a feedback unit disposed between the challenge input terminal and the first lookup table unit, the feedback unit performing a logical operation between a first signal input to the output unit and a second signal input from the challenge input terminal, and inputting the result of the operation to the first lookup table unit. By providing a feedback unit in this manner, it is possible to increase the number of challenge inputs and responses without increasing the number of input / output terminals of the lookup table, and to further improve resistance to machine learning attacks.

[0014] The feedback unit may be configured to input a logical operation result resulting from a different lookup table among the first signal to an input terminal of one lookup table of the first lookup table unit. By inputting a logical operation result resulting from a different lookup table among the first signal to an input terminal of one lookup table of the first lookup table unit in this manner, it is possible to make it even more difficult to predict the output from a finite CRP by machine learning. Therefore, it is possible to further increase resistance to machine learning attacks.

[0015] The feedback unit may be configured to input a logical operation result resulting from one lookup table of the first signal to input terminals of all lookup tables of the first lookup table unit. By inputting a logical operation result resulting from one lookup table of the first signal to input terminals of all lookup tables of the first lookup table unit in this manner, it is possible to make it even more difficult to predict the output from a finite CRP by machine learning. Therefore, it is possible to further increase resistance to machine learning attacks.

[0016] The input of the first signal and the input of the second signal to the feedback unit may be updated synchronously. By updating the input of the first signal and the input of the second signal to the feedback unit synchronously in this manner, it is possible to prevent the output of the chip-specific random number generator from becoming unstable.

[0017] In the path from the challenge input terminal to the output of the output unit, there may be a first output circuit determined by a current logic input, a second output circuit determined by a past output history of the first output circuit, and a logic operation circuit that performs a logic operation of the outputs of the first output circuit and the second output circuit, and the response output of the output unit may be determined by the output of the logic operation circuit. By configuring the response output of the output unit to be determined by a logic operation of the first output determined by the current logic input and the second output determined by the past history of the first output, it is possible to further increase resistance to machine learning attacks without increasing the number of input / output terminals of the lookup table.

[0018] At least one of the lookup tables may have a lookup table body having the same number of input terminals as the input terminals of the lookup table and a larger number of output terminals than the output terminals of the lookup table, and an output control circuit that generates the same number of outputs as the output terminals of the lookup table from the output of the lookup table body. Since the output determined by the PUF utilizes manufacturing variations, for example, the output may differ each time the power is turned on, and the response output may become unstable. In response to this, by having a lookup table body having the same number of input terminals as the input terminals of the lookup table and a larger number of output terminals than the output terminals of the lookup table, redundant outputs can be provided to the lookup table, and the output control circuit can selectively use a highly stable output from these outputs to stabilize the response output. In addition, the above-mentioned configuration makes it possible to generate the output of the lookup table by logically operating the many outputs of the lookup table body, thereby further improving resistance to machine learning attacks.

[0019] The PUF may be composed of bit cells, each of which has a latch circuit capable of holding data of opposite polarity, the latch circuit including a first CMOS inverter and a second CMOS inverter, and the bit cell may have a stabilization circuit using hot electron injection or BTI in a part of the MOS transistors constituting the first CMOS inverter and the second CMOS inverter. In this way, by configuring the PUF with so-called SRAM bit cells and having a stabilization circuit using hot electron injection or BTI, the response output can be stabilized.

[0020] It is preferable to have a random number stabilization unit that stabilizes the chip-specific random number generated by the PUF, and the random number stabilization unit has a random number masking circuit that masks the chip-specific random number generated by the PUF detected as unstable. By having such a configuration that masks the chip-specific random number generated by the PUF detected as unstable, it is possible to stabilize the response output. Effect of the Invention

[0021] The chip-specific random number generator of the present invention enables reduction in cost and power consumption, and is highly resistant to machine learning attacks. [Brief description of the drawings]

[0022] [Figure 1] FIG. 1 is a schematic configuration diagram showing a chip-specific random number generator according to one embodiment of the present invention. [Diagram 2] FIG. 2 is a schematic diagram showing an embodiment of the configuration of the lookup table in FIG. [Diagram 3] FIG. 3 is a schematic diagram showing an embodiment of the configuration of the bit cell of FIG. [Figure 4] FIG. 4 is a schematic diagram showing the configuration of a bit cell according to an embodiment different from the configuration of the bit cell shown in FIG. [Diagram 5] FIG. 5 is a schematic diagram showing an embodiment of a lookup table configuration different from that of FIG. [Figure 6] FIG. 6 is a schematic diagram showing an embodiment of the configuration of the bit cell of FIG. [Figure 7] FIG. 7 is a schematic diagram showing an embodiment of a lookup table configuration different from those in FIG. 2 and FIG. [Figure 8] FIG. 8 is a schematic diagram showing an embodiment of a feedback section configuration different from that of FIG. [Figure 9] FIG. 9 is a schematic configuration diagram showing a chip-specific random number generator according to an embodiment different from that shown in FIG. [Figure 10] FIG. 10 is a schematic diagram showing the configuration of a conventional chip-specific random number generator. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] [First embodiment] Hereinafter, a chip-specific random number generator according to a first embodiment of the present invention will be described with reference to the drawings as appropriate.

[0024] 1 is a chip-specific random number generator mounted on an integrated circuit chip. The integrated circuit chip is typically a semiconductor chip, but is not limited to a semiconductor chip as long as it can be equipped with a PUF.

[0025] The chip-specific random number generator 1 comprises a plurality of challenge input terminals 10, a first lookup table section 20 connected downstream of the challenge input terminals 10, an output section 30 connected downstream of the first lookup table section 20, and a feedback section 40 arranged between the challenge input terminal 10 and the first lookup table section 20.

[0026] <Challenge input terminal> The challenge input terminal 10 receives a challenge input C sent from outside the integrated circuit chip. i This is a terminal for inputting to the chip-specific random number generator 1.

[0027] The lower limit of the number of terminals of the challenge input terminal 10 (bit width of the challenge input Ci) is preferably 9, more preferably 16, and even more preferably 20. On the other hand, the upper limit of the number of terminals of the challenge input terminal 10 is preferably 256, more preferably 128, even more preferably 49, and particularly preferably 25. If the number of terminals of the challenge input terminal 10 is less than the lower limit, resistance to machine learning attacks may decrease. Conversely, if the number of terminals of the challenge input terminal 10 exceeds the upper limit, for example, the memory area required to model the chip-specific random number generator 1 on the server using the chip-specific random number generator 1 may become too large. Note that, although the resistance to machine learning attacks tends to increase as the number of terminals of the challenge input terminal 10 increases, the chip-specific random number generator 1 can obtain resistance to machine learning attacks equivalent to that of a conventional chip-specific random number generator in which the number of terminals of the challenge input terminal 10 is about 100, even if the number of terminals of the challenge input terminal 10 is equal to or less than the upper limit.

[0028] The number of terminals of the challenge input terminal 10 is set to n 2 (n: a natural number of 2 or more). In other words, it is particularly preferable that the number of terminals of the challenge input terminal 10 is 9, 16, 25, or 36. In the following, an example will be described in which the number of terminals of the challenge input terminal 10 is 9, but this does not mean that the number of terminals of the challenge input terminal 10 of the chip-specific random number generator 1 is limited to 9.

[0029] <First lookup table section> A plurality of lookup tables 21 are arranged in parallel in the first lookup table section 20. The lookup table 21 has a plurality of input terminals 21a and a plurality of output terminals 21b.

[0030] The total number of terminals of the input terminals 21a of the multiple lookup tables 21 is equal to the number of terminals of the challenge input terminal 10. Moreover, each challenge input terminal 10 is connected to the input terminal 21a of any one of the lookup tables 21 in a one-to-one relationship. Moreover, the number of terminals of the input terminals 21a is preferably equal between the lookup tables 21, and more preferably equal to the number of the lookup tables 21. In the chip-specific random number generator 1, the lookup tables 21 are divided and provided for the multiple challenge input terminals 10 in this way, so that the overall scale of the lookup tables 21 is relatively small. Therefore, it is also possible to model the chip-specific random number generator 1 by storing all the data of the lookup tables 21. In other words, even if a sufficiently large number of CRPs are prepared on the semiconductor chip side, all of them can be used.

[0031] The number of output terminals 21b of the lookup table 21 does not need to be the same as the number of input terminals 21a, but from the viewpoints of hardware utilization efficiency and resistance to machine learning attacks, it is preferable that the number is the same as the number of input terminals 21a.

[0032] That is, when the number of terminals of the challenge input terminal 10 is nine, it is preferable that the first lookup table unit 20 has three lookup tables 21 each having three input terminals 21a and three output terminals 21b. The following description is based on this configuration, but the configuration of the multiple lookup tables 21 is not limited to this.

[0033] The lookup table 21 converts the code of a signal input to an input terminal 21a by using a plurality of PUFs that generate chip-specific random numbers, and outputs the converted code to an output terminal 21b. In the chip-specific random number generator 1, the PUF is composed of an SRAM bit cell 21c, as shown in Fig. 2. When power is turned on or when PUF data appears, the bit cell 21c holds a logical value of 0 or 1 due to variations in the transistors that make up the bit cell 21c. Therefore, the logical value held by the bit cell 21c becomes an unpredictable chip-specific value.

[0034] The number of bit cells 21c is m×2, where k is the number of input terminals 21a of the lookup table 21 and m is the number of output terminals 21b. k It is recommended to set the number of bit cells 21c to 2. m By setting the number of bit cells 21c to 24, it is possible to generate chip-specific random numbers independently for all inputs and outputs. In the lookup table 21 having three input terminals 21a and three output terminals 21b, the number of bit cells 21c is 24 (=3×2 3 ) is preferred.

[0035] The lookup table 21 also has a row decoder 21d, a column decoder 21e, and a sense amplifier 21f. The input terminal 21a has three inputs, which are indicated by A0, A1, and A2 in FIG. 2. The output terminal 21b has three outputs, which are indicated by DQ0, DQ1, and DQ2 in FIG. 2. The 24 bit cells 21c are arranged in three groups, each of which has eight bit cells 21c arranged in four columns and two rows, corresponding to each of the three outputs of the output terminal 21b. Of A0, A1, and A2, two inputs A0 and A1 are input to the row decoder 21d, and one of the word lines WL0 to WL3 is selected. This selects one column from the four columns. Also, one input A2 is input to the column decoder 21e, and one of the bit lines BL0 or BL1 is selected. By these combinations, one bit cell 21c is selected for each output. The logic value (0 or 1) stored in the selected bit cell 21c is read by the sense amplifier 21f and the corresponding output DQ i (i=0, 1, 2). Note that CSB is a chip select signal (B means that the signal is low active), and when CSB is 0, the logic of the bit cell 21c is read. These are known SRAM configurations.

[0036] (Bitcell stabilization by hot electron injection) As the bit cell 21c, for example, a known six-transistor type cell may be used. Alternatively, as shown in FIG. 3, the bit cell 21c may have a latch circuit 50 capable of holding data of opposite polarities, the latch circuit 50 including a first CMOS inverter 51 and a second CMOS inverter 52, and the bit cell 21c may have a stabilization circuit 53 that injects hot electrons into some of the MOS transistors that constitute the first CMOS inverter 51 and the second CMOS inverter 52.

[0037] Specifically, the stabilization circuit 53 has a first PMOS 53a connected in parallel to a PMOS 51a constituting the first CMOS inverter 51, and a second PMOS 53b connected in parallel to a PMOS 52a constituting the second CMOS inverter 52. The gate potentials of the first PMOS 53a and the second PMOS 53b are connected in parallel to a common signal V PG is controlled by.

[0038] The stabilization circuit 53 operates normally based on the common signal V PG is used as a power supply potential, and the first PMOS 53a and the second PMOS 53b are used in an off state. On the other hand, during a pre-shipment test or burn-in test of an integrated circuit chip on which the chip-specific random number generator 1 is mounted, the common signal V PG is set to the ground potential, and the first PMOS 53a and the second PMOS 53b are turned on. A is the power supply potential, and the potential V of the second CMOS inverter 52 B In this state, when the first PMOS 53a and the second PMOS 53b are turned on, the NMOS 51b constituting the first CMOS inverter 51 operates in the saturation region, and hot electrons are injected. When hot electrons are injected, the threshold voltage of the NMOS 51b constituting the first CMOS inverter 51 increases, making it difficult for the NMOS 51b to be turned on, and the potential V A The potential V of the first CMOS inverter 51 becomes more stable at the power supply potential. In other words, the output of the bit cell 21c becomes stable. A is the ground potential, and the potential V of the second CMOS inverter 52 B When the potential V 1 becomes the power supply potential, for the same reason, the threshold voltage of the NMOS 52 b constituting the second CMOS inverter 52 increases, and the potential V B becomes more stable at the power supply potential.

[0039] In this way, the stabilization circuit 53 injects hot electrons into some of the MOS transistors constituting the first CMOS inverter 51 and the second CMOS inverter 52, thereby increasing the difference in manufacturing variations between the first CMOS inverter 51 and the second CMOS inverter 52. The logical value held by the bit cell 21c is determined by the manufacturing variations between the first CMOS inverter 51 and the second CMOS inverter 52, as described above. If the difference in manufacturing variations between the first CMOS inverter 51 and the second CMOS inverter 52 is small, an unstable phenomenon (bit error) may occur in which the logical value held changes due to changes in the environment, such as the ambient temperature or voltage. If a bit error occurs, a mismatch occurs in the CRP, so that it becomes necessary to take measures such as re-judging by adding a CRP or storing an unstable challenge input Ci in advance and not using it, resulting in a loss of CRP. Therefore, the stabilization circuit 53 can stabilize the response output R and reduce the bit error rate. In other words, the CRP loss can be reduced and efficient authentication can be performed, thereby reducing the burden on the server side.

[0040] 3, the bit cell 21c has a pass transistor 54 that is provided between the output of the first CMOS inverter 51 and the bit line BL and between the output of the second CMOS inverter 52 and the inverted bit line BLB, and has a gate potential controlled by the word line WL. The pass transistor 54 enables the logical value held by the bit cell 21c belonging to the column selected by the word line WL to be output to either the bit line BL0 or BL1. A known six-transistor bit cell is composed of a first CMOS inverter 51 (two transistors), a second CMOS inverter 52 (two transistors), and two pass transistors 54.

[0041] The configuration of the stabilization circuit 53 is not limited to the configuration shown in Fig. 3. For example, as shown in Fig. 4, a configuration having a first NMOS 55a connected in parallel to a PMOS 51a constituting the first CMOS inverter 51, and a second NMOS 55b connected in parallel to a PMOS 52a constituting the second CMOS inverter 52 may be adopted as the stabilization circuit 55. In this stabilization circuit 55, a value previously stored in the PUF is inverted. Then, V ND is the ground potential, and V NG is set to the threshold voltage of the first NMOS 55a and the second NMOS 55b or a voltage slightly higher than that (for example, 1.0 V). P A high voltage (e.g., 3.3 V) is applied to the NMOS. This causes a saturation current to flow through the NMOS that constitutes the CMOS inverter with a logic value of 1, and hot carriers are injected. Note that, as a method for inverting the value stored in the PUF, for example, the configuration shown in Fig. 5, which is used for stabilizing the bit cell by BTI (described later), can be used.

[0042] (Bitcell stabilization by BTI) Also, BTI (Bias Temperature Instability) can be used as a means for stabilizing the operation of the bit cell. FIG. 5 shows an example of the configuration of the lookup table 22 in the case where the bit cell 21g has a stabilization circuit 56 by BTI. When BTI is used, as shown in FIG. 5, for example, eight bit cells 21g belonging to the same column can share the stabilization circuit 56. In this case, for example, a known six-transistor type cell (see FIG. 6) can be used for each bit cell 21g. In the lookup table 22 shown in FIG. 5, the components other than the bit cell 21g and the stabilization circuit 56 are the same as those of the lookup table 21 shown in FIG. 2. In addition, the components of the bit cell 21g shown in FIG. 6 are the same as those of the bit cell 21c shown in FIG. 3. Therefore, detailed description of these components will be omitted.

[0043] The BTI-based stabilization circuit 56 has a write CMOS inverter 56a that inverts the logical value of the bit cell 21g read by the sense amplifier 21f, and a write driver 56b that writes the output logical value of the write CMOS inverter 56a into the read bit cell 21g.

[0044] In the following, the operation principle will be described. Let us suppose that the bit cell 21g has a potential V A is the power supply potential, and the potential V of the second CMOS inverter 52 B The following description will be given assuming that the potential of the resistor tends to be the ground potential. The same applies to the case where the potential tends to be stable at the opposite potential.

[0045] The potential V of the first CMOS inverter 51 A Since the potential V is the power supply potential, the PMOS 51a of the first CMOS inverter 51 is in an ON state, and the potential V of the second CMOS inverter 52 is B is at ground potential, the NMOS 52b of the second CMOS inverter 52 is in the ON state. When the stabilization circuit 56 is operated, that is, when the input WEB is made active, the inverted logic is written, so that the NMOS 51b of the first CMOS inverter 51 is turned on and the PMOS 52b of the second CMOS inverter 52 is also turned on. Since the BTI acts on transistors in the ON state, the threshold voltages of the NMOS 51b of the first CMOS inverter 51 and the PMOS 52b of the second CMOS inverter 52 rise. As a result, the potential V of the first CMOS inverter 51 A is the power supply potential, and the potential V of the second CMOS inverter 52 B is at ground potential and is more stable. The stabilization of bit cell 21g by BTI can be performed during pre-shipment testing or burn-in testing of an integrated circuit chip on which the chip-specific random number generator 1 is mounted, similar to the stabilization of bit cell 21c by hot electron injection.

[0046] The configuration of the stabilization circuit 56 is not limited to the configuration shown in FIG. 5. For example, the write CMOS inverter 56a may be omitted, and the logical value of the bit cell 21g may be read from outside the integrated circuit chip, and the inverted logic may be written by the write driver 56b.

[0047] Even when BTI is used in this way, the response output R can be stabilized by the stabilization circuit 56, and the bit error rate can be reduced. In other words, the CRP loss can be reduced, and efficient authentication can be performed, so the burden on the server side can also be reduced.

[0048] (Bit cell stabilization by output control circuit) As shown in FIG. 7, the lookup table 23 may be configured to have a lookup table main body 23a and an output control circuit 23b, thereby stabilizing the operation of the bit cell 21c.

[0049] The lookup table main body 23a has the same number of input terminals as the input terminals 23c of the lookup table 23 and more output terminals than the output terminals 23d of the lookup table 23. In the chip-specific random number generator 1, it is assumed that the input terminals 23c and the output terminals 23d of the lookup table 23 each have three terminals, so the number of input terminals of the lookup table main body 23a is three. On the other hand, the number of output terminals of the lookup table main body 23a is four or more. Hereinafter, an example will be described in which the number of output terminals of the lookup table main body 23a is four, but the number of output terminals of the lookup table main body 23a is not limited to four.

[0050] The lookup table main body 23a can be configured similarly to the lookup table 21 shown in Fig. 2, for example, except that the number of output terminals is four. The lookup table main body 23a has one more output terminal than the lookup table 21 shown in Fig. 2, so one column (the portion indicated by the dashed line in Fig. 2) is added in parallel. Since the configuration is the same except for the above points, detailed description will be omitted.

[0051] The output control circuit 23b generates outputs, the number of which is the same as the number of output terminals 23d of the lookup table 23, from the output of the lookup table main body 23a.

[0052] 7 shows an example of the configuration of the output control circuit 23b. In this output control circuit 23b, each output DQ of the output terminal 23d i (i=0, 1, 2) is CN i , C.R. i The four outputs of the lookup table body 23a are controlled by j To explain this in more detail, taking the output DQ0 as an example where (j=0 to 3), when (CN0, CR0)=(0, 0), the output DQ0 is masked with 0.

[0053] When (CN0, CR0)=(1, 0) or (0, 1), DO0 and DO3 are selected, respectively. For example, if the output of DO0 is the normal state, and a phenomenon that shows an unstable output is recognized in the normal state, it is possible to improve stability by replacing it with DO3. Since the output determined by the PUF utilizes manufacturing variations, etc., as described above, there may be cases where the output differs each time the power is turned on, resulting in an unstable response output. In response to this, by providing a lookup table main body 23a having the same number of input terminals as the input terminals 23c of the lookup table 23 and more output terminals than the output terminals 23d of the lookup table 23, redundant outputs are provided in the lookup table 23, and the output control circuit 23b selectively uses a highly stable output from these outputs, thereby stabilizing the response output.

[0054] Furthermore, when (CN0, CR0)=(1, 1), the result of logical operation of the output of the lookup table main body 23a (here, the exclusive OR of DO0 and DO3) is output to the output terminal 23d (here, DQ0) of the lookup table 23. By outputting the result of logical operation of the output of the lookup table main body 23a in this manner, it is possible to increase resistance to machine learning attacks.

[0055] Furthermore, for example, (CN0, CR0) = (1, 0), (0, 1), (1, 1) may be dynamically or periodically switched. This allows the system to behave as if it were a lookup table with a different PUF, making the model that must be constructed for machine learning attacks more complex. In addition, this prevents the degradation of randomness caused by periodicity that occurs when the same lookup table input value as before appears by chance as feedback is repeated. This improves resistance to machine learning attacks.

[0056] (others) The random number stabilization unit may include a random number stabilization unit that stabilizes chip-specific random numbers generated by the PUF, and the random number stabilization unit may include a random number masking circuit that masks chip-specific random numbers generated by a PUF that is detected as unstable.

[0057] When a bit cell 21c exhibiting an unstable output is detected in the lookup table 21, if an input for selecting this bit cell 21c is input to the input terminal 21a of the lookup table 21, the output of this bit cell 21c is fixed to a logical value of 0 or 1 regardless of its logical value. By having a configuration for masking the chip-specific random number generated by a PUF detected as unstable in this way, the response output R can be stabilized.

[0058] As a specific configuration, for example, a shadow memory (non-volatile memory) corresponding to each bit cell 21c of the lookup table 21 is prepared, and the memory value of the bit cell 21c detected to be unstable is set to 0, and the memory values ​​of the other bit cells 21c are set to 1. When each bit cell 21c is selected, the corresponding memory value of the shadow memory is also selected, and the logical product (AND) of both is set as the output of the lookup table 21. With this configuration, the output of the unstable bit cell 21c can be fixed to 0.

[0059] To detect an unstable bit cell 21c, for example, before shipping an integrated circuit chip on which the chip-specific random number generator 1 is mounted, tests may be conducted under different temperature and power supply voltage conditions to determine instability, or a stability detection circuit may be mounted and detection may be performed using, for example, AI based on a discrepancy in CRP.

[0060] Although several means for stabilizing the bit cell 21c have been described above, two or more means may be used simultaneously for the same lookup table 21. Also, different means may be implemented for different lookup tables 21.

[0061] <Output section> The output unit 30 generates a response output R as shown in Fig. 1. The output unit 30 has a first response output circuit 31 determined by a current logical input to the output unit 30, a second response output circuit 32 determined by a past output history of the first response output circuit 31, and a logical operation circuit 33 that performs logical operation of the outputs of the first response output circuit 31 and the second response output circuit 32. The response output R of the output unit 30 is determined by the output of the logical operation circuit 33. In other words, the chip-specific random number generator 1 has, in a path from the challenge input terminal 10 to the output of the output unit 30, a first output circuit (first response output circuit 31) determined by a current logical input, a second output circuit (second response output circuit 32) determined by a past output history of the first output circuit, and a logical operation circuit 33 that performs logical operation of the outputs of the first output circuit and the second output circuit.

[0062] The first response output circuit 31 is realized by a combinational logic. The combinational logic of the first response output circuit 31 can be set arbitrarily, but for example, it can be a logic circuit that calculates an exclusive OR for all bits of the output terminal 21b of the first lookup table unit 20 as shown in Fig. 1. Since the exclusive OR has an equal probability of outputting 0 and 1 for a random input, it is easy to increase resistance to machine learning attacks.

[0063] The output of the second response output circuit 32 is not determined only by the output of the first response output circuit 31, but depends on the past history of this first response output circuit 31. In Fig. 7, a counter circuit that counts the number of 1s (or 0s) in the output of the first response output circuit 31 is used as the second response output circuit 32, and the least significant bit (LSB) is output. In other words, every time the output of the first response output circuit 31 becomes 1 (or 0), the output of the second response output circuit 32 is inverted, and even if the output of the first response output circuit 31 is 1 (or 0), the output of the second response output circuit 32 can be either 0 or 1.

[0064] The second response output circuit 32 is not limited to a counter circuit, and may be, for example, a shift register circuit, etc., as long as it is a logic circuit determined by the past output history of the first response output circuit 31. For example, when using a shift register circuit in which input is made from the most significant bit, the least significant bit may be used, or an exclusive OR of the two least significant bits may be used. In addition, the second response output circuit 32 may be configured to reset the history or not reset the history each time a new series of CRP generation operations are performed, but a configuration that does not reset the history is preferable.

[0065] The logic of the logical operation circuit 33 can be determined arbitrarily, but for example, similar to the first response output circuit 31, it can be a combinational circuit that operates an exclusive OR.

[0066] In this way, by determining the response output R of the output unit 30 by a logical operation between the first response output determined by the current logical input and the second response output determined by the past history of the first response output, it is possible to make it behave as if it were a lookup table having different PUFs, so that the model that must be constructed for machine learning attacks becomes complex. Therefore, it is possible to further increase resistance to machine learning attacks.

[0067] In particular, in a configuration in which the history is not reset as the second response output circuit 32, different response outputs R can be generated for the same challenge input Ci depending on the past history. In a conventional chip-specific random number generator, the same response output R is generated for the same challenge input Ci, so if the response output R is known by eavesdropping on the communication path, it may be used for impersonation. For this reason, in a conventional chip-specific random number generator, the CRP is disposable as a rule and is used only once. In contrast, if different response outputs R are obtained for the same challenge input Ci, it is difficult to predict the response output R even if the same challenge input Ci is used repeatedly. Therefore, by adopting a configuration in which the history is not reset as the second response output circuit 32, it is possible to build an authentication system in which challenge inputs Ci used in the past can be used repeatedly. In other words, there is no need to prepare a huge amount of CRP, and the chip-specific random number generator 1 can be made less expensive and consume less power while maintaining resistance to machine learning attacks.

[0068] <Feedback section> The feedback unit 40 performs a logical operation on the first signal 40a input to the output unit 30 and the second signal 40b input from the challenge input terminal 10, and inputs the result to the first lookup table unit 20. By providing the feedback unit 40 in this way, it is possible to further improve resistance to machine learning attacks without increasing the scale (number of input / output terminals and number) of the lookup table 21. In addition, by having the feedback unit 40, it is possible to input a challenge input Ci having a plurality of bit widths in a time-division manner, so that it is possible to increase the number of challenge inputs without increasing the scale of the lookup table 21. Furthermore, even if the same challenge input Ci is maintained, the number of responses can be increased by repeating feedback and output. In this way, by obtaining a large number of response outputs R from one set of challenge inputs Ci, the number of CRPs required for authentication is reduced, and therefore high throughput and low energy can be achieved.

[0069] The logic operation is performed by the first logic operation circuit 40c. The logic operation is not particularly limited, but for example, an exclusive OR of the first signal 40a and the second signal 40b in units of each bit can be used. The logic operation may dynamically change the logical expression to be operated. For example, in the first logic operation, there may be a case where the input of the first signal 40a does not exist. In this way, the output is normal when the input of the first signal 40a does not exist, and the output is inverted when the input of the first signal 40a exists. By complicating the logic generation process, the resistance to machine learning attacks can be further improved.

[0070] In addition, the input of the first signal 40a and the input of the second signal 40b to the feedback unit 40 may be updated synchronously. Specifically, a sequential circuit (flip-flop) whose value is updated by a clock synchronized with the change timing of the second signal 40b input from the challenge input terminal 10 may be provided, and the logical value of the first signal 40a or the logical value to be input to the first lookup table unit 20 may be stored in this sequential circuit. When the logical value to be input to the first lookup table unit 20 is stored, the change in the logical value is promptly transmitted to the first signal 40a via the first lookup table unit 20, so that the input of the first signal 40a is essentially updated synchronously with the input of the second signal 40b.

[0071] By updating the input of the first signal 40a and the input of the second signal 40b to the feedback section 40 synchronously in this manner, it is possible to prevent the output of the chip-specific random number generator 1 from becoming unstable.

[0072] 1, the three lookup tables 21 of the first lookup table section 20 are a lower lookup table 21x that receives C1 to C3 of the challenge input terminal 10 as input, a middle lookup table 21y that receives C4 to C6 of the challenge input terminal 10 as input, and a higher lookup table 21z that receives C7 to C9 of the challenge input terminal 10 as input. The input of the lower lookup table 21x is such that the first bit of the lower lookup table 21x is fed back to the first bit, the first bit of the middle lookup table 21y is fed back to the second bit, and the first bit of the higher lookup table 21z is fed back to the third bit, and a logical operation is performed. The middle lookup table 21y and the higher lookup table 21z are also configured in the same way.

[0073] In this way, the feedback unit 40 may be configured to input the logical operation results resulting from different lookup tables 21 in the first signal 40a to the input terminal 21a of one lookup table 21 in the first lookup table unit 20. By inputting the logical operation results resulting from different lookup tables 21 in the first signal 40a to the input terminal 21a of one lookup table 21 in the first lookup table unit 20, it is possible to make it more difficult to predict the output from a finite CRP by machine learning. Therefore, it is possible to further increase resistance to machine learning attacks.

[0074] Conversely, the first bit of the output of the lower lookup table 21x is fed back to the first bit of the lower lookup table 21x, the second bit is fed back to the first bit of the middle lookup table 21y, and the third bit is fed back to the first bit of the upper lookup table 21z for logical operation. The middle lookup table 21y and the upper lookup table 21z also have the same configuration.

[0075] In this way, the feedback unit 40 may be configured to input the logical operation result resulting from one lookup table 21 of the first signal 40a to the input terminals 21a of all lookup tables 21 of the first lookup table unit 20. By inputting the logical operation result resulting from one lookup table 21 of the first signal 40a to the input terminals 21a of all lookup tables 21 of the first lookup table unit 20, it is possible to make it even more difficult to predict the output from a finite CRP by machine learning. Therefore, it is possible to further increase resistance to machine learning attacks.

[0076] In order to further increase resistance to machine learning attacks, the feedback unit 41 may be configured as shown in Fig. 8. The feedback unit 41 further includes a second logic operation circuit 40d that receives the first signal 40a as an input, and is configured to input a logic operation result of the first signal 40a resulting from a different lookup table 21 to one input terminal 21a of one lookup table 21 in the first lookup table unit 20.

[0077] The lower lookup table 21x, the middle lookup table 21y, and the upper lookup table 21z are represented by the subscript i (i=x, y, z), each bit of each lookup table 21 is represented by the subscript j (j=1, 2, 3), and the output b of the second logic operation circuit 40d is represented by the subscript i (i=x, y, z). ij The output of each lookup table 21 is ij For example, b x1 =EXOR(DQ 11 , DQ 21 , DQ 31 ) b x2 =EXOR(DQ 12 , DQ 22 , DQ 32 ) b x3 =EXOR(DQ 13 , DQ 23 , DQ 33 ) b y1 =EXOR(DQ 11 , DQ23 , DQ 32 ) b y2 =EXOR(DQ 12 , DQ 21 , DQ 33 ) b y3 =EXOR(DQ 13 , DQ 22 , DQ 31 ) b z1 =EXOR(DQ 11 , DQ 22 , DQ 33 ) b z2 =EXOR(DQ 12 , DQ 23 , DQ 31 ) b z3 =EXOR(DQ 13 , DQ 21 , DQ 32 ) It can be said that:

[0078] <Advantages> In the chip-specific random number generator 1, a plurality of lookup tables 21 are arranged in parallel downstream of a plurality of challenge input terminals 10. Since each lookup table 21 converts the code of a signal input to an input terminal 21a using a plurality of PUFs, the output is highly irregular, and it is difficult to predict the output from a finite CRP by machine learning. Therefore, the chip-specific random number generator 1 has high resistance to machine learning attacks. In addition, since the lookup tables 21 are provided separately for a plurality of challenge input terminals 10, the overall size of the lookup tables 21 is relatively small, which is advantageous for reducing the cost and power consumption of integrated circuit chips.

[0079] [Second embodiment] Hereinafter, a chip-specific random number generator according to a second embodiment of the present invention will be described with reference to the drawings as appropriate.

[0080] The chip-specific random number generator 2 shown in FIG. 9 is a chip-specific random number generator mounted on an integrated circuit chip. The chip-specific random number generator 2 includes a plurality of challenge input terminals 10, a first lookup table unit 20 connected to the downstream side of the challenge input terminal 10, an output unit 30 connected to the downstream side of the first lookup table unit 20, a feedback unit 40 arranged between the challenge input terminal 10 and the first lookup table unit 20, and a second lookup table unit 60 connected between the first lookup table unit 20 and the output unit 30. The first lookup table unit 20 includes a plurality of lookup tables 21 arranged in parallel, and the lookup table 21 has a plurality of input terminals 21a and a plurality of output terminals 21b, and a plurality of PUFs that generate chip-specific random numbers convert the code of a signal input to the input terminal 21a and output the code to the output terminal 21b. The output unit 30 generates a response output R.

[0081] The first lookup table unit 20, the output unit 30, and the feedback unit 40 can be configured in the same manner as in the first embodiment, so they are denoted by the same reference numerals and detailed description is omitted. Below, the second lookup table unit 60 will be mainly described. Also, as in the first embodiment, the number of terminals of the challenge input terminal 10 is nine, and the first lookup table unit 20 has three lookup tables 21 each having three input terminals 21a and three output terminals 21b. However, this does not mean that the chip-specific random number generator 2 is limited to this configuration.

[0082] The second lookup table section 60 has a plurality of lookup tables 61 arranged in parallel. The total number of input terminals 61a of the plurality of lookup tables 61 constituting the second lookup table section 60 is equal to the total number of input terminals 21a of the plurality of lookup tables 21 constituting the first lookup table section 20.

[0083] Each lookup table 61 can be configured in the same manner as the first lookup table 21. Here, an example will be described in which the second lookup table unit 60 has three lookup tables 61 each having three input terminals 61a and three output terminals 61b, but this does not mean that the chip-specific random number generator 2 is limited to this configuration.

[0084] 9, the 3-bit output of the lower lookup table 21x of the first lookup table unit 20 is input to the first bit of each of the three lookup tables 61 constituting the second lookup table unit 60. Similarly, the 3-bit output of the middle lookup table 21y of the first lookup table unit 20 is input to the second bit of each of the three lookup tables 61 constituting the second lookup table unit 60, and the 3-bit output of the upper lookup table 21z of the first lookup table unit 20 is input to the third bit of each of the three lookup tables 61 constituting the second lookup table unit 60.

[0085] In this manner, it is preferable that the multiple output terminals 21b of one lookup table 21 in the first lookup table section 20 are connected to the input terminals 61a of the multiple lookup tables 61 in the second lookup table section 60.

[0086] <Advantages> The chip-specific random number generator 2 includes a second lookup table unit 60, and by connecting a plurality of output terminals 21b of one lookup table 21 of the first lookup table unit 20 to input terminals 61a of a plurality of lookup tables 61 of the second lookup table unit 60, it is possible to make it even more difficult to predict the output from a finite CRP by machine learning. Therefore, the chip-specific random number generator 2 can further increase resistance to machine learning attacks.

[0087] [Other embodiments] The above-mentioned embodiment does not limit the configuration of the present invention. Therefore, the above-mentioned embodiment may omit, replace or add components of each part of the above-mentioned embodiment based on the description in this specification and common technical knowledge, and it should be understood that all of these are within the scope of the present invention.

[0088] In the above embodiment, the PUF is configured with SRAM bit cells, but other configurations can be adopted for the PUF. For example, a non-volatile memory PUF, a serial NAND PUF, a glitch PUF, an arbiter PUF, a ring oscillator PUF, a butterfly PUF, etc. can also be used as the PUF.

[0089] In the above embodiment, the output unit outputs a 1-bit response, but it may be configured to output multiple responses. In this case, for example, in the above embodiment, the response output may be a 3-bit output obtained by exclusively selecting 1 bit each from the 3-bit output terminals of three different lookup tables and performing an operation (e.g., exclusive OR). By making the response output multi-bit, it is possible to improve the response efficiency, shorten the authentication time, and reduce power consumption.

[0090] In the above embodiment, a case where a one-layer or two-layer lookup table unit is provided has been described, but a three-layer or more lookup table may be provided. In addition, a response output of a desired number of bits may be obtained by making the number of output terminals of the lookup table from the second layer onwards less than the number of input terminals. In this case, the lookup table unit also serves as a part of the output unit. By making it multi-layered in this way, it is possible to further increase resistance to machine learning attacks.

[0091] In the above embodiment, the output unit has a first response output circuit determined by a current logic input, a second response output circuit determined by a past output history of the first response output, and a logic operation circuit that performs a logic operation on the outputs of the first response output circuit and the second response output circuit. However, the output unit may be composed only of the first response output circuit. In this case, the output of the output unit is determined only by the current logic input.

[0092] In the above embodiment, the case where a feedback unit is provided has been described, but the feedback unit is not an essential component, and the present invention also contemplates a chip-specific random number generator that does not include a feedback unit.

[0093] In the second embodiment, a logical operation is performed between the first signal input to the output section of the feedback section, i.e., the output signal of the second lookup table section, and the second signal input from the challenge input terminal, and the result is input to the first lookup table section. Instead of this configuration, the first signal can be the output signal of the first lookup table section. Also, when the first signal is the output signal of the second lookup table section, the second signal can be the output signal of the second lookup table section, and the result of the logical operation between the first signal and the second signal can be input to the second lookup table section.

[0094] In the above embodiment, the output unit has the first response output circuit, the second response output circuit, and the logical operation circuit, but these circuits may be disposed at any position on the path from the challenge input terminal to the output terminal, for example, on the input terminal side of the first lookup table unit, on the output side of the output control circuit, etc. Even when disposed at such a position, the response output of the output unit is determined by the output of the logical operation circuit, and therefore the same effect is achieved. [Industrial Applicability]

[0095] As described above, the chip-specific random number generator of the present invention enables reduction in cost and power consumption, and is highly resistant to machine learning attacks. [Explanation of symbols]

[0096] 1, 2 Chip-specific random number generator 10 Challenge input terminal 20 First lookup table section 21, 22, 23 Lookup Table 21a, 23c Input terminals 21b, 23d output terminals 21c, 21g bitcell 21d Low Decoder 21e Column Decoder 21f Sense Amplifier 21x Lower Lookup Table 21y Mid-level Lookup Table 21z Upper Lookup Table 23a Lookup table body 23b Output control circuit 30 Output section 31 First response output circuit 32 Second response output circuit 33 Logic Operation Circuit 40, 41 Feedback section 40a 1st signal 40b 2nd signal 40c First logic operation circuit 40d Second logic operation circuit 50 Latch circuit 51 1st CMOS inverter 51a PMOS 51b NMOS 52 2nd CMOS inverter 52a PMOS 52b NMOS 53 Stabilization circuit 53a 1st PMOS 53b 2nd PMOS 54 Pass transistor 55 Stabilization circuit 55a 1st NMOS 55b Second NMOS 56 Stabilization circuit 56a Write CMOS inverter 56b Write driver 60 Second lookup table section 61 Lookup Table 61a Input terminal 61b Output terminal 100 Arbiter PUF 101 Multi-stage delay circuit 102 Selection circuit 103 Arbiter Ci Challenge Input R Response output

Claims

1. A chip-specific random number generator mounted on an integrated circuit chip, comprising: A plurality of challenge input terminals; a first lookup table unit connected to the downstream side of the challenge input terminal and having a plurality of lookup tables arranged in parallel; an output section connected downstream of the first lookup table section and generating a response output; Equipped with The lookup table has multiple input terminals and multiple output terminals, and the chip-specific random number generator uses multiple PUFs that generate chip-specific random numbers to code-convert the signal input to the input terminal and output it to the output terminal.

2. a second lookup table section connected between the first lookup table section and the output section, in which a plurality of the lookup tables are further arranged in parallel; 2. The chip-specific random number generator according to claim 1, wherein a plurality of output terminals of one lookup table of said first lookup table section are connected to input terminals of a plurality of lookup tables of said second lookup table section.

3. a feedback unit disposed between the challenge input terminal and the first lookup table unit; A chip-specific random number generator as described in claim 1 or claim 2, wherein the feedback unit performs a logical operation on a first signal input to the output unit and a second signal input from the challenge input terminal, and inputs the result to the first lookup table unit.

4. The chip-specific random number generator according to claim 3, wherein the feedback section is configured to input the logical operation results of the first signal resulting from different lookup tables to an input terminal of one of the lookup tables of the first lookup table section.

5. A chip-specific random number generator as described in claim 3 or claim 4, wherein the feedback section is configured to input a logical operation result resulting from one lookup table of the first signal to the input terminals of all lookup tables of the first lookup table section.

6. 6. The chip-specific random number generator according to claim 3, wherein the input of the first signal and the input of the second signal to the feedback section are updated synchronously.

7. A path from the challenge input terminal to the output of the output unit includes a first output circuit determined by a current logic input, a second output circuit determined by a past output history of the first output circuit, and a logic operation circuit that performs a logic operation on the outputs of the first output circuit and the second output circuit, 7. The chip-specific random number generator according to claim 1, wherein the response output of said output section is determined by the output of said logical operation circuit.

8. At least one of the lookup tables comprises: a lookup table body having the same number of input terminals as the input terminals of the lookup table and a greater number of output terminals than the output terminals of the lookup table; an output control circuit for generating outputs from the output of the lookup table body, the number of which is equal to the number of output terminals of the lookup table; 8. The chip-specific random number generator according to claim 1, further comprising:

9. the PUF is composed of bit cells, the bit cell has a latch circuit capable of holding data of opposite polarities, the latch circuit including a first CMOS inverter and a second CMOS inverter; 9. The chip-specific random number generator according to claim 1, wherein the bit cell has a stabilization circuit using hot electron injection or BTI in a portion of the MOS transistors constituting the first CMOS inverter and the second CMOS inverter.

10. A random number stabilization unit that stabilizes a chip-specific random number generated by the PUF, 10. The chip-specific random number generator according to claim 1, wherein the random number stabilization unit has a random number masking circuit that masks the chip-specific random number generated by the PUF detected as unstable.

Citation Information

Patent Citations

  • Memory circuit, data control circuit of memory circuit and address specifying circuit for memory circuit

    JP1996335399A

  • Dispersed PUF

    JP2012509039A

  • Digital value generation apparatus and method

    JP2014522134A

  • Monitoring device, monitor system, information processing device, monitoring method, and program

    JP2019121885A

  • Control board, control device, information distribution system, and decryption method

    JP2020188345A