[go: up one dir, main page]

WO2013080921A1 - Device-inherent information generation/output device, device-inherent information generation method and generation program - Google Patents

Device-inherent information generation/output device, device-inherent information generation method and generation program Download PDF

Info

Publication number
WO2013080921A1
WO2013080921A1 PCT/JP2012/080486 JP2012080486W WO2013080921A1 WO 2013080921 A1 WO2013080921 A1 WO 2013080921A1 JP 2012080486 W JP2012080486 W JP 2012080486W WO 2013080921 A1 WO2013080921 A1 WO 2013080921A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuits
information
specific information
physical
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/JP2012/080486
Other languages
French (fr)
Japanese (ja)
Inventor
利彦 岡村
一彦 峯松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2013547140A priority Critical patent/JP6007918B2/en
Publication of WO2013080921A1 publication Critical patent/WO2013080921A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer

Definitions

  • the present invention relates to a device specific information generation / output device, a device specific information generation method, and a generation program, and more particularly to a device specific information generation / output device that generates specific information using a physical state inside the device.
  • a device that is a communication partner
  • An authentication process for determining whether or not is genuine is necessary.
  • the authentication process is premised on the presence of unique information (ID) that can uniquely identify the device, such as a serial number or an individual identification number.
  • ID unique information
  • PUF Physical Unclonable Function
  • silicon PUF is simply referred to as PUF.
  • FIG. 14 is an explanatory diagram showing a configuration of the terminal device 910 provided with unique information generation means using PUF according to the existing technology.
  • the terminal device 910 is a peripheral device that can be detachably connected to the host computer 920 via an interface such as a USB, and an MPU (microprocessor) 911 that is a main body that executes a computer program, and a volatile memory that stores data. 912, a nonvolatile memory 913, an interface 914 that mediates connection between the host computer 20, and device physical information generation means 950.
  • MPU microprocessor
  • the MPU 911 functions as the physical information mapping unit 960 by executing the unique information generation program. Accordingly, the MPU 911, the volatile memory 912, and the nonvolatile memory 913 together function as a device specific information generation / output device.
  • the device physical information generation means 950 is a device that is a specific detection target of physical characteristics, and is often configured by a combination of a plurality of identical circuits. Specifically, this includes, for example, a dynamic RAM (DRAM) element, an oscillation circuit such as a ring oscillator, and the like.
  • DRAM dynamic RAM
  • oscillation circuit such as a ring oscillator
  • the physical information mapping unit 960 detects the physical feature from the device physical information generation unit 950 and outputs it to the host computer 920 as an output value (unique information) of the PUF.
  • the host computer 920 authenticates the terminal device 910 with this unique information.
  • Non-Patent Document 1 describes an example of a typical technique related to silicon PUF.
  • Non-Patent Document 2 describes trends in anti-counterfeiting technology using artifact metrics including PUF.
  • Non-Patent Document 3 describes a PUF that uses the randomness of wiring delay that inevitably occurs in the manufacturing process.
  • Non-Patent Document 4 describes a PUF that utilizes the fact that the initial value of each bit when a static RAM (SRAM) is powered on becomes random.
  • SRAM static RAM
  • the SRAM is the device physical information generation means 950 shown in FIG. 14, and the bit position in the SRAM is the output value of the PUF.
  • the physical information mapping unit 960 outputs an initial value at the time of power-on of the bit position given as input information.
  • the bit value is generated and registered in advance in the terminal device 910 as an initial setting process, and the bit value generated at that time in the terminal device 910 is registered in the initial setting process at the time of authentication. Match against a value.
  • Patent Document 1 describes a PUF technique in which unique information can be generated not only for SRAM but also for DRAM by a similar method.
  • a DRAM expresses a bit by the presence or absence of electric charge in a capacitor (capacitor) constituting an element. The charged charge leaks over time. Accordingly, in order to prevent the loss of bits due to leakage of electrification, the DRAM must be refreshed by periodically reading and charging the charge.
  • ⁇ Charge retention characteristics of each element are called retention characteristics, and are mainly determined by the magnitude of leakage current, and have variations that are difficult to predict.
  • Patent Document 2 describes an information generating apparatus provided with a removing unit that removes an interfering factor for a signal component due to variations in the structure of elements and an extracting unit that outputs unique information on the variation state of the element group.
  • Patent Document 3 describes an authentication / authenticated device that uses spontaneous variation in output signal characteristics as individual-specific information.
  • Patent Document 4 describes an amusement machine that uses an operation code generated from authentication data to detect an illegal act or malfunction due to exchange with an illegal substrate.
  • the PUF detects a slight variation in physical characteristics within the range allowed by the manufacturing standard of the device.
  • Such physical characteristics are particularly susceptible to environmental influences such as temperature.
  • the time until the above-described DRAM bit is inverted after charging (retention characteristics) is greatly influenced by temperature, and the influence of each element on the influence is also large.
  • An object of the present invention is to provide a device-specific information generation / output device, a device-specific information generation method, and a generation program that are not easily affected by environmental changes such as temperature and that can stably output certain specific information. There is.
  • a device specific information generation / output apparatus detects device specific information related to authentication of an electronic device from an electronic device including a plurality of circuits, and outputs the device specific information generation output.
  • a device physical information generation unit including a plurality of circuits for which specific information is to be detected; a higher-level circuit detection unit that detects physical characteristics of each circuit from the device physical information generation unit; and detection at a first time Group detection by selecting M circuits (M is an integer of 2 or more) based on the ranking of the numerical values of the generated physical characteristics and creating a group and storing information about the group in a nonvolatile memory provided in advance
  • M circuits M is an integer of 2 or more
  • a device specific information generation method detects device specific information related to authentication of an electronic device from an electronic device including a plurality of circuits and outputs the device specific information. Then, the upper circuit detection unit detects the physical characteristics of each circuit from the device physical information generation means including a plurality of circuits whose specific information is to be detected at the first time, and the numerical order of the detected physical characteristics Based on the above, the group detection unit selects M circuits (M is an integer of 2 or more) to create a group, and stores information about the group in a nonvolatile memory provided in advance by the group detection unit.
  • the registered circuit estimation unit generates the first unique information from the physical characteristics of the individual circuits, and the device physical information generation unit generates the first unique information at a second time after the first time.
  • the upper circuit detection unit detects the physical characteristics, and the group detection unit selects N circuits having more than M based on the numerical order of the physical characteristics detected at the second time.
  • the registered circuit estimation unit selects any M circuits from among them, and the registered circuit estimation unit generates second unique information from the physical characteristics of the selected M circuits, and the first and second If the unique information matches, the registered circuit estimation unit outputs this unique information.
  • a device specific information generation program detects device specific information related to authentication of an electronic device from an electronic device including a plurality of circuits, and outputs the device specific information generation output device A procedure for detecting physical characteristics of each circuit from a device physical information generation unit including a plurality of circuits that are targets of detection of specific information at a first time is detected by a computer included in the device specific information generation / output device.
  • a procedure for detecting physical characteristics of each circuit from the means, a procedure for selecting N circuits more than M based on the order of the numerical values of the physical characteristics detected at the second time, and an arbitrary one of the N circuits The procedure for selecting the M number of circuits, the procedure for generating the second unique information from the physical characteristics of the selected M circuits, and the unique information if the first and second unique information match.
  • the output procedure is executed.
  • the present invention first generates first unique information from M circuits selected based on the order of physical characteristics at a first time, and at a second time after the first time.
  • Arbitrary M circuits are selected from the N circuits selected based on the order of physical characteristics to generate second unique information, and whether or not the first and second unique information match is determined. Since the determination is made, the number of trials when selecting an arbitrary M out of N can be suppressed to a range that can be actually calculated.
  • a device specific information generation / output device As a result, a device specific information generation / output device, a device specific information generation method, and a generation with excellent characteristics that it is difficult to be influenced by environmental changes such as temperature and can stably output specific specific information.
  • a program can be provided.
  • FIG. 3 is a flowchart showing an operation related to a registration phase of the terminal device (device specific information generation / output device) shown in FIGS. 1 and 2.
  • FIG. 3 is a flowchart showing an operation related to a use phase of the terminal device (device specific information generation / output device) shown in FIGS. 1 and 2.
  • FIG. 3 is an explanatory diagram showing a more detailed configuration of the device physical information generation unit and the upper circuit detection unit shown in FIGS.
  • FIG. 8 is a flowchart showing an operation related to a registration phase of the terminal device (device specific information generation / output device) shown in FIGS. 6 to 7.
  • FIG. FIG. 8 is a flowchart showing an operation related to a use phase of the terminal device (device-specific information generation / output device) shown in FIGS.
  • FIG. 8 is a flowchart showing an operation related to a use phase of the terminal device (device-specific information generation / output device) shown in FIGS.
  • FIGS. 12 is a flowchart showing an operation related to a registration phase of the terminal device (device specific information generation / output device) shown in FIGS. 12 is a flowchart showing an operation related to a use phase of the terminal device (device-specific information generation / output device) shown in FIGS. It is explanatory drawing shown about the structure of the terminal device provided with the specific information generation means by PUF which concerns on the existing technique.
  • the device specific information generation / output device (terminal device 10) is a device specific information generation / output device that detects and outputs specific information related to authentication of an electronic device.
  • the apparatus includes a device physical information generation unit 110 including a plurality of circuits for which specific information is to be detected, an upper circuit detection unit 121 that detects physical characteristics of each circuit from the device physical information generation unit, and a first time.
  • M is an integer of 2 or more circuits are selected to create a group, and information about this group is stored in the nonvolatile memory 13 provided in advance.
  • the group detection unit 122 has a function of selecting N circuits greater than M based on the numerical order of the physical characteristics detected at a second time after the first time, and a registration circuit
  • the estimation unit 123 selects any M circuits from the N circuits, generates second specific information from the physical characteristics of the selected M circuits, and generates the first and second If the unique information matches, this unique information is output.
  • the device physical information generation means 110 is a dynamic RAM formed of a plurality of elements (DRAM elements 110a, b, c,...), And the time until the upper circuit detection unit 121 reverses after charging each element. Is detected as a physical property. Further, the upper circuit detection unit 121 includes a refresh control function 121b for controlling the refresh stop time so that the number of elements whose bits are inverted after charging is in a predetermined range.
  • the registration circuit estimation unit 123 performs authentication by transferring the first and second unique information to the host device (host computer 20), and the first and second unique information are determined depending on whether or not the authentication is successful. It is judged whether or not.
  • the terminal device 10 of the present embodiment is less susceptible to environmental changes such as temperature, and can stably output certain unique information. Hereinafter, this will be described in more detail.
  • FIG. 2 is an explanatory diagram showing the configuration of the terminal device 10 according to the first embodiment of the present invention.
  • the terminal device 10 is a peripheral device that can be detachably connected to the host computer 20 via an interface such as a USB, and an MPU (microprocessor) 11 that is a main body that executes a computer program, and a volatile memory that stores data. 12 and the non-volatile memory 13, an interface 14 that mediates connection between the host computer 20 and the device physical information generation means 110.
  • MPU microprocessor
  • the MPU 11 functions as the physical information mapping unit 120 by executing the unique information generation program. Accordingly, the MPU 11, the volatile memory 12, and the nonvolatile memory 13 together function as a device specific information generation / output device.
  • the interface 14 is a general interface related to a connection between a computer and a peripheral device such as a USB (Universal Serial Bus).
  • the device physical information generation means 110 is a device including a plurality of circuits that are specific detection targets of physical characteristics. Specifically, for example, an oscillator circuit such as a DRAM element or a ring oscillator corresponds to this.
  • the physical information mapping unit 120 detects a physical feature from the device physical information generation unit 110 and outputs it to the host computer 20 as an output value of the PUF.
  • FIG. 1 is an explanatory diagram showing a more detailed configuration of the physical information mapping means 120 shown in FIG.
  • the physical information mapping unit 120 includes an upper circuit detection unit 121, a group detection unit 122, and a registered circuit estimation unit 123.
  • the upper circuit information 124 is stored in the volatile memory 12, and the registration group information 125 is stored in the nonvolatile memory 13.
  • the upper circuit detection unit 121 detects the physical information by setting the retention characteristic of the DRAM element as physical information to be detected, and detecting the bit that is refreshed after the DRAM element is charged and then refreshed for a predetermined time. can do.
  • “upper” or “lower” of the circuit means the order determined by the numerical value of the physical characteristic detected by the PUF. For example, when the retention characteristic of a DRAM element is to be detected, based on the numerical value of the time for erasing the charge, the bit for losing the charge earlier is set as “upper”, and the bit for the other is set as “lower”.
  • the terminal device 10 performs two types of processing, a registration phase and a usage phase, which will be described later, according to each component described above, and generates unique information.
  • the usage phase is always executed after the registration phase.
  • the operation of each of these elements will be described.
  • the upper circuit detection unit 121 selects an upper circuit (bit that quickly loses charge in the case of a DRAM element) with respect to physical information to be detected in the device physical information generation unit 110, and for each selected upper circuit. Is stored as the upper circuit information 124.
  • the group detection unit 122 performs a process of storing the circuit group of the upper circuit information 124 in the nonvolatile memory 12 as the registered group information 125.
  • processing for detecting a circuit that matches the group of the registered group information 125 is performed.
  • the registration circuit estimation unit 123 performs processing for determining unique information and outputting it to the host computer 20. Further, in the usage phase, a circuit selected in the registration phase is estimated from the circuits detected by the group detection unit 122, specific information is generated, output to the host computer 20, and authentication is executed.
  • FIG. 3 is a flowchart showing an operation related to the registration phase of the terminal device 10 (device-specific information generation / output device) shown in FIGS.
  • the registration phase is a process executed when the terminal device 10 is first connected to the host computer 20 and used.
  • the upper circuit detection unit 121 determines M upper circuits using information obtained from the device physical information generation unit 110 (step S201). M is determined according to the amount of specific information assumed.
  • the group detection unit 122 identifies the group of M circuits determined in step S201, and stores an index indicating the group in the nonvolatile memory 13 as registered group information 125 (step S202).
  • a specific method of grouping there are a method of corresponding to upper or lower bits of an index for specifying a circuit, a method of determining according to a circuit location, and the like.
  • the registered circuit estimation unit 123 determines, as specific information, a series in which the indexes in the group of M upper circuits specified up to step S202 are connected (step S203).
  • authentication based on challenge-response is performed with the host computer 20, information necessary for authentication is shared in advance using this unique information in the registration phase.
  • FIG. 4 is a flowchart showing an operation related to the use phase of the terminal device 10 (device-specific information generation / output device) shown in FIGS.
  • the use phase is a process executed when the terminal device 10 that has already completed the registration phase shown in FIG. 3 is actually connected to the host computer 20 and used.
  • the upper circuit detection unit 121 determines N upper circuits (step S251).
  • N is sufficiently smaller than the total number of circuits, and it is appropriate to set it as a certain range larger than M in the registration phase. That is, 0 ⁇ M ⁇ N ⁇ total number of circuits.
  • the group detection unit 122 identifies one corresponding to the M groups in the registered group information 125 from among the N circuits determined in step S251 (step S252).
  • the registration circuit estimation unit 123 determines whether or not a registration phase group to which one or more circuits correspond in step S252 exists in the registration group information 125 (step S253).
  • the process ends abnormally as “unique information generation failure” (step S257).
  • the subsequent processing for example, there is a method of starting over from measurement of physical information.
  • step S253 If there is a corresponding registration phase group in step S253, the registered circuit estimation unit 123 generates a candidate for specific information using an arbitrary circuit from the corresponding N circuits (step S254), and Using this, authentication of the terminal device 10 is attempted with respect to the host computer 20 (step S255). If the authentication is successful, the process ends normally (step S256). If the authentication fails, another M circuits are selected and the process is repeated from step S253. If the authentication fails for all M combinations selected from the N circuits, the process proceeds to step S257 and ends abnormally.
  • FIG. 5 is an explanatory diagram showing a more detailed configuration of the device physical information generation unit 110 and the upper circuit detection unit 121 shown in FIGS.
  • FIG. 5 shows an example in which the physical characteristics of the device physical information generating means 110 are detected as a plurality of DRAM elements 110a, 110b, 110c,...
  • the upper circuit detection unit 121 includes an R / W (read / write) controller 121a and a refresh control function 121b.
  • the R / W controller 121a is a module that executes read / write processing of the DRAM elements 110a, 110b, 110c,.
  • the refresh control function 121b controls the refresh stop time so that the number of bits to stop and invert after refreshing all or a part of the bits of the DRAM elements 110a, 110b, 110c,. .
  • the refresh stop time is lengthened, and when it is too large, the refresh is changed to a smaller value and the measurement is repeated.
  • the refresh control function 121b obtains the first M bit inversion positions, but it is difficult to control the refresh stop time so that the number of inversion bits is exactly M. Also in the registration phase, it is appropriate to set an appropriate range in the same manner as in the use phase, and control so that the number of inverted bits N is inserted between them, and select M from these.
  • the terminal device 10 (device specific information generation / output device) of the present embodiment is used for generation of specific information. Part identification can be simplified.
  • the DRAM described in the section of the problem to be solved by the invention when the entire bits of the DRAM are divided into 64 groups, the inversion bits included in each group among the 100 inversion bits in the use phase. The number is about two on average.
  • the 10 inversion bits in the registration phase are included in the 100 inversion bits with a high probability. Assuming that 2 bits are candidates for each of the 10 groups in the registration phase, if the 2 ⁇ 10 candidates are tried in the use phase, the same inverted bits as in the registration phase can be reproduced.
  • the DRAM size is 64 Mbits in the case of the above DRAM (position information is 26 bits), the information amount of a combination of 10 selected from these is 238 bits.
  • the information amount of the index in each inverted bit group becomes the information amount of 20 bits when one is selected from the group, The total of 10 groups is 200 bits.
  • a DRAM element is used as the device physical information generation means 110, and the refreshed bit is stopped and inverted for the DRAM element as the upper circuit.
  • one bit (one circuit) is a 26-bit index (16-bit I / O can be expressed as a 4-bit bit order and a 22-bit address).
  • Groups can be associated with the upper (or lower) bits of the index. If the upper bits corresponding to a group are 18 bits, the total number of groups is 2 ⁇ 18.
  • the unique information generated from the M circuits in the registration phase is 8M bits.
  • M 8 is set. An example with this parameter is shown below.
  • M 8 as a lower limit.
  • the following shows the address of each bit of E1 to E10 in hexadecimal (hex) format.
  • E1 to E8 are selected as registration phase circuits. Since the upper 18 bits correspond to a group, the group detection unit stores eight groups G1 to G8 represented by the following index in the nonvolatile memory as registered group information.
  • the unique information I is the next 64 bits for the circuits E1 to E8. I: d6 06 cd e1 ae 7f 66 87
  • the group detection unit reads the group index of G1 to G8 and finds one included in each group among N circuits.
  • N 19 circuits from the next F1 to F19 are obtained as upper circuits for the registration phase.
  • the group detection unit 122 identifies the circuits F1 to F8 corresponding to the registered group information G1 to G8 as follows.
  • steps S253 and 255 of FIG. 4 if there are too many groups that do not have corresponding circuits, it is determined that there are no circuit candidates in the registration phase, and the processing of the registered circuit detection unit may be terminated. . In this embodiment, for example, if the total number of candidates is set to 2 ⁇ 20, the processing of the registered circuit detection means can be terminated abnormally when there is no corresponding circuit in three or more registered groups.
  • the device specific information generation method is a device specific information generation / output device 10 that detects specific information related to authentication of an electronic device and outputs the specific information.
  • the upper circuit detection unit detects the physical characteristics of each circuit from the device physical information generation means including a plurality of circuits (step S201 in FIG. 3), and the group detection unit detects M based on the numerical order of the detected physical characteristics.
  • a group is created by selecting a circuit (M is an integer of 2 or more) (FIG. 3, step S202), and information about this group is stored in a non-volatile memory provided in advance with a group detection unit.
  • the registered circuit estimation unit generates and outputs the first unique information from the physical characteristics of the circuit (step S203 in FIG. 3), and is detected at the second time after the first time. Based on the ranking of the numerical values of the physical characteristics, the group detection unit selects N circuits more than M (FIG. 4, step S251), and any M circuits from the N circuits are registered. The estimation unit selects (FIG. 4, steps S252 to 253), and the registered circuit estimation unit generates second unique information from the physical characteristics of the selected M circuits (FIG. 4, step S254). If the first and second unique information match, the registered circuit estimation unit outputs this unique information (FIG. 4, steps S255 to 256).
  • each of the above-described operation steps may be programmed to be executable by a computer, and may be executed by the MPU 11 of the device specific information generation / output device 10 that directly executes each of the steps.
  • the program may be recorded on a non-temporary recording medium, such as a DVD, a CD, or a flash memory. In this case, the program is read from the recording medium by a computer and executed.
  • first unique information is first generated from M circuits selected based on the order of physical characteristics at a first time, and the physical characteristics at a second time after the first time.
  • Arbitrary M circuits are selected from the N circuits selected based on the rank to generate second unique information, and it is determined whether or not the first and second unique information match. It is configured.
  • the refresh stop time is controlled so that the number of trials when selecting an arbitrary M out of N is reduced, that is, the number of elements whose bits are inverted after charging is within a predetermined range. can do.
  • the unique information can be successfully generated without trying an excessive number, and the above-described problems can be solved.
  • the registration circuit estimation unit 423 stores the hash value of the first unique information in the nonvolatile memory 13. 423a and determining whether or not the first and second unique information match depending on whether or not the hash value of the second unique information matches the hash value of the first unique information .
  • the unique information can be obtained only within the device without transferring the first and second unique information to the host device. It becomes possible to perform processing related to generation of. Hereinafter, this will be described in more detail.
  • FIG. 6 is an explanatory diagram showing the configuration of the terminal device 310 according to the second embodiment of the present invention.
  • the terminal device 310 has substantially the same configuration as the terminal device 10 according to the first embodiment shown in FIG. 2, but the physical information mapping unit 120 is replaced with another physical information mapping unit 420.
  • FIG. 7 is an explanatory diagram showing a more detailed configuration of the physical information mapping means 420 shown in FIG.
  • the physical information mapping unit 420 is configured such that the registered circuit estimation unit 123 is replaced with another registered circuit estimation unit 423, and is non-volatile.
  • the physical information mapping unit 120 according to the first embodiment has the same configuration except that the hash value 426 is newly stored in the volatile memory 13. Therefore, the same elements as those in the first embodiment are referred to by the same names and reference numbers.
  • the registered circuit estimation unit 423 includes a hash function output function 423a.
  • a hash value 426 of the generated unique information is calculated by the hash function output function 423a and stored in the nonvolatile memory 13.
  • a hash function usable as the hash function output function 423a for example, a cryptographic hash function such as SHA-1 (Secure-1Hash Algorithm 1) or a hash function using a block cipher is used. It is desirable to suppress However, from the viewpoint of ease of mounting, it is also possible to use a checksum or a CRC (Cyclic Redundancy Check) code that is a simpler process.
  • SHA-1 Secure-1Hash Algorithm 1
  • CRC Cyclic Redundancy Check
  • the length of the hash value is set to be equal to or greater than the number of unique information candidates. If the total number of candidates is set to 2 ⁇ 20, the hash value must also be 20 bits or more. When using a checksum, CRC code, etc., unique information is likely to leak by the size of the hash value, so it is desirable to set it as small as possible.
  • FIG. 8 is a flowchart showing an operation related to the registration phase of the terminal device 310 (device specific information generation / output device) shown in FIGS. Again, the same operations as those of the terminal device 10 shown in FIG.
  • the operation shown in FIG. 8 is the same as the operation shown in FIG. 3 until step S203 for determining the unique information. Thereafter, the hash function output function 423a calculates the hash value of the determined unique information.
  • the operation of storing (step S504) is performed to complete the registration phase.
  • FIG. 9 is a flowchart showing an operation related to the use phase of the terminal device 310 (device specific information generation / output device) shown in FIGS. Again, the same operations as those of the terminal device 10 shown in FIG. The operation shown in FIG. 9 is the same as the operation shown in FIG. 4 until step S253 for determining whether or not the registration group information 125 exists.
  • step S253 If there is a corresponding registration phase group in step S253, the hash function output function 423a generates a hash value of the candidate for the specific information (step S554), and this is stored in the nonvolatile memory 13 as the hash value 426. It is determined whether or not it matches the hash value that has been set (step S555). If it matches, the process ends normally, and if it does not match, the process is repeated from step S253 using another circuit. All other steps are the same as those shown in FIG.
  • the uniqueness of the terminal device 310 is unique even if the host computer 20 is not authenticated. It becomes possible to determine whether or not the information generation is successful.
  • the registered circuit estimation unit 723 includes a syndrome generation function 723a that stores a syndrome of the first unique information in a nonvolatile memory, A decoding function 723b that decodes the second unique information by using the syndrome of the first unique information, and the first and second unique information depending on whether or not the second unique information has been successfully decoded by the decoding function. It is configured to determine whether the information matches.
  • the decoding function 723b uses the second specific information as an erasure error when there is no combination for selecting M circuits from the N circuits whose first and second specific information match. Decrypt.
  • the unique information can be obtained only within the device without transferring the first and second unique information to the host device.
  • the processing relating to the generation of can be performed more quickly and with higher reliability than in the second embodiment. Hereinafter, this will be described in more detail.
  • FIG. 10 is an explanatory diagram showing the configuration of the terminal device 610 according to the third embodiment of the present invention.
  • the terminal device 610 has substantially the same configuration as the terminal device 10 according to the first embodiment shown in FIG. 2, but the physical information mapping unit 120 is replaced with another physical information mapping unit 720.
  • FIG. 11 is an explanatory diagram showing a more detailed configuration of the physical information mapping means 720 shown in FIG.
  • the physical information mapping unit 720 is configured such that the registered circuit estimation unit 123 is replaced with another registered circuit estimation unit 723, and is non-volatile. Except that a new syndrome 726 is stored in the volatile memory 13, it has the same configuration as the physical information mapping unit 120 according to the first embodiment. Therefore, the same elements as those in the first embodiment are referred to by the same names and reference numbers.
  • the registered circuit estimation unit 723 includes a syndrome generation function 723a and a decoding function 723b.
  • the syndrome generation function 723 a calculates a syndrome of the generated unique information and stores it as a syndrome 726 on the nonvolatile memory 13.
  • the decryption function 723b uses the syndrome 726 to perform a process of decrypting the hash value of the unique information candidate.
  • the syndrome here is a value obtained by multiplying the parity check matrix of the error correction code by the received sequence (vector).
  • the error correction code a code composed of symbols having the size of the intra-group index serving as a unit of unique information can be used.
  • FIG. 12 is a flowchart showing an operation related to the registration phase of the terminal device 610 (device specific information generation / output device) shown in FIGS. Again, the same operations as those of the terminal device 10 shown in FIG.
  • the operation shown in FIG. 12 is the same as the operation shown in FIG. 3 until step S203 for determining the unique information. Thereafter, the syndrome generation function 723a calculates and stores the syndrome of the determined unique information. (Step S804) An operation is performed to end the registration phase.
  • FIG. 13 is a flowchart showing an operation related to the use phase of the terminal device 610 (device specific information generation / output device) shown in FIGS. Again, the same operations as those of the terminal device 10 shown in FIG.
  • the operation shown in FIG. 9 is the same as the operation shown in FIG. 4 until step S253 for determining whether or not the registration group information 125 exists.
  • step S253 If there is a corresponding registration phase group in step S253, the decoding function 723b decodes the unique information candidate by using the syndrome 726 (step S854), and determines whether or not the unique information candidate has been successfully decoded (step S854). S855) If the decoding is successful, the process ends normally. If the decoding is not possible, the process is repeated from step S253 using another circuit. All other steps are the same as those shown in FIG.
  • the lower 8 bits of the latter half of the index of M inverted bits in the registration phase are D1,..., D8 and these are regarded as elements of GF (2 ⁇ 8).
  • the syndrome S (S1, S2) for D1,..., D8 calculated by the syndrome generation function 723a is The following equation 1 can be used.
  • addition + and multiplication • are operations of GF (2 ⁇ 8).
  • Decoding processing can be applied to Bi in group i for which there is no corresponding inversion bit as an erasure error. If no error has occurred, use this code to register up to 2 erasure errors, that is, up to 2 groups with no corresponding inversion bit, without registering all the candidates. It is possible to generate phase specific information.
  • the syndrome 726 of the unique information is stored in the nonvolatile memory 13 by the syndrome generation function 723a and the decryption function 723b, and by using this, the authentication operation for the host computer 20 is not performed, and further the unique information is stored.
  • the encoding process may be executed to calculate and store the parity.
  • the device physical information generation unit 110 is a DRAM element
  • this can be replaced with an oscillation circuit such as a ring oscillator.
  • the upper circuit detection unit 121 can determine the upper and lower levels of the circuit based on the oscillation frequency or the delay characteristics, using the oscillation frequency and delay characteristics of the circuit as the physical characteristics to be detected.
  • the registered circuit estimation unit 123 may select only the upper circuit corresponding to each group in the registration phase. In this way, even if the upper circuit number N selected in the registration phase is increased, the number of registered circuit candidates can be reduced.
  • a device-specific information generation / output device that detects specific information related to authentication of an electronic device from an electronic device including a plurality of circuits and outputs the specific information.
  • Device physical information generation means including the plurality of circuits to be detected by the unique information;
  • An upper circuit detection unit for detecting physical characteristics of each circuit from the device physical information generation unit;
  • M is an integer of 2 or more circuits are selected to create a group, and information about this group is provided in advance.
  • a group detection unit stored in the memory A registration circuit estimation unit that generates and outputs first unique information from the physical characteristics of the M circuits;
  • the group detection unit has a function of selecting N circuits more than the M based on the numerical order of the physical characteristics detected at a second time after the first time,
  • the registered circuit estimation unit selects any M circuits from the N circuits, generates second unique information from the physical characteristics of the selected M circuits, and
  • a device specific information generating / outputting device comprising a function of outputting the specific information when the first and second specific information match.
  • the device physical information generation means is a dynamic RAM configured by a plurality of elements, 2.
  • the supplementary note 2 is characterized in that the high-order circuit detection unit has a refresh control function for controlling a refresh stop time so that the number of the elements whose bits are inverted after charging is in a predetermined range.
  • the device physical information generating means is a plurality of oscillation circuits, The device specific information generation / output device according to appendix 1, wherein the upper circuit detection unit has a function of detecting an oscillation frequency of each of the oscillation circuits as the physical characteristic.
  • the said registration circuit estimation part transfers the said 1st and 2nd specific information to a high-order apparatus, performs authentication, and the said 1st and 2nd specific information depends on whether this authentication is successful.
  • the said registration circuit estimation part is provided with the hash function output function which memorize
  • the said registration circuit estimation part decodes the said 2nd specific information by the syndrome of the 1st specific information, and the syndrome production
  • the device-specific information generating / outputting device characterized by:
  • the upper circuit detection unit detects the physical characteristics of each circuit from the device physical information generation unit including the plurality of circuits to be detected for the specific information at the first time,
  • the group detection unit selects M circuits (M is an integer of 2 or more) based on the detected numerical order of the physical characteristics to create a group, Information about this group is stored in a nonvolatile memory provided in advance by the group detection unit,
  • a registered circuit estimation unit generates first unique information from the physical characteristics of the M circuits,
  • the upper circuit detection unit detects the physical characteristics of each circuit from the device physical information generation means at a second time after the first time, Based on the numerical order of the physical characteristics detected at the second time, the group detection unit selects N circuits more than the M,
  • the registered circuit estimation unit selects any M circuits from the N circuits,
  • the registered circuit estimation unit generates second specific information
  • a computer included in the device specific information generation / output device A procedure for detecting physical characteristics of each circuit from a device physical information generating unit including the plurality of circuits to be detected for the specific information at a first time; A procedure for creating a group by selecting M (M is an integer of 2 or more) circuits based on the order of the numerical values of the detected physical characteristics, A procedure for storing information about this group in a non-volatile memory provided in advance; Generating first unique information from the physical characteristics of the M circuits; A procedure for detecting a physical characteristic of each circuit from the device physical information generating means at a second time after the first time; Selecting N circuits greater than M based on the numerical order of the physical characteristics detected at the second time; A procedure for selecting any M circuits from the N circuits; Generating second specific information from the
  • the present invention can be used to enhance information security such as device authentication and retention of confidential information in electronic devices, particularly information devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

[Problem] To provide a device-inherent information generation/output device that is resistant to effects of environmental changes such as a temperature change, and is capable of stably outputting fixed inherent information. [Solution] The device-inherent information generation/output device (10) comprises: a device physical information generation means (110) that contains multiple circuits for which inherent information is to be detected; a higher-level circuit detection unit (121) that detects a physical characteristic of each circuit; a group detection unit (122) that creates a group by selecting M number of circuits, starting from the sequential rank of the numerical value of a physical characteristic detected at a first time; and a registration circuit estimation unit (123) that generates a first inherent information item from the physical characteristic. The group detection unit selects N number of circuits, N being a larger number than M, starting from the sequential rank of a physical characteristic detected at a second time that is after the first time. The registration circuit estimation unit: from among the N number of circuits, selects the M number of circuits, said selected circuits being arbitrarily defined; generates a second inherent information item from the physical characteristic for said selected M number of circuits; and compares said second inherent information item to the first inherent information item.

Description

デバイス固有情報生成出力装置、デバイス固有情報生成方法および生成プログラムDevice specific information generation / output device, device specific information generation method, and generation program

 本発明はデバイス固有情報生成出力装置、デバイス固有情報生成方法および生成プログラムに関し、特にデバイス内部の物理状態を利用して固有情報を生成するデバイス固有情報生成出力装置等に関する。 The present invention relates to a device specific information generation / output device, a device specific information generation method, and a generation program, and more particularly to a device specific information generation / output device that generates specific information using a physical state inside the device.

 安全な情報・通信システムの実現のためには、情報セキュリティの観点から、ホストコンピュータとこれに接続された(たとえばUSBフラッシュメモリなどのような)機器の間の通信において、その通信相手となる機器が正規のものであるか否かを判定する認証処理が必要である。認証処理は、シリアル番号、個体識別番号などのような当該機器を一意に識別可能な固有情報(ID)が存在することが前提となる。 In order to realize a safe information / communication system, from the viewpoint of information security, in communication between a host computer and a device (for example, a USB flash memory) connected thereto, a device that is a communication partner An authentication process for determining whether or not is genuine is necessary. The authentication process is premised on the presence of unique information (ID) that can uniquely identify the device, such as a serial number or an individual identification number.

 しかしながら、攻撃者が正規の機器内のメモリから何らかの方法でその固有情報を入手すれば、その攻撃者は、入手した固有情報の内容を解析しなくても、ただそれを単純に他の機器のメモリにコピーすることによってその正規の機器を不正に複製することができてしまう。これによって、攻撃者がその正規の機器のユーザになりすますことが可能になってしまい、実際にそのようななりすましによる被害も発生している。 However, if an attacker obtains the specific information from the memory in a legitimate device in some way, the attacker simply does not analyze the content of the acquired specific information and simply analyzes it. By copying it to the memory, the legitimate device can be illegally copied. This makes it possible for an attacker to impersonate the user of the legitimate device, and damage caused by such impersonation actually occurs.

 このような被害を防止するために、メモリに記憶された固有情報の内容を暗号化して、これによって不正なデータの読み出しや内容の解析を困難にするという、耐タンパー技術も存在する。しかしながら、このような技術は特殊なハードウェアおよびソフトウェアを必要とし、その結果としてコスト高を招くという問題がある。 In order to prevent such damage, there is also a tamper resistant technology that encrypts the contents of unique information stored in the memory, thereby making it difficult to read illegal data and analyze the contents. However, such a technique has a problem that special hardware and software are required, resulting in high costs.

 以上で述べた問題点を解決するために、多くの研究者によって現在活発に研究されているのが、機器を構成するデバイスにおいて製造過程などで不可避的に発生する物理的特性のばらつきを利用して、デバイス個体の固有情報を生成するという技術である。これをPUF(Physical Unclonable Function)といい、中でも半導体デバイスの物理的特性のばらつきを利用するものをシリコンPUFという。 In order to solve the problems described above, many researchers are currently actively researching the variation in physical characteristics that inevitably occur in the manufacturing process of devices that make up equipment. This is a technique for generating unique information of individual devices. This is called PUF (Physical Unclonable Function). Above all, a device that uses the variation in physical characteristics of semiconductor devices is called silicon PUF.

 このシリコンPUFを利用して、個々の電子回路を識別することが可能となり、これによって電子回路の不正な複製を防止することが可能になると期待されている。以後、シリコンPUFを単にPUFという。 It is expected that it will be possible to identify individual electronic circuits using this silicon PUF, thereby preventing unauthorized duplication of electronic circuits. Hereinafter, silicon PUF is simply referred to as PUF.

 図14は、既存技術に係るPUFによる固有情報生成手段を備えた端末機器910の構成について示す説明図である。端末機器910は、ホストコンピュータ920とUSBなどのインタフェースを介して着脱自在に接続可能な周辺機器であり、コンピュータプログラムを実行する主体であるMPU(マイクロプロセッサ)911と、データを記憶する揮発性メモリ912および不揮発性メモリ913と、ホストコンピュータ20との間の接続を仲介するインタフェース914と、デバイス物理情報生成手段950とを備える。 FIG. 14 is an explanatory diagram showing a configuration of the terminal device 910 provided with unique information generation means using PUF according to the existing technology. The terminal device 910 is a peripheral device that can be detachably connected to the host computer 920 via an interface such as a USB, and an MPU (microprocessor) 911 that is a main body that executes a computer program, and a volatile memory that stores data. 912, a nonvolatile memory 913, an interface 914 that mediates connection between the host computer 20, and device physical information generation means 950.

 MPU911は、固有情報生成プログラムが実行されることにより、物理情報マッピング手段960として機能する。これにより、このMPU911、揮発性メモリ912および不揮発性メモリ913を合わせてデバイス固有情報生成出力装置として機能する。 The MPU 911 functions as the physical information mapping unit 960 by executing the unique information generation program. Accordingly, the MPU 911, the volatile memory 912, and the nonvolatile memory 913 together function as a device specific information generation / output device.

 デバイス物理情報生成手段950は、物理的特徴の具体的な検出対象となるデバイスであり、多くの場合複数の同一回路の組み合わせによって構成される。具体的には、たとえばダイナミックRAM(DRAM)素子や、リングオシレータなどのような発振回路などがこれに該当する。 The device physical information generation means 950 is a device that is a specific detection target of physical characteristics, and is often configured by a combination of a plurality of identical circuits. Specifically, this includes, for example, a dynamic RAM (DRAM) element, an oscillation circuit such as a ring oscillator, and the like.

 物理情報マッピング手段960は、このデバイス物理情報生成手段950から物理的特徴を検出し、これをPUFの出力値(固有情報)としてホストコンピュータ920に出力する。ホストコンピュータ920は、この固有情報によって、端末機器910の認証を行う。 The physical information mapping unit 960 detects the physical feature from the device physical information generation unit 950 and outputs it to the host computer 920 as an output value (unique information) of the PUF. The host computer 920 authenticates the terminal device 910 with this unique information.

 これに関連する技術文献として、たとえば次の各々がある。その中でも非特許文献1には、シリコンPUFに係る代表的な技術の一例が記載されている。非特許文献2には、PUFを含む人工物メトリクスによる偽造防止技術の動向について記載されている。 For example, there are the following technical literatures related to this. Among them, Non-Patent Document 1 describes an example of a typical technique related to silicon PUF. Non-Patent Document 2 describes trends in anti-counterfeiting technology using artifact metrics including PUF.

 非特許文献3には、製造過程で不可避的に発生する配線遅延のランダムネスを利用するPUFについて記載されている。また、非特許文献4には、スタティックRAM(SRAM)の電源投入時の各ビットの初期値がランダムになることを利用したPUFについて記載されている。 Non-Patent Document 3 describes a PUF that uses the randomness of wiring delay that inevitably occurs in the manufacturing process. Non-Patent Document 4 describes a PUF that utilizes the fact that the initial value of each bit when a static RAM (SRAM) is powered on becomes random.

 この非特許文献4の技術では、SRAMを図14でいうデバイス物理情報生成手段950とし、SRAM内のビットの位置をPUFの出力値とする。物理情報マッピング手段960は、入力情報として与えられたビット位置の電源投入時の初期値を出力する。機器端末の認証においては、初期設定処理として端末機器910で事前にこのビット値を生成して登録しておき、認証時には端末機器910でそのときに生成したビット値を、初期設定処理で登録した値と照合する。 In the technique of Non-Patent Document 4, the SRAM is the device physical information generation means 950 shown in FIG. 14, and the bit position in the SRAM is the output value of the PUF. The physical information mapping unit 960 outputs an initial value at the time of power-on of the bit position given as input information. In the authentication of the device terminal, the bit value is generated and registered in advance in the terminal device 910 as an initial setting process, and the bit value generated at that time in the terminal device 910 is registered in the initial setting process at the time of authentication. Match against a value.

 特許文献1には、SRAMだけではなく、DRAMに対しても同様の手法で固有情報の生成を行うことが可能であるというPUF技術が記載されている。DRAMは、素子を構成するキャパシタ(コンデンサ)の電荷の有無によってビットを表現する。チャージされた電荷は、時間が経過すれば漏洩する。従ってDRAMは、電化の漏洩に伴うビットの消失を防止するため、定期的に読み出しを行って電荷をチャージするリフレッシュ処理が必須となる。 Patent Document 1 describes a PUF technique in which unique information can be generated not only for SRAM but also for DRAM by a similar method. A DRAM expresses a bit by the presence or absence of electric charge in a capacitor (capacitor) constituting an element. The charged charge leaks over time. Accordingly, in order to prevent the loss of bits due to leakage of electrification, the DRAM must be refreshed by periodically reading and charging the charge.

 各素子の電荷保持特性はリテンション特性と呼ばれ、主にリーク電流の大きさによって決まり、予測困難なばらつきを持つ。特許文献1に記載の技術では、このリテンション特性のばらつきを利用し、チャージ後にリフレッシュ処理を停止して早期に電荷を消失する素子(=反転するビット)の位置情報を検出して、これを固有情報の生成に利用している。 ¡Charge retention characteristics of each element are called retention characteristics, and are mainly determined by the magnitude of leakage current, and have variations that are difficult to predict. In the technique described in Patent Document 1, this variation in retention characteristics is used to stop the refresh process after charging and detect the position information of an element (= inverted bit) that loses charge early, and this is unique. It is used to generate information.

 また、特許文献2には、素子の構造上のばらつきによる信号成分に対する妨害因子を除去する除去手段と素子群のばらつき状態を固有情報出する抽出手段とを設けた情報生成装置が記載されている。特許文献3には、出力信号の特性の自然発生的なばらつきを個体固有の情報とするという認証/被認証装置が記載されている。特許文献4には、認証データから生成した動作コードを利用して、不正基板との交換等による不正行為や誤動作を検知するという遊戯機器が記載されている。 Patent Document 2 describes an information generating apparatus provided with a removing unit that removes an interfering factor for a signal component due to variations in the structure of elements and an extracting unit that outputs unique information on the variation state of the element group. . Patent Document 3 describes an authentication / authenticated device that uses spontaneous variation in output signal characteristics as individual-specific information. Patent Document 4 describes an amusement machine that uses an operation code generated from authentication data to detect an illegal act or malfunction due to exchange with an illegal substrate.

特表2009-533741号公報JP 2009-533741 A 特開2005-341065号公報JP-A-2005-341065 特開2006-221361号公報JP 2006-221361 A 特開2011-152342号公報JP 2011-152342 A

「サイドチャネル攻撃用標準評価ボードSASEBO」、産業技術総合研究所情報セキュリティ研究センター、[平成23年11月16日検索]、インターネット<URL:http://staff.aist.go.jp/akashi.satoh/SASEBO/ja/index.html>“Standard evaluation board SASEBO for side channel attacks”, National Institute of Advanced Industrial Science and Technology, Information Security Research Center, [Searched on November 16, 2011], Internet <URL: http://staff.aist.go.jp/akashi. satoh / SASEBO / en / index.html> 岩下直之、「偽造防止技術の新潮流:金融分野における人工物メトリクスの可能性」(金融研究第28巻第2号より)、日本銀行金融研究所、平成21年7月、[平成23年11月16日検索]、インターネット<URL:http://www.imes.boj.or.jp/research/papers/japanese/kk28-2-5.pdf>Naoyuki Iwashita, “New Trends in Anti-Counterfeiting Technology: Possibility of Artifact Metrics in the Financial Field” (From Financial Research Vol. 28, No. 2), Bank of Japan, Institute for Financial Research, July 2009, [November 2011 Search on March 16], Internet <URL: http://www.imes.boj.or.jp/research/papers/japanese/kk28-2-5.pdf> G.E. Shu and S. Devadas, “Physically Unclonable Functions for Device Generationand Secret Key Generation," Proc. 44th Design Automation Conference,pp.9-14.G.E.Shu and S. Devadas, “Physically Unclonable Functions for Device Generationand Secret Key Generation,” Proc. 44th Design Automation Conference, pp.9-14. DanielE. Holcomb, Wayne P. Burleson, and Kevin Fu, “Power-Up SRAM State as anIdentifying Fingerprint and Source of True Random Numbers," IEEE Trans.Computers, vol.58, no.9, pp.1198-1210, 2009.DanielE. Holcomb, Wayne P. Burleson, and Kevin Fu, “Power-Up SRAM State as anIdentifying Fingerprint and Source of True Random Numbers," IEEE Trans.Computers, vol.58, no.9, pp.1198-1210, pp.1198-1210 .

 しかしながら、PUFは、当該デバイスの製造上の規格で許容されている範囲内の物理特性の、ごく僅かなばらつきを検出するものである。このような物理特性は、温度などの環境の影響を特に受けやすい。たとえば、前述のDRAMのビットがチャージ後に反転するまでの時間(リテンション特性)は、温度の影響を大きく受け、またその影響の素子ごとのばらつきも大きいものである。 However, the PUF detects a slight variation in physical characteristics within the range allowed by the manufacturing standard of the device. Such physical characteristics are particularly susceptible to environmental influences such as temperature. For example, the time until the above-described DRAM bit is inverted after charging (retention characteristics) is greatly influenced by temperature, and the influence of each element on the influence is also large.

 発明者らが行った実験では、(当該デバイスの規格で、利用可能温度の範囲内とされている)-5℃と45℃という2通りの温度環境下で同一のDRAM素子のビットがチャージ後に反転するまでの時間を測定した場合、最初の一定個数の反転ビットの中で一致するものは50%程度であった。このように、同一のデバイスでも、使用環境が異なると出力される固有情報が異なる場合、PUFによるデバイスの認証の信頼性が大きく低下することになる。 In experiments conducted by the inventors, the same DRAM device bit was charged under two temperature environments of −5 ° C. and 45 ° C. (which is within the usable temperature range according to the standard of the device). When the time until inversion was measured, the coincidence among the first fixed number of inversion bits was about 50%. As described above, even in the same device, if the unique information output is different when the usage environment is different, the reliability of device authentication by the PUF is greatly reduced.

 このような場合にも安定して一定の固有情報を出力するためには、誤り訂正能力の高い誤り訂正符号を利用する方法が考えられるが、そのような誤り訂正符号を利用するには、複雑な復号処理が必要であり、また誤り訂正のために保持する情報からの漏洩情報量も大きくなるので、大規模なプロセッサとメモリが必要となる。これもコスト高を招く要因となる。 In such a case, in order to stably output a specific information, a method using an error correction code having a high error correction capability can be considered. However, in order to use such an error correction code, a complicated method is required. Decoding processing is necessary, and the amount of leaked information from information held for error correction also increases, so a large-scale processor and memory are required. This also causes a high cost.

 一方、温度などの環境要因は物理情報を連続的に変化させるため、例えばDRAMにおいてある温度で反転するまでの時間が短いビットは、他の温度でも早く反転しやすい傾向がみられる。たとえば、DRAMにおいて-5℃で最初に反転する10個のビットは45℃でも最初の100個以内に入るという傾向が、発明者らが行った実験によって確認されている。 On the other hand, since environmental factors such as temperature continuously change physical information, for example, a bit having a short time until inversion at a certain temperature in a DRAM tends to be easily inverted at other temperatures. For example, it has been confirmed by experiments conducted by the inventors that the ten bits that first invert in DRAM at −5 ° C. tend to fall within the first 100 even at 45 ° C.

 このことをPUFによるデバイスの認証に利用することができれば、上記の問題を解決できる可能性があると考えられる。しかしながら、45℃における最初の100個の反転ビットの中から10個を選択して-5℃における最初の10個の反転ビット位置を再現するには、100個の中から10個を選択するすべての組み合わせを試行する必要がある。これは、2の47乗程度、即ち約140兆回の試行回数を必要とするので、現実的に可能な計算ではない。以上で述べた問題点を解決しうる技術は、前述の特許文献1~4および非特許文献1~4には記載されていない。 If this can be used for device authentication by PUF, the above problem may be solved. However, to select 10 out of the first 100 inversion bits at 45 ° C and reproduce the first 10 inversion bit positions at -5 ° C, all 10 out of 100 are selected. It is necessary to try the combination. This is not a practically feasible calculation because it requires about 2 to the 47th power, that is, about 140 trillion trials. Techniques that can solve the problems described above are not described in the above-mentioned Patent Documents 1 to 4 and Non-Patent Documents 1 to 4.

 本発明の目的は、温度などの環境変化の影響を受けにくく、安定して一定の固有情報を出力することを可能とするデバイス固有情報生成出力装置、デバイス固有情報生成方法および生成プログラムを提供することにある。 An object of the present invention is to provide a device-specific information generation / output device, a device-specific information generation method, and a generation program that are not easily affected by environmental changes such as temperature and that can stably output certain specific information. There is.

 上記目的を達成するため、本発明に係るデバイス固有情報生成出力装置は、複数の回路を含む電子デバイスから、当該電子デバイスの認証に係る固有情報を検出してこれを出力するデバイス固有情報生成出力装置であって、固有情報の検出対象となる複数の回路を含むデバイス物理情報生成手段と、デバイス物理情報生成手段から各回路の物理特性を検出する上位回路検出部と、第1の時刻において検出された物理特性の数値の順位に基づいてM個(Mは2以上の整数)の回路を選択してグループを作成してこのグループについての情報を予め備えられた不揮発性メモリに記憶するグループ検出部と、M個の回路についての物理特性から第1の固有情報を生成して出力する登録回路推定部を有すると共に、グループ検出部が、第1の時刻より後の第2の時刻において検出された物理特性の数値の順位に基づいて、Mよりも多いN個の回路を選択する機能を備え、登録回路推定部が、N個の回路の中から任意のM個の回路を選択してこの選択されたM個の回路についての物理特性から第2の固有情報を生成し、第1および第2の固有情報が一致すればこの固有情報を出力する機能を備えることを特徴とする。 In order to achieve the above object, a device specific information generation / output apparatus according to the present invention detects device specific information related to authentication of an electronic device from an electronic device including a plurality of circuits, and outputs the device specific information generation output. A device physical information generation unit including a plurality of circuits for which specific information is to be detected; a higher-level circuit detection unit that detects physical characteristics of each circuit from the device physical information generation unit; and detection at a first time Group detection by selecting M circuits (M is an integer of 2 or more) based on the ranking of the numerical values of the generated physical characteristics and creating a group and storing information about the group in a nonvolatile memory provided in advance And a registered circuit estimation unit that generates and outputs first unique information from physical characteristics of the M circuits, and the group detection unit A function of selecting N circuits more than M based on the numerical order of the physical characteristics detected at the second time later is provided, and the registered circuit estimation unit can arbitrarily select any of the N circuits. A function of selecting M circuits, generating second unique information from the physical characteristics of the selected M circuits, and outputting the unique information if the first and second unique information match. It is characterized by providing.

 上記目的を達成するため、本発明に係るデバイス固有情報生成方法は、複数の回路を含む電子デバイスから、当該電子デバイスの認証に係る固有情報を検出してこれを出力するデバイス固有情報生成出力装置にあって、第1の時刻において固有情報の検出対象となる複数の回路を含むデバイス物理情報生成手段から各回路の物理特性を上位回路検出部が検出し、検出された物理特性の数値の順位に基づいてグループ検出部がM個(Mは2以上の整数)の回路を選択してグループを作成し、このグループについての情報をグループ検出部が予め備えられた不揮発性メモリに記憶し、M個の回路についての物理特性から登録回路推定部が第1の固有情報を生成し、第1の時刻より後の第2の時刻においてデバイス物理情報生成手段から各回路の物理特性を上位回路検出部が検出し、第2の時刻において検出された物理特性の数値の順位に基づいて、グループ検出部がMよりも多いN個の回路を選択し、N個の回路の中から任意のM個の回路を登録回路推定部が選択し、この選択されたM個の回路についての物理特性から登録回路推定部が第2の固有情報を生成し、第1および第2の固有情報が一致すれば登録回路推定部がこの固有情報を出力することを特徴とする。 To achieve the above object, a device specific information generation method according to the present invention detects device specific information related to authentication of an electronic device from an electronic device including a plurality of circuits and outputs the device specific information. Then, the upper circuit detection unit detects the physical characteristics of each circuit from the device physical information generation means including a plurality of circuits whose specific information is to be detected at the first time, and the numerical order of the detected physical characteristics Based on the above, the group detection unit selects M circuits (M is an integer of 2 or more) to create a group, and stores information about the group in a nonvolatile memory provided in advance by the group detection unit. The registered circuit estimation unit generates the first unique information from the physical characteristics of the individual circuits, and the device physical information generation unit generates the first unique information at a second time after the first time. The upper circuit detection unit detects the physical characteristics, and the group detection unit selects N circuits having more than M based on the numerical order of the physical characteristics detected at the second time. The registered circuit estimation unit selects any M circuits from among them, and the registered circuit estimation unit generates second unique information from the physical characteristics of the selected M circuits, and the first and second If the unique information matches, the registered circuit estimation unit outputs this unique information.

 上記目的を達成するため、本発明に係るデバイス固有情報生成プログラムは、複数の回路を含む電子デバイスから、当該電子デバイスの認証に係る固有情報を検出してこれを出力するデバイス固有情報生成出力装置にあって、デバイス固有情報生成出力装置の備えるコンピュータに、第1の時刻において固有情報の検出対象となる複数の回路を含むデバイス物理情報生成手段から各回路の物理特性を検出する手順、検出された物理特性の数値の順位に基づいてM個(Mは2以上の整数)の回路を選択してグループを作成する手順、このグループについての情報を予め備えられた不揮発性メモリに記憶する手順、M個の回路についての物理特性から第1の固有情報を生成する手順、第1の時刻より後の第2の時刻においてデバイス物理情報生成手段から各回路の物理特性を検出する手順、第2の時刻において検出された物理特性の数値の順位に基づいてMよりも多いN個の回路を選択する手順、N個の回路の中から任意のM個の回路を選択する手順、この選択されたM個の回路についての物理特性から第2の固有情報を生成する手順、および第1および第2の固有情報が一致すればこの固有情報を出力する手順、を実行させることを特徴とする。 In order to achieve the above object, a device specific information generation program according to the present invention detects device specific information related to authentication of an electronic device from an electronic device including a plurality of circuits, and outputs the device specific information generation output device A procedure for detecting physical characteristics of each circuit from a device physical information generation unit including a plurality of circuits that are targets of detection of specific information at a first time is detected by a computer included in the device specific information generation / output device. A procedure for creating a group by selecting M (M is an integer of 2 or more) circuits based on the ranking of the numerical values of the physical characteristics, a procedure for storing information about the group in a nonvolatile memory provided in advance, A procedure for generating first specific information from physical characteristics of M circuits, and device physical information generation at a second time after the first time. A procedure for detecting physical characteristics of each circuit from the means, a procedure for selecting N circuits more than M based on the order of the numerical values of the physical characteristics detected at the second time, and an arbitrary one of the N circuits The procedure for selecting the M number of circuits, the procedure for generating the second unique information from the physical characteristics of the selected M circuits, and the unique information if the first and second unique information match. The output procedure is executed.

 本発明は、上記したようにまず第1の時刻において物理特性の順位に基づいて選択されたM個の回路から第1の固有情報を生成し、第1の時刻より後の第2の時刻において物理特性の順位に基づいて選択されたN個の回路の中から任意のM個を選択して第2の固有情報を生成し、この第1および第2の固有情報が一致するか否かを判断するように構成したので、N個の中から任意のM個を選択する際の試行数を、現実に計算可能な範囲に抑えることができる。 As described above, the present invention first generates first unique information from M circuits selected based on the order of physical characteristics at a first time, and at a second time after the first time. Arbitrary M circuits are selected from the N circuits selected based on the order of physical characteristics to generate second unique information, and whether or not the first and second unique information match is determined. Since the determination is made, the number of trials when selecting an arbitrary M out of N can be suppressed to a range that can be actually calculated.

 これによって、温度などの環境変化の影響を受けにくく、安定して一定の固有情報を出力することが可能であるという、優れた特徴を持つデバイス固有情報生成出力装置、デバイス固有情報生成方法および生成プログラムを提供することができる。 As a result, a device specific information generation / output device, a device specific information generation method, and a generation with excellent characteristics that it is difficult to be influenced by environmental changes such as temperature and can stably output specific specific information. A program can be provided.

図2に示した物理情報マッピング手段のより詳しい構成について示す説明図である。It is explanatory drawing shown about the more detailed structure of the physical information mapping means shown in FIG. 本発明の第1の実施形態に係る端末機器の構成について示す説明図である。It is explanatory drawing shown about the structure of the terminal device which concerns on the 1st Embodiment of this invention. 図1~2に示した端末機器(デバイス固有情報生成出力装置)の、登録フェーズに係る動作について示すフローチャートである。FIG. 3 is a flowchart showing an operation related to a registration phase of the terminal device (device specific information generation / output device) shown in FIGS. 1 and 2. FIG. 図1~2に示した端末機器(デバイス固有情報生成出力装置)の、利用フェーズに係る動作について示すフローチャートである。FIG. 3 is a flowchart showing an operation related to a use phase of the terminal device (device specific information generation / output device) shown in FIGS. 1 and 2. FIG. 図1~2に示したデバイス物理情報生成手段および上位回路検出部のより詳しい構成について示す説明図である。FIG. 3 is an explanatory diagram showing a more detailed configuration of the device physical information generation unit and the upper circuit detection unit shown in FIGS. 本発明の第2の実施形態に係る端末機器の構成について示す説明図である。It is explanatory drawing shown about the structure of the terminal device which concerns on the 2nd Embodiment of this invention. 図6に示した物理情報マッピング手段のより詳しい構成について示す説明図である。It is explanatory drawing shown about the more detailed structure of the physical information mapping means shown in FIG. 図6~7に示した端末機器(デバイス固有情報生成出力装置)の、登録フェーズに係る動作について示すフローチャートである。FIG. 8 is a flowchart showing an operation related to a registration phase of the terminal device (device specific information generation / output device) shown in FIGS. 6 to 7. FIG. 図6~7に示した端末機器(デバイス固有情報生成出力装置)の、利用フェーズに係る動作について示すフローチャートである。FIG. 8 is a flowchart showing an operation related to a use phase of the terminal device (device-specific information generation / output device) shown in FIGS. 本発明の第3の実施形態に係る端末機器の構成について示す説明図である。It is explanatory drawing shown about the structure of the terminal device which concerns on the 3rd Embodiment of this invention. 図10に示した物理情報マッピング手段のより詳しい構成について示す説明図である。It is explanatory drawing shown about the more detailed structure of the physical information mapping means shown in FIG. 図10~11に示した端末機器(デバイス固有情報生成出力装置)の、登録フェーズに係る動作について示すフローチャートである。12 is a flowchart showing an operation related to a registration phase of the terminal device (device specific information generation / output device) shown in FIGS. 図10~11に示した端末機器(デバイス固有情報生成出力装置)の、利用フェーズに係る動作について示すフローチャートである。12 is a flowchart showing an operation related to a use phase of the terminal device (device-specific information generation / output device) shown in FIGS. 既存技術に係るPUFによる固有情報生成手段を備えた端末機器の構成について示す説明図である。It is explanatory drawing shown about the structure of the terminal device provided with the specific information generation means by PUF which concerns on the existing technique.

(第1の実施形態)
 以下、本発明の実施形態の構成について添付図1~2および添付図5に基づいて説明する。
 最初に、本実施形態の基本的な内容について説明し、その後でより具体的な内容について説明する。
 本実施形態に係るデバイス固有情報生成出力装置(端末機器10)は、電子デバイスの認証に係る固有情報を検出してこれを出力するデバイス固有情報生成出力装置である。この装置は、固有情報の検出対象となる複数の回路を含むデバイス物理情報生成手段110と、デバイス物理情報生成手段から各回路の物理特性を検出する上位回路検出部121と、第1の時刻において検出された物理特性の数値の順位に基づいてM個(Mは2以上の整数)の回路を選択してグループを作成してこのグループについての情報を予め備えられた不揮発性メモリ13に記憶するグループ検出部122と、M個の回路についての物理特性から第1の固有情報を生成して出力する登録回路推定部123を有する。そして、グループ検出部122が、第1の時刻より後の第2の時刻において検出された物理特性の数値の順位に基づいて、Mよりも多いN個の回路を選択する機能を備え、登録回路推定部123が、N個の回路の中から任意のM個の回路を選択してこの選択されたM個の回路についての物理特性から第2の固有情報を生成し、第1および第2の固有情報が一致すればこの固有情報を出力する。
(First embodiment)
Hereinafter, the configuration of the embodiment of the present invention will be described with reference to FIGS. 1 and 2 and FIG.
First, the basic content of the present embodiment will be described, and then more specific content will be described.
The device specific information generation / output device (terminal device 10) according to the present embodiment is a device specific information generation / output device that detects and outputs specific information related to authentication of an electronic device. The apparatus includes a device physical information generation unit 110 including a plurality of circuits for which specific information is to be detected, an upper circuit detection unit 121 that detects physical characteristics of each circuit from the device physical information generation unit, and a first time. Based on the order of numerical values of the detected physical characteristics, M (M is an integer of 2 or more) circuits are selected to create a group, and information about this group is stored in the nonvolatile memory 13 provided in advance. A group detection unit 122 and a registered circuit estimation unit 123 that generates and outputs first unique information from physical characteristics of M circuits. The group detection unit 122 has a function of selecting N circuits greater than M based on the numerical order of the physical characteristics detected at a second time after the first time, and a registration circuit The estimation unit 123 selects any M circuits from the N circuits, generates second specific information from the physical characteristics of the selected M circuits, and generates the first and second If the unique information matches, this unique information is output.

 ここで、デバイス物理情報生成手段110が複数個の素子(DRAM素子110a、b、c、…)によって構成されたダイナミックRAMであり、上位回路検出部121が各素子のチャージ後に反転するまでの時間を物理特性として検出する。また、上位回路検出部121が、チャージ後にビットが反転した素子の数が予め与えられた範囲になるようリフレッシュ停止時間を制御するリフレッシュ制御機能121bを備える。 Here, the device physical information generation means 110 is a dynamic RAM formed of a plurality of elements (DRAM elements 110a, b, c,...), And the time until the upper circuit detection unit 121 reverses after charging each element. Is detected as a physical property. Further, the upper circuit detection unit 121 includes a refresh control function 121b for controlling the refresh stop time so that the number of elements whose bits are inverted after charging is in a predetermined range.

 さらに、登録回路推定部123が、第1および第2の固有情報を上位装置(ホストコンピュータ20)に転送して認証を行い、この認証が成功するか否かによって第1および第2の固有情報が一致するか否かを判断する。 Further, the registration circuit estimation unit 123 performs authentication by transferring the first and second unique information to the host device (host computer 20), and the first and second unique information are determined depending on whether or not the authentication is successful. It is judged whether or not.

 このように構成することにより、本実施形態の端末機器10は、温度などの環境変化の影響を受けにくく、安定して一定の固有情報を出力することが可能となる。
 以下、これをより詳細に説明する。
With this configuration, the terminal device 10 of the present embodiment is less susceptible to environmental changes such as temperature, and can stably output certain unique information.
Hereinafter, this will be described in more detail.

 図2は、本発明の第1の実施形態に係る端末機器10の構成について示す説明図である。端末機器10は、ホストコンピュータ20とUSBなどのインタフェースを介して着脱自在に接続可能な周辺機器であり、コンピュータプログラムを実行する主体であるMPU(マイクロプロセッサ)11と、データを記憶する揮発性メモリ12および不揮発性メモリ13と、ホストコンピュータ20との間の接続を仲介するインタフェース14と、デバイス物理情報生成手段110とを備える。 FIG. 2 is an explanatory diagram showing the configuration of the terminal device 10 according to the first embodiment of the present invention. The terminal device 10 is a peripheral device that can be detachably connected to the host computer 20 via an interface such as a USB, and an MPU (microprocessor) 11 that is a main body that executes a computer program, and a volatile memory that stores data. 12 and the non-volatile memory 13, an interface 14 that mediates connection between the host computer 20 and the device physical information generation means 110.

 MPU11は、固有情報生成プログラムが実行されることにより、物理情報マッピング手段120として機能する。これにより、このMPU11、揮発性メモリ12および不揮発性メモリ13を合わせてデバイス固有情報生成出力装置として機能する。インタフェース14は、たとえばUSB(ユニバーサルシリアルバス)などのような、コンピュータと周辺機器との間の接続に関する一般的なインタフェースである。 The MPU 11 functions as the physical information mapping unit 120 by executing the unique information generation program. Accordingly, the MPU 11, the volatile memory 12, and the nonvolatile memory 13 together function as a device specific information generation / output device. The interface 14 is a general interface related to a connection between a computer and a peripheral device such as a USB (Universal Serial Bus).

 デバイス物理情報生成手段110は、物理的特徴の具体的な検出対象となる複数個の回路を備えたデバイスである。具体的には、たとえば、DRAM素子や、リングオシレータなどのような発振回路などがこれに該当する。物理情報マッピング手段120は、このデバイス物理情報生成手段110から物理的特徴を検出し、これをPUFの出力値としてホストコンピュータ20に出力する。 The device physical information generation means 110 is a device including a plurality of circuits that are specific detection targets of physical characteristics. Specifically, for example, an oscillator circuit such as a DRAM element or a ring oscillator corresponds to this. The physical information mapping unit 120 detects a physical feature from the device physical information generation unit 110 and outputs it to the host computer 20 as an output value of the PUF.

 図1は、図2に示した物理情報マッピング手段120のより詳しい構成について示す説明図である。物理情報マッピング手段120は、上位回路検出部121、グループ検出部122、および登録回路推定部123とからなる。これに加えて、揮発性メモリ12に上位回路情報124が記憶され、不揮発性メモリ13に登録グループ情報125が記憶される。 FIG. 1 is an explanatory diagram showing a more detailed configuration of the physical information mapping means 120 shown in FIG. The physical information mapping unit 120 includes an upper circuit detection unit 121, a group detection unit 122, and a registered circuit estimation unit 123. In addition, the upper circuit information 124 is stored in the volatile memory 12, and the registration group information 125 is stored in the nonvolatile memory 13.

 本実施形態では、デバイス物理情報生成手段110がDRAM素子である場合について説明する。この場合、上位回路検出部121は、DRAM素子のリテンション特性を検出対象の物理情報とし、当該DRAM素子のチャージ後にリフレッシュを一定時間停止して反転するビットを検出することによって、この物理情報を検出することができる。 In the present embodiment, a case where the device physical information generation unit 110 is a DRAM element will be described. In this case, the upper circuit detection unit 121 detects the physical information by setting the retention characteristic of the DRAM element as physical information to be detected, and detecting the bit that is refreshed after the DRAM element is charged and then refreshed for a predetermined time. can do.

 ここで、回路の「上位」あるいは「下位」とは、PUFで検出される物理特性の数値によって決定される順位のことをいう。たとえば、DRAM素子のリテンション特性を検出対象とする場合には、電荷を消失する時間の数値に基づいて、電荷をより早く消失するビットを「上位」、そうでないビットを「下位」とする。 Here, “upper” or “lower” of the circuit means the order determined by the numerical value of the physical characteristic detected by the PUF. For example, when the retention characteristic of a DRAM element is to be detected, based on the numerical value of the time for erasing the charge, the bit for losing the charge earlier is set as “upper”, and the bit for the other is set as “lower”.

 端末機器10は、以上に示した各々の構成要素によって、後述する登録フェーズと利用フェーズの2種類の処理を実施し、固有情報の生成を行う。利用フェーズは、必ず登録フェーズの後に実行される。以下、これら各要素の動作について説明する。 The terminal device 10 performs two types of processing, a registration phase and a usage phase, which will be described later, according to each component described above, and generates unique information. The usage phase is always executed after the registration phase. Hereinafter, the operation of each of these elements will be described.

 上位回路検出部121は、デバイス物理情報生成手段110の中で検出対象としている物理情報に関して上位の回路(DRAM素子の場合は電荷を早く消失するビット)を選択し、選択された各上位回路についての情報インデックスを上位回路情報124として記憶する。 The upper circuit detection unit 121 selects an upper circuit (bit that quickly loses charge in the case of a DRAM element) with respect to physical information to be detected in the device physical information generation unit 110, and for each selected upper circuit. Is stored as the upper circuit information 124.

 グループ検出部122は、登録フェーズにおいては、上位回路情報124の回路のグループを不揮発性メモリ12に登録グループ情報125として記憶する処理を行う。また、利用フェーズにおいては、登録グループ情報125のグループに一致する回路を検出する処理を行う。 In the registration phase, the group detection unit 122 performs a process of storing the circuit group of the upper circuit information 124 in the nonvolatile memory 12 as the registered group information 125. In the use phase, processing for detecting a circuit that matches the group of the registered group information 125 is performed.

 登録回路推定部123は、登録フェーズにおいては、固有情報を決定してホストコンピュータ20に出力する処理を行う。また、利用フェーズにおいては、グループ検出部122で検出された回路から登録フェーズで選択された回路を推定し、固有情報を生成してホストコンピュータ20に出力して認証を行わせる処理を実行する。 In the registration phase, the registration circuit estimation unit 123 performs processing for determining unique information and outputting it to the host computer 20. Further, in the usage phase, a circuit selected in the registration phase is estimated from the circuits detected by the group detection unit 122, specific information is generated, output to the host computer 20, and authentication is executed.

 図3は、図1~2に示した端末機器10(デバイス固有情報生成出力装置)の、登録フェーズに係る動作について示すフローチャートである。登録フェーズは、端末機器10を最初にホストコンピュータ20に接続して使用する際に実行される処理である。 FIG. 3 is a flowchart showing an operation related to the registration phase of the terminal device 10 (device-specific information generation / output device) shown in FIGS. The registration phase is a process executed when the terminal device 10 is first connected to the host computer 20 and used.

 まず、上位回路検出部121が、デバイス物理情報生成手段110から得られる情報を用いてM個の上位回路を決定する(ステップS201)。Mは想定する固有情報の情報量に応じて決定される。 First, the upper circuit detection unit 121 determines M upper circuits using information obtained from the device physical information generation unit 110 (step S201). M is determined according to the amount of specific information assumed.

 続いて、グループ検出部122が、ステップS201で決定されたM個の回路のグループを特定して、そのグループを示すインデックスを登録グループ情報125として不揮発性メモリ13に格納する(ステップS202)。グループ化の具体的な方法としては、回路を特定するインデックスの上位もしくは下位ビットに対応させる方法、あるいは回路のロケーションに応じて決定する方法などが存在する。 Subsequently, the group detection unit 122 identifies the group of M circuits determined in step S201, and stores an index indicating the group in the nonvolatile memory 13 as registered group information 125 (step S202). As a specific method of grouping, there are a method of corresponding to upper or lower bits of an index for specifying a circuit, a method of determining according to a circuit location, and the like.

 そして、登録回路推定部123が、ステップS202までで特定されたM個の上位回路のグループ内でのインデックスを連結した系列を、固有情報として決定する(ステップS203)。ホストコンピュータ20との間でチャレンジ-レスポンスに基づく認証を行う場合には、登録フェーズにおいてこの固有情報を用いて事前に認証に必要な情報を共有する。 Then, the registered circuit estimation unit 123 determines, as specific information, a series in which the indexes in the group of M upper circuits specified up to step S202 are connected (step S203). When authentication based on challenge-response is performed with the host computer 20, information necessary for authentication is shared in advance using this unique information in the registration phase.

 図4は、図1~2に示した端末機器10(デバイス固有情報生成出力装置)の、利用フェーズに係る動作について示すフローチャートである。利用フェーズは、既に図3に示した登録フェーズを終了した端末機器10を、実際にホストコンピュータ20に接続して使用する際に実行される処理である。 FIG. 4 is a flowchart showing an operation related to the use phase of the terminal device 10 (device-specific information generation / output device) shown in FIGS. The use phase is a process executed when the terminal device 10 that has already completed the registration phase shown in FIG. 3 is actually connected to the host computer 20 and used.

 まず、上位回路検出部121が、N個の上位回路を決定する(ステップS251)。Nは回路の総数よりは十分に小さく、登録フェーズにおけるMより大きい一定の範囲として設定することが適切である。即ち0<M<N<回路総数である。 First, the upper circuit detection unit 121 determines N upper circuits (step S251). N is sufficiently smaller than the total number of circuits, and it is appropriate to set it as a certain range larger than M in the registration phase. That is, 0 <M <N <total number of circuits.

 続いて、グループ検出部122が、ステップS251で決定されたN個の回路の中から、登録グループ情報125のM個のグループに対応するものを特定する(ステップS252)。 Subsequently, the group detection unit 122 identifies one corresponding to the M groups in the registered group information 125 from among the N circuits determined in step S251 (step S252).

 そして、登録回路推定部123が、ステップS252において1個以上の回路が対応する登録フェーズのグループが、登録グループ情報125の中に存在するか否かを判断し(ステップS253)、存在しなければ「固有情報生成失敗」として処理を異常終了する(ステップS257)。この後の処理としては、たとえば物理情報の測定からやり直す方法などがある。 Then, the registration circuit estimation unit 123 determines whether or not a registration phase group to which one or more circuits correspond in step S252 exists in the registration group information 125 (step S253). The process ends abnormally as “unique information generation failure” (step S257). As the subsequent processing, for example, there is a method of starting over from measurement of physical information.

 ステップS253で、対応する登録フェーズのグループが存在すれば、登録回路推定部123が、該当するN個の回路の中から任意の回路を用いて固有情報の候補を生成して(ステップS254)、これを用いてホストコンピュータ20に対して当該端末機器10の認証を試みる(ステップS255)。認証が成功すれば正常終了となる(ステップS256)。認証が失敗すれば、他のM個の回路を選択してステップS253から処理を繰り返す。N個の回路の中から選ばれたM個の組み合わせ全てで認証が失敗すれば、ステップS257に処理が進んで異常終了となる。 If there is a corresponding registration phase group in step S253, the registered circuit estimation unit 123 generates a candidate for specific information using an arbitrary circuit from the corresponding N circuits (step S254), and Using this, authentication of the terminal device 10 is attempted with respect to the host computer 20 (step S255). If the authentication is successful, the process ends normally (step S256). If the authentication fails, another M circuits are selected and the process is repeated from step S253. If the authentication fails for all M combinations selected from the N circuits, the process proceeds to step S257 and ends abnormally.

 図5は、図1~2に示したデバイス物理情報生成手段110および上位回路検出部121のより詳しい構成について示す説明図である。図5では、デバイス物理情報生成手段110を複数個のDRAM素子110a、110b、110c、…であるものとして、その物理的特徴を検出する場合の例を示している。上位回路検出部121は、R/W(リード・ライト)コントローラ121aと、リフレッシュ制御機能121bとを備える。 FIG. 5 is an explanatory diagram showing a more detailed configuration of the device physical information generation unit 110 and the upper circuit detection unit 121 shown in FIGS. FIG. 5 shows an example in which the physical characteristics of the device physical information generating means 110 are detected as a plurality of DRAM elements 110a, 110b, 110c,... The upper circuit detection unit 121 includes an R / W (read / write) controller 121a and a refresh control function 121b.

 R/Wコントローラ121aは、DRAM素子110a、110b、110c、…のリード、ライトの処理を実行するモジュールである。リフレッシュ制御機能121bは、DRAM素子110a、110b、110c、…の全体もしくはその一部のビットをチャージ後に、リフレッシュを停止して反転するビット数が所望の値となるようにリフレッシュ停止時間を制御する。反転ビット数が小さすぎるときにはリフレッシュ停止時間を長く、大きすぎる場合には小さく変更して測定をやり直す制御を実行する。 The R / W controller 121a is a module that executes read / write processing of the DRAM elements 110a, 110b, 110c,. The refresh control function 121b controls the refresh stop time so that the number of bits to stop and invert after refreshing all or a part of the bits of the DRAM elements 110a, 110b, 110c,. . When the number of inverted bits is too small, the refresh stop time is lengthened, and when it is too large, the refresh is changed to a smaller value and the measurement is repeated.

 本実施形態の登録フェーズでは、リフレッシュ制御機能121bは、最初のM個のビット反転位置を求めるが、反転ビット数が正確にMになるようにリフレッシュ停止時間を制御することは困難であるので、登録フェーズにおいても利用フェーズと同様に適切なレンジを設定してその間に反転ビット数Nが入るように制御し、この中からM個を選択することが適切となる。 In the registration phase of the present embodiment, the refresh control function 121b obtains the first M bit inversion positions, but it is difficult to control the refresh stop time so that the number of inversion bits is exactly M. Also in the registration phase, it is appropriate to set an appropriate range in the same manner as in the use phase, and control so that the number of inverted bits N is inserted between them, and select M from these.

 以上のように構成して、登録フェーズで上位の部品を予めグループ化して特定しておくことによって、本実施形態の端末機器10(デバイス固有情報生成出力装置)は、固有情報の生成に利用する部品の特定を簡易にすることができる。発明が解決しようとする課題の欄で述べたDRAMのケースでいえば、DRAMのビット全体を64個のグループに分割すると、利用フェーズにおける100個の反転ビット中で各グループに含まれる反転ビットの個数は、平均して2個前後である。 By configuring as described above and identifying the upper components in advance in the registration phase, the terminal device 10 (device specific information generation / output device) of the present embodiment is used for generation of specific information. Part identification can be simplified. In the case of the DRAM described in the section of the problem to be solved by the invention, when the entire bits of the DRAM are divided into 64 groups, the inversion bits included in each group among the 100 inversion bits in the use phase. The number is about two on average.

 この100個の反転ビットの中には登録フェーズにおける10個の反転ビットが高い確率で含まれる。登録フェーズの10個の各グループには2個のビットが候補となるとすると、利用フェーズでは2^10の候補を試行すれば登録フェーズと同一の反転ビットを再現することができることになる。 The 10 inversion bits in the registration phase are included in the 100 inversion bits with a high probability. Assuming that 2 bits are candidates for each of the 10 groups in the registration phase, if the 2 ^ 10 candidates are tried in the use phase, the same inverted bits as in the registration phase can be reproduced.

 上記のDRAMのケースでDRAMのサイズが64Mビットであるとすると(位置情報は26ビット)、この中から10個を選択する組み合わせの情報量は238ビットになる。一方、本実施形態の手法で64=2^6個のグループ化を行うと、各反転ビットのグループ内でのインデックスの情報量はグループ内から1個選択する場合に20ビットの情報量となり、10個のグループ全体で200ビットとなる。 If the DRAM size is 64 Mbits in the case of the above DRAM (position information is 26 bits), the information amount of a combination of 10 selected from these is 238 bits. On the other hand, if 64 = 2 ^ 6 groupings are performed by the method of the present embodiment, the information amount of the index in each inverted bit group becomes the information amount of 20 bits when one is selected from the group, The total of 10 groups is 200 bits.

 このように、本実施形態によれば、同一の物理情報から生成される固有情報量を少なくして、その生成に必要な計算量を軽減することができる。 As described above, according to the present embodiment, it is possible to reduce the amount of unique information generated from the same physical information and reduce the amount of calculation required for the generation.

(より具体的な動作例)
 以下、本実施形態のより具体的な動作例について説明する。ここでは、デバイス物理情報生成手段110としてDRAM素子を用いて、当該DRAM素子に対してリフレッシュを停止して反転したビットを上位の回路とする。
(More specific operation example)
Hereinafter, a more specific operation example of the present embodiment will be described. Here, a DRAM element is used as the device physical information generation means 110, and the refreshed bit is stopped and inverted for the DRAM element as the upper circuit.

 DRAMのビット数を64M(=2^26、以後「AのB乗」を「A^B」と表記する)とすると、その中の1ビット(1回路)は26ビットのインデックス(16ビットI/Oであれば4ビットのビット順位と22ビットのアドレス)として表現することができる。グループはインデックスの上位(もしくは下位)ビットで対応させることができる。グループに対応する上位ビットを18ビットとするとグループの総数は2^18となる。 If the number of bits of the DRAM is 64M (= 2 ^ 26, hereinafter "A to the power B" is expressed as "A ^ B"), one bit (one circuit) is a 26-bit index (16-bit I / O can be expressed as a 4-bit bit order and a 22-bit address). Groups can be associated with the upper (or lower) bits of the index. If the upper bits corresponding to a group are 18 bits, the total number of groups is 2 ^ 18.

 また、1回路あたり26-18=8ビットが固有情報として利用されるため、登録フェーズにおけるM個の回路から生成される固有情報は8Mビットとなる。64ビットの固有情報を生成するためにはM=8と設定する。以下、このパラメータでの実施例を示す。 Also, since 26-18 = 8 bits per circuit is used as the unique information, the unique information generated from the M circuits in the registration phase is 8M bits. In order to generate 64-bit unique information, M = 8 is set. An example with this parameter is shown below.

 登録フェーズにおいて、上位回路検出部121は、反転ビット数がM=8を下限として含む範囲に入るようにリフレッシュ停止時間を制御する。例えば上限を2×M、即ち16に設定することが考えられる。M=8として登録フェーズにおいてあるリフレッシュ停止時間で次のインデックスで表されるE1~E10の10個のビットが反転したとする。以下はE1~E10の各ビットのアドレスを16進(hex)形式で示している。 In the registration phase, the upper circuit detection unit 121 controls the refresh stop time so that the number of inversion bits falls within a range including M = 8 as a lower limit. For example, it is conceivable to set the upper limit to 2 × M, that is, 16. Assume that M = 8 and 10 bits E1 to E10 represented by the next index are inverted during a certain refresh stop time in the registration phase. The following shows the address of each bit of E1 to E10 in hexadecimal (hex) format.

E1 :08160d6
E2 :0b1e806
E3 :16b12cd
E4 :177eee1
E5 :1b978ae
E6 :204fe7f
E7 :29b9366
E8 :29c7f87
E9 :3264a39
E10:392324a
E1: 08160d6
E2: 0b1e806
E3: 16b12cd
E4: 177eeee1
E5: 1b978ae
E6: 204fe7f
E7: 29b9366
E8: 29c7f87
E9: 3264a39
E10: 392324a

 M=8に対して、ここでは例えばE1~E8を登録フェーズの回路として選択する。上位18ビットをグループに対応させるのでグループ検出部は次のインデックスで表される8個のグループG1~G8を登録グループ情報として不揮発性メモリに格納する。
G1:08160
G2:0b1e8
G3:16b12
G4:177ee
G5:1b978
G6:204fe
G7:29b93
G8:29c7f
For M = 8, for example, E1 to E8 are selected as registration phase circuits. Since the upper 18 bits correspond to a group, the group detection unit stores eight groups G1 to G8 represented by the following index in the nonvolatile memory as registered group information.
G1: 08160
G2: 0b1e8
G3: 16b12
G4: 177ee
G5: 1b978
G6: 204fe
G7: 29b93
G8: 29c7f

 回路の26ビットのインデックスの下位8ビットがグループ内のインデックスとなるため、E1~E8の回路に対して固有情報Iは次の64ビットとなる。
I: d6 06 cd e1 ae 7f 66 87
Since the lower 8 bits of the 26-bit index of the circuit is an index in the group, the unique information I is the next 64 bits for the circuits E1 to E8.
I: d6 06 cd e1 ae 7f 66 87

 同一のグループが発生する場合にはその中の1個のみを選択し、その上でM個の回路を選択する方法が考えられる。 When the same group is generated, only one of them may be selected, and then M circuits may be selected.

 利用フェーズにおいて、上位回路検出部121は登録フェーズのM=8に対して、N=2M~10M(16~80)程度の反転ビットが生じるようにリフレッシュを制御する。グループ検出部は上記のG1~G8のグループインデックスを読み込み、N個の回路の中で各グループに含まれるものを見出す。 In the use phase, the upper circuit detection unit 121 controls refresh so that inverted bits of about N = 2M to 10M (16 to 80) are generated with respect to M = 8 in the registration phase. The group detection unit reads the group index of G1 to G8 and finds one included in each group among N circuits.

 ここでは、たとえば登録フェーズに対して次のF1からF19のN=19個の回路が上位の回路として得られたとする。 Here, for example, it is assumed that N = 19 circuits from the next F1 to F19 are obtained as upper circuits for the registration phase.

F1: 08160d6
F2: 0bea055
F3: 0fd3fa1
F4: 165d693
F5: 16b12cd
F6: 177eee1
F7: 19e7c50
F8: 1b6f798
F9: 1b978ae
F10:204fe7f
F11:23c8f04
F12:29b9366
F13:29c7f87
F14:29c7feb
F15:2fd322e
F16:3264a39
F17:346a468
F18:3825018
F19:3ccb504
F1: 08160d6
F2: 0bea055
F3: 0fd3fa1
F4: 165d693
F5: 16b12cd
F6: 177eeee1
F7: 19e7c50
F8: 1b6f798
F9: 1b978ae
F10: 204fe7f
F11: 23c8f04
F12: 29b9366
F13: 29c7f87
F14: 29c7feb
F15: 2fd322e
F16: 3264a39
F17: 346a468
F18: 3825018
F19: 3ccb504

 ここでグループ検出部122は、以下のように、登録グループ情報G1~G8に対応するF1からF8の回路を特定する。
G1: F1
G2: なし
G3: F5
G4: F6
G5: F9
G6: F10
G7: F12
G8: F13,F14
Here, the group detection unit 122 identifies the circuits F1 to F8 corresponding to the registered group information G1 to G8 as follows.
G1: F1
G2: None G3: F5
G4: F6
G5: F9
G6: F10
G7: F12
G8: F13, F14

 登録回路検出手段123は、この実施例では、G2に対してはそのグループに対応するすべての回路について(この実施例では2^8=256個)、G8に対してはF13,F14の2通り、その他のグループには対応する1個の回路の組み合わせを登録フェーズの回路の候補とする。つまり、この場合256×2=512通りの固有情報の候補を試すことで登録フェーズでの固有情報を特定することができる。これは、前述した「2の47乗程度、即ち約140兆回」と比べて大幅に少ない試行回数であり、現実的に計算可能な範囲の計算量である。 In this embodiment, the registered circuit detecting means 123 is for all the circuits corresponding to the group for G2 (2 ^ 8 = 256 in this embodiment), and for G8, F13 and F14. For other groups, a combination of one corresponding circuit is a candidate for a circuit in the registration phase. That is, in this case, the unique information in the registration phase can be specified by trying 256 × 2 = 512 unique information candidates. This is a significantly smaller number of trials than the above-mentioned “about 2 to the 47th power, that is, about 140 trillion times”, and is a calculation amount within a practically computable range.

 図4のステップS253および255で述べたように、対応する回路が存在しないグループが多すぎる場合には、登録フェーズの回路候補は存在しないと判断して登録回路検出手段の処理を終了すればよい。本実施例では、たとえば候補の総数を2^20までに設定すれば、3個以上の登録グループで対応する回路がない場合には登録回路検出手段の処理を異常終了とすることができる。 As described in steps S253 and 255 of FIG. 4, if there are too many groups that do not have corresponding circuits, it is determined that there are no circuit candidates in the registration phase, and the processing of the registered circuit detection unit may be terminated. . In this embodiment, for example, if the total number of candidates is set to 2 ^ 20, the processing of the registered circuit detection means can be terminated abnormally when there is no corresponding circuit in three or more registered groups.

(第1の実施形態の全体的な動作)
 次に、上記の実施形態の全体的な動作について説明する。
 本実施形態に係るデバイス固有情報生成方法は、電子デバイスの認証に係る固有情報を検出してこれを出力するデバイス固有情報生成出力装置10にあって、第1の時刻において固有情報の検出対象となる複数の回路を含むデバイス物理情報生成手段から各回路の物理特性を上位回路検出部が検出し(図3・ステップS201)、検出された物理特性の数値の順位に基づいてグループ検出部がM個(Mは2以上の整数)の回路を選択してグループを作成し(図3・ステップS202)、このグループについての情報をグループ検出部が予め備えられた不揮発性メモリに記憶し、M個の回路についての物理特性から登録回路推定部が第1の固有情報を生成して出力し(図3・ステップS203)、第1の時刻より後の第2の時刻において検出された物理特性の数値の順位に基づいて、グループ検出部がMよりも多いN個の回路を選択し(図4・ステップS251)、N個の回路の中から任意のM個の回路を登録回路推定部が選択し(図4・ステップS252~253)、この選択されたM個の回路についての物理特性から登録回路推定部が第2の固有情報を生成し(図4・ステップS254)、第1および第2の固有情報が一致すれば登録回路推定部がこの固有情報を出力する(図4・ステップS255~256)。
(Overall operation of the first embodiment)
Next, the overall operation of the above embodiment will be described.
The device specific information generation method according to the present embodiment is a device specific information generation / output device 10 that detects specific information related to authentication of an electronic device and outputs the specific information. The upper circuit detection unit detects the physical characteristics of each circuit from the device physical information generation means including a plurality of circuits (step S201 in FIG. 3), and the group detection unit detects M based on the numerical order of the detected physical characteristics. A group is created by selecting a circuit (M is an integer of 2 or more) (FIG. 3, step S202), and information about this group is stored in a non-volatile memory provided in advance with a group detection unit. The registered circuit estimation unit generates and outputs the first unique information from the physical characteristics of the circuit (step S203 in FIG. 3), and is detected at the second time after the first time. Based on the ranking of the numerical values of the physical characteristics, the group detection unit selects N circuits more than M (FIG. 4, step S251), and any M circuits from the N circuits are registered. The estimation unit selects (FIG. 4, steps S252 to 253), and the registered circuit estimation unit generates second unique information from the physical characteristics of the selected M circuits (FIG. 4, step S254). If the first and second unique information match, the registered circuit estimation unit outputs this unique information (FIG. 4, steps S255 to 256).

 ここで、上記各動作ステップについては、これをコンピュータで実行可能にプログラム化し、これらを前記各ステップを直接実行するデバイス固有情報生成出力装置10のMPU11に実行させるようにしてもよい。本プログラムは、非一時的な記録媒体、例えば、DVD、CD、フラッシュメモリ等に記録されてもよい。その場合、本プログラムは、記録媒体からコンピュータによって読み出され、実行される。
 この動作により、本実施形態は以下のような効果を奏する。
Here, each of the above-described operation steps may be programmed to be executable by a computer, and may be executed by the MPU 11 of the device specific information generation / output device 10 that directly executes each of the steps. The program may be recorded on a non-temporary recording medium, such as a DVD, a CD, or a flash memory. In this case, the program is read from the recording medium by a computer and executed.
By this operation, this embodiment has the following effects.

 本実施形態は、まず第1の時刻において物理特性の順位に基づいて選択されたM個の回路から第1の固有情報を生成し、第1の時刻より後の第2の時刻において物理特性の順位に基づいて選択されたN個の回路の中から任意のM個を選択して第2の固有情報を生成し、この第1および第2の固有情報が一致するか否かを判断するように構成している。 In the present embodiment, first unique information is first generated from M circuits selected based on the order of physical characteristics at a first time, and the physical characteristics at a second time after the first time. Arbitrary M circuits are selected from the N circuits selected based on the rank to generate second unique information, and it is determined whether or not the first and second unique information match. It is configured.

 このことによって、N個の中から任意のM個を選択する際の試行数が少なくなるよう、即ちチャージ後にビットが反転した素子の数が予め与えられた範囲になるよう、リフレッシュ停止時間を制御することができる。即ち、過大な数を試行しなくても、固有情報の生成を成功させることができるようになり、前述した各々の問題を解決することができる。 As a result, the refresh stop time is controlled so that the number of trials when selecting an arbitrary M out of N is reduced, that is, the number of elements whose bits are inverted after charging is within a predetermined range. can do. In other words, the unique information can be successfully generated without trying an excessive number, and the above-described problems can be solved.

(第2の実施形態)
 本発明の第2の実施形態は、第1の実施形態として説明した構成に加えて、登録回路推定部423が、第1の固有情報のハッシュ値を不揮発性メモリ13に記憶するハッシュ関数出力機能423aを備えると共に、第2の固有情報のハッシュ値と第1の固有情報のハッシュ値とが一致するか否かによって第1および第2の固有情報が一致するか否かを判断する構成とした。
(Second Embodiment)
In the second embodiment of the present invention, in addition to the configuration described as the first embodiment, the registration circuit estimation unit 423 stores the hash value of the first unique information in the nonvolatile memory 13. 423a and determining whether or not the first and second unique information match depending on whether or not the hash value of the second unique information matches the hash value of the first unique information .

 この構成によっても、第1の実施形態で説明した効果と同一の効果が得られることに加えて、第1および第2の固有情報を上位装置に転送しなくても、装置内部のみで固有情報の生成に係る処理を行えるようになる。
 以下、これをより詳細に説明する。
With this configuration, in addition to obtaining the same effect as that described in the first embodiment, the unique information can be obtained only within the device without transferring the first and second unique information to the host device. It becomes possible to perform processing related to generation of.
Hereinafter, this will be described in more detail.

 図6は、本発明の第2の実施形態に係る端末機器310の構成について示す説明図である。この端末機器310は、図2に示した第1の実施形態に係る端末機器10とほぼ同一の構成を備えるが、物理情報マッピング手段120が別の物理情報マッピング手段420に置換されている。 FIG. 6 is an explanatory diagram showing the configuration of the terminal device 310 according to the second embodiment of the present invention. The terminal device 310 has substantially the same configuration as the terminal device 10 according to the first embodiment shown in FIG. 2, but the physical information mapping unit 120 is replaced with another physical information mapping unit 420.

 図7は、図6に示した物理情報マッピング手段420のより詳しい構成について示す説明図である。物理情報マッピング手段420は、図1に示した第1の実施形態に係る物理情報マッピング手段120の構成と比べて、登録回路推定部123が別の登録回路推定部423に置換され、また、不揮発性メモリ13に新たにハッシュ値426が記憶される以外は、第1の実施形態に係る物理情報マッピング手段120と全く同じ構成を備えている。従って、第1の実施形態と同一の要素については、同一の呼称と参照番号でいう。 FIG. 7 is an explanatory diagram showing a more detailed configuration of the physical information mapping means 420 shown in FIG. Compared with the configuration of the physical information mapping unit 120 according to the first embodiment illustrated in FIG. 1, the physical information mapping unit 420 is configured such that the registered circuit estimation unit 123 is replaced with another registered circuit estimation unit 423, and is non-volatile. The physical information mapping unit 120 according to the first embodiment has the same configuration except that the hash value 426 is newly stored in the volatile memory 13. Therefore, the same elements as those in the first embodiment are referred to by the same names and reference numbers.

 登録回路推定部423は、ハッシュ関数出力機能423aを備える。このハッシュ関数出力機能423aによって、生成された固有情報のハッシュ値426を算出して、これを不揮発性メモリ13上に記憶する。 The registered circuit estimation unit 423 includes a hash function output function 423a. A hash value 426 of the generated unique information is calculated by the hash function output function 423a and stored in the nonvolatile memory 13.

 ここで、ハッシュ関数出力機能423aとして利用可能なハッシュ関数としては、たとえばSHA-1(Secure Hash Algorithm 1)などの暗号学的ハッシュ関数や、ブロック暗号を利用した方式のハッシュ関数が、情報の損失を抑える意味では望ましい。しかしながら、実装容易性の観点からいえば、より簡易な処理であるチェックサムやCRC(Cyclic Redundancy Check、巡回冗長検査)符号などを利用することも可能である。 Here, as a hash function usable as the hash function output function 423a, for example, a cryptographic hash function such as SHA-1 (Secure-1Hash Algorithm 1) or a hash function using a block cipher is used. It is desirable to suppress However, from the viewpoint of ease of mounting, it is also possible to use a checksum or a CRC (Cyclic Redundancy Check) code that is a simpler process.

 このようなハッシュ関数を利用した場合では、登録フェーズの回路を1個に特定するためには、ハッシュ値の長さを固有情報の候補の数以上に設定することが適切である。候補の総数を2^20までに設定した場合、ハッシュ値も20ビット以上にする必要がある。チェックサムやCRC符号などを利用する場合には、ハッシュ値の大きさだけ固有情報が漏洩しやすいことになるため、なるべく小さく設定することが望ましい。 When such a hash function is used, in order to specify one circuit in the registration phase, it is appropriate to set the length of the hash value to be equal to or greater than the number of unique information candidates. If the total number of candidates is set to 2 ^ 20, the hash value must also be 20 bits or more. When using a checksum, CRC code, etc., unique information is likely to leak by the size of the hash value, so it is desirable to set it as small as possible.

 図8は、図6~7に示した端末機器310(デバイス固有情報生成出力装置)の、登録フェーズに係る動作について示すフローチャートである。ここでも、図3に示した端末機器10と同一の動作については、同一の参照番号でいう。図8に示した動作は、固有情報を決定するステップS203まで、図3に示した動作と同一であるが、その後にハッシュ関数出力機能423aが、決定された固有情報のハッシュ値を算出して記憶する(ステップS504)動作を行って登録フェーズを終了する。 FIG. 8 is a flowchart showing an operation related to the registration phase of the terminal device 310 (device specific information generation / output device) shown in FIGS. Again, the same operations as those of the terminal device 10 shown in FIG. The operation shown in FIG. 8 is the same as the operation shown in FIG. 3 until step S203 for determining the unique information. Thereafter, the hash function output function 423a calculates the hash value of the determined unique information. The operation of storing (step S504) is performed to complete the registration phase.

 図9は、図6~7に示した端末機器310(デバイス固有情報生成出力装置)の、利用フェーズに係る動作について示すフローチャートである。これも、図4に示した端末機器10と同一の動作については、同一の参照番号でいう。図9に示した動作は、登録グループ情報125の中に存在するか否かを判断するステップS253まで、図4に示した動作と同一である。 FIG. 9 is a flowchart showing an operation related to the use phase of the terminal device 310 (device specific information generation / output device) shown in FIGS. Again, the same operations as those of the terminal device 10 shown in FIG. The operation shown in FIG. 9 is the same as the operation shown in FIG. 4 until step S253 for determining whether or not the registration group information 125 exists.

 ステップS253で対応する登録フェーズのグループが存在する場合にはハッシュ関数出力機能423aが、その固有情報の候補のハッシュ値を生成して(ステップS554)、これがハッシュ値426として不揮発性メモリ13に記憶されているハッシュ値と一致するか否かを判断し(ステップS555)、一致すれば正常終了、一致しなければ他の回路を用いてステップS253から処理を繰り返す。これ以外の各ステップは全て、図4に示した動作と同一である。 If there is a corresponding registration phase group in step S253, the hash function output function 423a generates a hash value of the candidate for the specific information (step S554), and this is stored in the nonvolatile memory 13 as the hash value 426. It is determined whether or not it matches the hash value that has been set (step S555). If it matches, the process ends normally, and if it does not match, the process is repeated from step S253 using another circuit. All other steps are the same as those shown in FIG.

 このように、ハッシュ関数出力機能423aによって固有情報のハッシュ値426を不揮発性メモリ13に記憶しておくことによって、ホストコンピュータ20に対して認証の動作を行わなくても、端末機器310単体で固有情報の生成が成功したか否かを判断することができるようになる。 As described above, by storing the hash value 426 of the unique information in the nonvolatile memory 13 by the hash function output function 423a, the uniqueness of the terminal device 310 is unique even if the host computer 20 is not authenticated. It becomes possible to determine whether or not the information generation is successful.

(第3の実施形態)
 本発明の第3の実施形態は、第1の実施形態として説明した構成に加えて、登録回路推定部723が、第1の固有情報のシンドロームを不揮発性メモリに記憶するシンドローム生成機能723aと、第2の固有情報を第1の固有情報のシンドロームによって復号化する復号機能723bとを備えると共に、復号機能によって第2の固有情報が正常に復号化できたか否かによって第1および第2の固有情報が一致するか否かを判断する構成とした。また、この復号機能723bは、第1および第2の固有情報が一致する前記N個の回路の中からM個の回路を選択する組み合わせが存在しない場合に、消失エラーとして第2の固有情報を復号化する。
(Third embodiment)
In the third embodiment of the present invention, in addition to the configuration described as the first embodiment, the registered circuit estimation unit 723 includes a syndrome generation function 723a that stores a syndrome of the first unique information in a nonvolatile memory, A decoding function 723b that decodes the second unique information by using the syndrome of the first unique information, and the first and second unique information depending on whether or not the second unique information has been successfully decoded by the decoding function. It is configured to determine whether the information matches. In addition, the decoding function 723b uses the second specific information as an erasure error when there is no combination for selecting M circuits from the N circuits whose first and second specific information match. Decrypt.

 この構成によっても、第1の実施形態で説明した効果と同一の効果が得られることに加えて、第1および第2の固有情報を上位装置に転送しなくても、装置内部のみで固有情報の生成に係る処理を、第2の実施形態よりもさらに迅速かつ高い信頼性で行えるようになる。
 以下、これをより詳細に説明する。
With this configuration, in addition to obtaining the same effect as that described in the first embodiment, the unique information can be obtained only within the device without transferring the first and second unique information to the host device. The processing relating to the generation of can be performed more quickly and with higher reliability than in the second embodiment.
Hereinafter, this will be described in more detail.

 図10は、本発明の第3の実施形態に係る端末機器610の構成について示す説明図である。この端末機器610は、図2に示した第1の実施形態に係る端末機器10とほぼ同一の構成を備えるが、物理情報マッピング手段120が別の物理情報マッピング手段720に置換されている。 FIG. 10 is an explanatory diagram showing the configuration of the terminal device 610 according to the third embodiment of the present invention. The terminal device 610 has substantially the same configuration as the terminal device 10 according to the first embodiment shown in FIG. 2, but the physical information mapping unit 120 is replaced with another physical information mapping unit 720.

 図11は、図10に示した物理情報マッピング手段720のより詳しい構成について示す説明図である。物理情報マッピング手段720は、図1に示した第1の実施形態に係る物理情報マッピング手段120の構成と比べて、登録回路推定部123が別の登録回路推定部723に置換され、また、不揮発性メモリ13に新たシンドローム726が記憶される以外は、第1の実施形態に係る物理情報マッピング手段120と全く同じ構成を備えている。従って、第1の実施形態と同一の要素については、同一の呼称と参照番号でいう。 FIG. 11 is an explanatory diagram showing a more detailed configuration of the physical information mapping means 720 shown in FIG. Compared with the configuration of the physical information mapping unit 120 according to the first embodiment illustrated in FIG. 1, the physical information mapping unit 720 is configured such that the registered circuit estimation unit 123 is replaced with another registered circuit estimation unit 723, and is non-volatile. Except that a new syndrome 726 is stored in the volatile memory 13, it has the same configuration as the physical information mapping unit 120 according to the first embodiment. Therefore, the same elements as those in the first embodiment are referred to by the same names and reference numbers.

 登録回路推定部723は、シンドローム生成機能723aと、復号機能723bとを備える。シンドローム生成機能723aは、生成された固有情報のシンドロームを算出して、これを不揮発性メモリ13上にシンドローム726として記憶する。復号機能723bは、このシンドローム726を用いて、固有情報の候補のハッシュ値を復号する処理を行う。 The registered circuit estimation unit 723 includes a syndrome generation function 723a and a decoding function 723b. The syndrome generation function 723 a calculates a syndrome of the generated unique information and stores it as a syndrome 726 on the nonvolatile memory 13. Using the syndrome 726, the decryption function 723b performs a process of decrypting the hash value of the unique information candidate.

 ここでいうシンドロームとは、誤り訂正符号のパリティ検査行列に受信した系列(ベクトル)を乗じた値である。ここで、誤り訂正符号としては、固有情報の単位となるグループ内インデックスのサイズのシンボルで構成される符号が利用可能である。登録フェーズでM個の回路を選択する場合、シンドローム生成においてはMシンボルの符号長を持つ誤り訂正符号が適用される。 The syndrome here is a value obtained by multiplying the parity check matrix of the error correction code by the received sequence (vector). Here, as the error correction code, a code composed of symbols having the size of the intra-group index serving as a unit of unique information can be used. When M circuits are selected in the registration phase, an error correction code having a code length of M symbols is applied in syndrome generation.

 図12は、図10~11に示した端末機器610(デバイス固有情報生成出力装置)の、登録フェーズに係る動作について示すフローチャートである。ここでも、図3に示した端末機器10と同一の動作については、同一の参照番号でいう。図12に示した動作は、固有情報を決定するステップS203まで、図3に示した動作と同一であるが、その後にシンドローム生成機能723aが、決定された固有情報のシンドロームを算出して記憶する(ステップS804)動作を行って登録フェーズを終了する。 FIG. 12 is a flowchart showing an operation related to the registration phase of the terminal device 610 (device specific information generation / output device) shown in FIGS. Again, the same operations as those of the terminal device 10 shown in FIG. The operation shown in FIG. 12 is the same as the operation shown in FIG. 3 until step S203 for determining the unique information. Thereafter, the syndrome generation function 723a calculates and stores the syndrome of the determined unique information. (Step S804) An operation is performed to end the registration phase.

 図13は、図10~11に示した端末機器610(デバイス固有情報生成出力装置)の、利用フェーズに係る動作について示すフローチャートである。これも、図4に示した端末機器10と同一の動作については、同一の参照番号でいう。図9に示した動作は、登録グループ情報125の中に存在するか否かを判断するステップS253まで、図4に示した動作と同一である。 FIG. 13 is a flowchart showing an operation related to the use phase of the terminal device 610 (device specific information generation / output device) shown in FIGS. Again, the same operations as those of the terminal device 10 shown in FIG. The operation shown in FIG. 9 is the same as the operation shown in FIG. 4 until step S253 for determining whether or not the registration group information 125 exists.

 ステップS253で対応する登録フェーズのグループが存在する場合には復号機能723bが、その固有情報の候補をシンドローム726によって復号化して(ステップS854)、正常に復号化できたか否かを判断し(ステップS855)、復号化できれば正常終了、復号化できなければ他の回路を用いてステップS253から処理を繰り返す。これ以外の各ステップは全て、図4に示した動作と同一である。 If there is a corresponding registration phase group in step S253, the decoding function 723b decodes the unique information candidate by using the syndrome 726 (step S854), and determines whether or not the unique information candidate has been successfully decoded (step S854). S855) If the decoding is successful, the process ends normally. If the decoding is not possible, the process is repeated from step S253 using another circuit. All other steps are the same as those shown in FIG.

 より詳細な計算例を示す。第1の実施形態の詳細な計算例として示したDRAM素子の例を本実施形態に係る端末機器610に適用した場合を考える。この場合では、回路あたり下位8ビットを固有情報とするため、8ビット1シンボル、即ちガロア体GF(2^8)上のリード・ソロモン符号を適用することが適切となる。 A more detailed calculation example is shown. Consider a case where the example of the DRAM element shown as a detailed calculation example of the first embodiment is applied to the terminal device 610 according to the present embodiment. In this case, since the lower 8 bits per circuit are used as unique information, it is appropriate to apply a Reed-Solomon code on an 8-bit 1 symbol, that is, a Galois field GF (2 ^ 8).

 登録フェーズにおけるM個の反転ビットのインデックスの後半下位8ビットをD1,…,D8としてこれらをGF(2^8)の元とみなす。GF(2^8)の原始元をαで表すと、1シンボル訂正のリード・ソロモン符号を適用する場合、シンドローム生成機能723aが算出するD1,…,D8に対するシンドロームS=(S1,S2)は、以下の数1で表すことができる。ここで、加算+、および乗算・は、GF(2^8)の演算である。 The lower 8 bits of the latter half of the index of M inverted bits in the registration phase are D1,..., D8 and these are regarded as elements of GF (2 ^ 8). When the primitive element of GF (2 ^ 8) is expressed by α, when applying a Reed-Solomon code with one symbol correction, the syndrome S = (S1, S2) for D1,..., D8 calculated by the syndrome generation function 723a is The following equation 1 can be used. Here, addition + and multiplication • are operations of GF (2 ^ 8).

Figure JPOXMLDOC01-appb-M000001
Figure JPOXMLDOC01-appb-M000001

 そして、利用フェーズにおいて得られた登録グループ対応反転ビットのインデックスの後半をB1,…,B8とする。復号機能723bは、以下の数2で、シンドロームS’=(S1’,S2’)を計算する。 Then, let B1,..., B8 be the second half of the index of the registered group corresponding inverted bits obtained in the use phase. The decoding function 723b calculates the syndrome S '= (S1', S2 ') by the following equation 2.

Figure JPOXMLDOC01-appb-M000002
Figure JPOXMLDOC01-appb-M000002

 S’’=S+S’=(S1+S1’,S2+S2’)をシンドロームとして通常のリード・ソロモン符号の復号処理を実施することでエラーベクトルJ=(J1,…,J8)を求めることができる。正しく復号できる場合には、訂正箇所以外のシンボルは0となる。このとき、B1+J1,…,B8+J8が登録フェーズでの固有情報として推定される。 An error vector J = (J1,..., J8) can be obtained by performing a normal Reed-Solomon code decoding process using S ″ = S + S ′ = (S1 + S1 ′, S2 + S2 ′) as a syndrome. If correct decoding is possible, symbols other than the corrected portion are 0. At this time, B1 + J1,..., B8 + J8 are estimated as unique information in the registration phase.

 対応する反転ビットが存在しないグループiのBiは消失エラーとして復号処理を適用することができる。エラーが発生していない場合であればこの符号を用いることで消失エラーが2個まで、つまり対応する反転ビットが存在しないグループが2個までであれば、候補の総当たりをすることなく、登録フェーズの固有情報を生成することが可能である。 Decoding processing can be applied to Bi in group i for which there is no corresponding inversion bit as an erasure error. If no error has occurred, use this code to register up to 2 erasure errors, that is, up to 2 groups with no corresponding inversion bit, without registering all the candidates. It is possible to generate phase specific information.

 このように、シンドローム生成機能723aおよび復号機能723bによって固有情報のシンドローム726を不揮発性メモリ13に記憶し、これを利用することによって、ホストコンピュータ20に対して認証の動作を行わず、さらに固有情報の候補の全数に対して復号化を試行しなくても、固有情報の生成が成功したか否かを判断することができるようになる。即ち、これによって端末機器610の信頼性が向上し、また固有情報の生成に係る処理をより迅速に行えるようになる。なお、ここでシンドロームではなく、符号化処理を実行してパリティを計算して格納するようにしてもよい。 As described above, the syndrome 726 of the unique information is stored in the nonvolatile memory 13 by the syndrome generation function 723a and the decryption function 723b, and by using this, the authentication operation for the host computer 20 is not performed, and further the unique information is stored. Thus, it is possible to determine whether or not the generation of the unique information has succeeded without trying to decode all the candidates. In other words, this improves the reliability of the terminal device 610 and allows the processing related to generation of the unique information to be performed more quickly. Here, instead of the syndrome, the encoding process may be executed to calculate and store the parity.

(実施形態の拡張)
 上記の第1~3の実施形態は、それらの趣旨を改変しない範囲で様々な拡張が可能である。以下、その拡張について説明する。
(Extended embodiment)
The first to third embodiments described above can be extended in various ways without changing their gist. The expansion will be described below.

 前述の実施形態では、デバイス物理情報生成手段110がDRAM素子である場合について説明したが、これをリングオッシレータなどの発振回路に置換することもできる。その場合は、当該回路の発振周波数や遅延特性を検出対象の物理的特性として、上位回路検出部121はその発振周波数もしくは遅延特性に基づいて当該回路の上位および下位を決定することができる。 In the above-described embodiment, the case where the device physical information generation unit 110 is a DRAM element has been described. However, this can be replaced with an oscillation circuit such as a ring oscillator. In that case, the upper circuit detection unit 121 can determine the upper and lower levels of the circuit based on the oscillation frequency or the delay characteristics, using the oscillation frequency and delay characteristics of the circuit as the physical characteristics to be detected.

 また、図4などに示した利用フェーズで、登録回路推定部123は登録フェーズの各グループに対応する上位の回路のみを選択するようにしてもよい。このようにすれば、登録フェーズで選択される上位回路数Nを大きくしても、登録回路の候補数を小さく抑えることができる。 Also, in the usage phase shown in FIG. 4 and the like, the registered circuit estimation unit 123 may select only the upper circuit corresponding to each group in the registration phase. In this way, even if the upper circuit number N selected in the registration phase is increased, the number of registered circuit candidates can be reduced.

 これまで本発明について図面に示した特定の実施形態をもって説明してきたが、本発明は図面に示した実施形態に限定されるものではなく、本発明の効果を奏する限り、これまで知られたいかなる構成であっても採用することができる。 The present invention has been described with reference to the specific embodiments shown in the drawings. However, the present invention is not limited to the embodiments shown in the drawings, and any known hitherto provided that the effects of the present invention are achieved. Even if it is a structure, it is employable.

 上述した実施形態について、その新規な技術内容の要点をまとめると、以下のようになる。なお、上記実施形態の一部または全部は、新規な技術として以下のようにまとめられるが、本発明は必ずしもこれに限定されるものではない。 The summary of the new technical contents of the above-described embodiment is summarized as follows. In addition, although part or all of the said embodiment is summarized as follows as a novel technique, this invention is not necessarily limited to this.

(付記1) 複数の回路を含む電子デバイスから、当該電子デバイスの認証に係る固有情報を検出してこれを出力するデバイス固有情報生成出力装置であって、
 前記固有情報の検出対象となる前記複数の回路を含むデバイス物理情報生成手段と、
 前記デバイス物理情報生成手段から前記各回路の物理特性を検出する上位回路検出部と、
 第1の時刻において検出された前記物理特性の数値の順位に基づいてM個(Mは2以上の整数)の回路を選択してグループを作成してこのグループについての情報を予め備えられた不揮発性メモリに記憶するグループ検出部と、
 前記M個の回路についての前記物理特性から第1の固有情報を生成して出力する登録回路推定部を有すると共に、
 前記グループ検出部が、前記第1の時刻より後の第2の時刻において検出された前記物理特性の数値の順位に基づいて、前記Mよりも多いN個の回路を選択する機能を備え、
 前記登録回路推定部が、前記N個の回路の中から任意のM個の回路を選択してこの選択されたM個の回路についての前記物理特性から第2の固有情報を生成し、前記第1および第2の固有情報が一致すればこの固有情報を出力する機能を備えることを特徴とするデバイス固有情報生成出力装置。
(Appendix 1) A device-specific information generation / output device that detects specific information related to authentication of an electronic device from an electronic device including a plurality of circuits and outputs the specific information.
Device physical information generation means including the plurality of circuits to be detected by the unique information;
An upper circuit detection unit for detecting physical characteristics of each circuit from the device physical information generation unit;
Based on the order of the numerical values of the physical characteristics detected at the first time, M (M is an integer of 2 or more) circuits are selected to create a group, and information about this group is provided in advance. A group detection unit stored in the memory,
A registration circuit estimation unit that generates and outputs first unique information from the physical characteristics of the M circuits;
The group detection unit has a function of selecting N circuits more than the M based on the numerical order of the physical characteristics detected at a second time after the first time,
The registered circuit estimation unit selects any M circuits from the N circuits, generates second unique information from the physical characteristics of the selected M circuits, and A device specific information generating / outputting device comprising a function of outputting the specific information when the first and second specific information match.

(付記2) 前記デバイス物理情報生成手段が複数個の素子によって構成されたダイナミックRAMであり、
 前記上位回路検出部が前記各素子のチャージ後にビットが反転するまでの時間を前記物理特性として検出する機能を備えることを特徴とする、付記1に記載のデバイス固有情報生成出力装置。
(Supplementary Note 2) The device physical information generation means is a dynamic RAM configured by a plurality of elements,
2. The device specific information generation / output device according to appendix 1, wherein the upper circuit detection unit has a function of detecting, as the physical characteristic, a time until a bit is inverted after each element is charged.

(付記3) 前記上位回路検出部が、チャージ後にビットが反転した前記素子の数が予め与えられた範囲になるようリフレッシュ停止時間を制御するリフレッシュ制御機能を備えることを特徴とする、付記2に記載のデバイス固有情報生成出力装置。 (Supplementary note 3) The supplementary note 2 is characterized in that the high-order circuit detection unit has a refresh control function for controlling a refresh stop time so that the number of the elements whose bits are inverted after charging is in a predetermined range. The device specific information generation / output device described.

(付記4) 前記デバイス物理情報生成手段が複数個の発振回路であり、
 前記上位回路検出部が前記各発振回路の発振周波数を前記物理特性として検出する機能を備えることを特徴とする、付記1に記載のデバイス固有情報生成出力装置。
(Appendix 4) The device physical information generating means is a plurality of oscillation circuits,
The device specific information generation / output device according to appendix 1, wherein the upper circuit detection unit has a function of detecting an oscillation frequency of each of the oscillation circuits as the physical characteristic.

(付記5) 前記登録回路推定部が、前記第1および第2の固有情報を上位装置に転送して認証を行い、この認証が成功するか否かによって前記第1および第2の固有情報が一致するか否かを判断する機能を備えることを特徴とする、付記1に記載のデバイス固有情報生成出力装置。 (Additional remark 5) The said registration circuit estimation part transfers the said 1st and 2nd specific information to a high-order apparatus, performs authentication, and the said 1st and 2nd specific information depends on whether this authentication is successful. The device specific information generating / outputting device according to appendix 1, further comprising a function of determining whether or not they match.

(付記6) 前記登録回路推定部が、前記第1の固有情報のハッシュ値を前記不揮発性メモリに記憶するハッシュ関数出力機能を備えると共に、前記第2の固有情報のハッシュ値と前記第1の固有情報のハッシュ値とが一致するか否かによって前記第1および第2の固有情報が一致するか否かを判断する機能を備えることを特徴とする、付記1に記載のデバイス固有情報生成出力装置。 (Additional remark 6) The said registration circuit estimation part is provided with the hash function output function which memorize | stores the hash value of said 1st specific information in the said non-volatile memory, and the hash value of said 2nd specific information and said 1st The device unique information generation output according to appendix 1, further comprising a function of determining whether or not the first and second unique information match depending on whether or not the hash value of the unique information matches. apparatus.

(付記7) 前記登録回路推定部が、前記第1の固有情報のシンドロームを前記不揮発性メモリに記憶するシンドローム生成機能と、前記第2の固有情報を前記第1の固有情報のシンドロームによって復号化する復号機能とを備えると共に、前記復号機能によって前記第2の固有情報が正常に復号化できたか否かによって前記第1および第2の固有情報が一致するか否かを判断する機能を備えることを特徴とする、付記1に記載のデバイス固有情報生成出力装置。 (Additional remark 7) The said registration circuit estimation part decodes the said 2nd specific information by the syndrome of the 1st specific information, and the syndrome production | generation function which memorize | stores the syndrome of the said 1st specific information in the said non-volatile memory And a function for determining whether or not the first and second unique information match depending on whether or not the second unique information has been successfully decrypted by the decoding function. The device-specific information generating / outputting device according to appendix 1, characterized by:

(付記8) 前記シンドローム生成機能が、リード・ソロモン符号を利用して前記第1の固有情報のシンドロームを生成することを特徴とする、付記7に記載のデバイス固有情報生成出力装置。 (Supplementary note 8) The device specific information generation / output device according to supplementary note 7, wherein the syndrome generation function generates a syndrome of the first specific information using a Reed-Solomon code.

(付記9) 前記復号機能が、前記第1および第2の固有情報が一致する前記N個の回路の中からM個の回路を選択する組み合わせが存在しない場合に、消失エラーとして前記第2の固有情報を復号化することを特徴とする、付記7に記載のデバイス固有情報生成出力装置。 (Supplementary note 9) When there is no combination in which the decoding function selects M circuits from among the N circuits in which the first and second unique information match, the second error as the erasure error The device specific information generation / output apparatus according to appendix 7, wherein the device specific information is decoded.

(付記10) 複数の回路を含む電子デバイスから、当該電子デバイスの認証に係る固有情報を検出してこれを出力するデバイス固有情報生成出力装置にあって、
 第1の時刻において前記固有情報の検出対象となる前記複数の回路を含むデバイス物理情報生成手段から前記各回路の物理特性を上位回路検出部が検出し、
 検出された前記物理特性の数値の順位に基づいてグループ検出部がM個(Mは2以上の整数)の回路を選択してグループを作成し、
 このグループについての情報を前記グループ検出部が予め備えられた不揮発性メモリに記憶し、
 前記M個の回路についての前記物理特性から登録回路推定部が第1の固有情報を生成し、
 前記第1の時刻より後の第2の時刻において前記デバイス物理情報生成手段から前記各回路の物理特性を前記上位回路検出部が検出し、
 前記第2の時刻において検出された前記物理特性の数値の順位に基づいて、前記グループ検出部が前記Mよりも多いN個の回路を選択し、
 前記N個の回路の中から任意のM個の回路を前記登録回路推定部が選択し、
 この選択されたM個の回路についての前記物理特性から前記登録回路推定部が第2の固有情報を生成し、
 前記第1および第2の固有情報が一致すれば前記登録回路推定部がこの固有情報を出力することを特徴とするデバイス固有情報生成方法。
(Additional remark 10) In the device specific information production | generation output device which detects the specific information which concerns on the authentication of the said electronic device from the electronic device containing a some circuit, and outputs this,
The upper circuit detection unit detects the physical characteristics of each circuit from the device physical information generation unit including the plurality of circuits to be detected for the specific information at the first time,
The group detection unit selects M circuits (M is an integer of 2 or more) based on the detected numerical order of the physical characteristics to create a group,
Information about this group is stored in a nonvolatile memory provided in advance by the group detection unit,
A registered circuit estimation unit generates first unique information from the physical characteristics of the M circuits,
The upper circuit detection unit detects the physical characteristics of each circuit from the device physical information generation means at a second time after the first time,
Based on the numerical order of the physical characteristics detected at the second time, the group detection unit selects N circuits more than the M,
The registered circuit estimation unit selects any M circuits from the N circuits,
The registered circuit estimation unit generates second specific information from the physical characteristics of the selected M circuits,
If the first and second unique information matches, the registered circuit estimation unit outputs the unique information.

(付記11) 複数の回路を含む電子デバイスから、当該電子デバイスの認証に係る固有情報を検出してこれを出力するデバイス固有情報生成出力装置にあって、
 前記デバイス固有情報生成出力装置の備えるコンピュータに、
 第1の時刻において前記固有情報の検出対象となる前記複数の回路を含むデバイス物理情報生成手段から前記各回路の物理特性を検出する手順、
 検出された前記物理特性の数値の順位に基づいてM個(Mは2以上の整数)の回路を選択してグループを作成する手順、
 このグループについての情報を予め備えられた不揮発性メモリに記憶する手順、
 前記M個の回路についての前記物理特性から第1の固有情報を生成する手順、
 前記第1の時刻より後の第2の時刻において前記デバイス物理情報生成手段から前記各回路の物理特性を検出する手順、
 前記第2の時刻において検出された前記物理特性の数値の順位に基づいて前記Mよりも多いN個の回路を選択する手順、
 前記N個の回路の中から任意のM個の回路を選択する手順、
 この選択されたM個の回路についての前記物理特性から第2の固有情報を生成する手順、
 および前記第1および第2の固有情報が一致すればこの固有情報を出力する手順、
を実行させることを特徴とするデバイス固有情報生成プログラム。
(Additional remark 11) In the device specific information production | generation output device which detects the specific information which concerns on the authentication of the said electronic device from the electronic device containing a some circuit, and outputs this,
A computer included in the device specific information generation / output device,
A procedure for detecting physical characteristics of each circuit from a device physical information generating unit including the plurality of circuits to be detected for the specific information at a first time;
A procedure for creating a group by selecting M (M is an integer of 2 or more) circuits based on the order of the numerical values of the detected physical characteristics,
A procedure for storing information about this group in a non-volatile memory provided in advance;
Generating first unique information from the physical characteristics of the M circuits;
A procedure for detecting a physical characteristic of each circuit from the device physical information generating means at a second time after the first time;
Selecting N circuits greater than M based on the numerical order of the physical characteristics detected at the second time;
A procedure for selecting any M circuits from the N circuits;
Generating second specific information from the physical characteristics of the selected M circuits;
And a procedure for outputting the unique information if the first and second unique information match,
A device-specific information generation program characterized in that

 この出願は2011年12月1日に出願された日本出願特願2011-263432を基礎とする優先権を主張し、その開示の全てをここに取り込む。 This application claims priority based on Japanese Patent Application No. 2011-263432 filed on Dec. 1, 2011, the entire disclosure of which is incorporated herein.

 本発明は、電子機器、特に情報機器において、機器認証や秘密情報の保持といった情報セキュリティの強化に利用することができる。 The present invention can be used to enhance information security such as device authentication and retention of confidential information in electronic devices, particularly information devices.

  10、310、610 端末機器
  11 MPU
  12 揮発性メモリ
  13 不揮発性メモリ
  14 インタフェース
  20 ホストコンピュータ
  110 デバイス物理情報生成手段
  110a、b、c、… DRAM素子
  120、420、720 物理情報マッピング手段
  121 上位回路検出部
  121a R/Wコントローラ
  121b リフレッシュ制御機能
  122 グループ検出部
  123、423、723 登録回路推定部
  124 上位回路情報
  125 登録グループ情報
  423a ハッシュ関数出力機能
  426 ハッシュ値
  723a シンドローム生成機能
  723b 復号機能
  726 シンドローム
10, 310, 610 Terminal equipment 11 MPU
DESCRIPTION OF SYMBOLS 12 Volatile memory 13 Non-volatile memory 14 Interface 20 Host computer 110 Device physical information production | generation means 110a, b, c, ... DRAM element 120, 420, 720 Physical information mapping means 121 Upper circuit detection part 121a R / W controller 121b Refresh control Function 122 Group detection unit 123, 423, 723 Registered circuit estimation unit 124 Upper circuit information 125 Registered group information 423a Hash function output function 426 Hash value 723a Syndrome generation function 723b Decode function 726 Syndrome

Claims (10)

 複数の回路を含む電子デバイスから、当該電子デバイスの認証に係る固有情報を検出してこれを出力するデバイス固有情報生成出力装置であって、
 前記固有情報の検出対象となる前記複数の回路を含むデバイス物理情報生成手段と、
 前記デバイス物理情報生成手段から前記各回路の物理特性を検出する上位回路検出部と、
 第1の時刻において検出された前記物理特性の数値の順位に基づいてM個(Mは2以上の整数)の回路を選択してグループを作成してこのグループについての情報を予め備えられた不揮発性メモリに記憶するグループ検出部と、
 前記M個の回路についての前記物理特性から第1の固有情報を生成して出力する登録回路推定部を有すると共に、
 前記グループ検出部が、前記第1の時刻より後の第2の時刻において検出された前記物理特性の数値の順位に基づいて、前記Mよりも多いN個の回路を選択する機能を備え、
 前記登録回路推定部が、前記N個の回路の中から任意のM個の回路を選択してこの選択されたM個の回路についての前記物理特性から第2の固有情報を生成し、前記第1および第2の固有情報が一致すればこの固有情報を出力する機能を備えることを特徴とするデバイス固有情報生成出力装置。
A device-specific information generating / outputting device that detects and outputs unique information related to authentication of the electronic device from an electronic device including a plurality of circuits,
Device physical information generation means including the plurality of circuits to be detected by the unique information;
An upper circuit detection unit for detecting physical characteristics of each circuit from the device physical information generation unit;
Based on the order of the numerical values of the physical characteristics detected at the first time, M (M is an integer of 2 or more) circuits are selected to create a group, and information about this group is provided in advance. A group detection unit stored in the memory,
A registration circuit estimation unit that generates and outputs first unique information from the physical characteristics of the M circuits;
The group detection unit has a function of selecting N circuits more than the M based on the numerical order of the physical characteristics detected at a second time after the first time,
The registered circuit estimation unit selects any M circuits from the N circuits, generates second unique information from the physical characteristics of the selected M circuits, and A device specific information generating / outputting device comprising a function of outputting the specific information when the first and second specific information match.
 前記デバイス物理情報生成手段が複数個の素子によって構成されたダイナミックRAMであり、
 前記上位回路検出部が前記各素子のチャージ後にビットが反転するまでの時間を前記物理特性として検出する機能を備えることを特徴とする、請求項1に記載のデバイス固有情報生成出力装置。
The device physical information generating means is a dynamic RAM configured by a plurality of elements;
2. The device specific information generation / output device according to claim 1, wherein the upper circuit detection unit has a function of detecting, as the physical characteristic, a time until a bit is inverted after each element is charged.
 前記上位回路検出部が、チャージ後にビットが反転した前記素子の数が予め与えられた範囲になるようリフレッシュ停止時間を制御するリフレッシュ制御機能を備えることを特徴とする、請求項2に記載のデバイス固有情報生成出力装置。 3. The device according to claim 2, wherein the upper circuit detection unit includes a refresh control function for controlling a refresh stop time so that the number of the elements whose bits are inverted after charging is in a predetermined range. Specific information generation output device.  前記デバイス物理情報生成手段が複数個の発振回路であり、
 前記上位回路検出部が前記各発振回路の発振周波数を前記物理特性として検出する機能を備えることを特徴とする、請求項1に記載のデバイス固有情報生成出力装置。
The device physical information generating means is a plurality of oscillation circuits,
The device specific information generation / output device according to claim 1, wherein the upper circuit detection unit has a function of detecting an oscillation frequency of each of the oscillation circuits as the physical characteristic.
 前記登録回路推定部が、前記第1および第2の固有情報を上位装置に転送して認証を行い、この認証が成功するか否かによって前記第1および第2の固有情報が一致するか否かを判断する機能を備えることを特徴とする、請求項1に記載のデバイス固有情報生成出力装置。 The registration circuit estimation unit performs authentication by transferring the first and second unique information to a host device, and whether or not the first and second unique information match depending on whether or not the authentication is successful. The device specific information generation / output device according to claim 1, further comprising a function of determining whether or not the device is unique.  前記登録回路推定部が、前記第1の固有情報のハッシュ値を前記不揮発性メモリに記憶するハッシュ関数出力機能を備えると共に、前記第2の固有情報のハッシュ値と前記第1の固有情報のハッシュ値とが一致するか否かによって前記第1および第2の固有情報が一致するか否かを判断する機能を備えることを特徴とする、請求項1に記載のデバイス固有情報生成出力装置。 The registration circuit estimation unit has a hash function output function for storing the hash value of the first unique information in the nonvolatile memory, and the hash value of the second unique information and the hash of the first unique information 2. The device specific information generation / output apparatus according to claim 1, further comprising a function of determining whether or not the first and second specific information match depending on whether or not the values match.  前記登録回路推定部が、前記第1の固有情報のシンドロームを前記不揮発性メモリに記憶するシンドローム生成機能と、前記第2の固有情報を前記第1の固有情報のシンドロームによって復号化する復号機能とを備えると共に、前記復号機能によって前記第2の固有情報が正常に復号化できたか否かによって前記第1および第2の固有情報が一致するか否かを判断する機能を備えることを特徴とする、請求項1に記載のデバイス固有情報生成出力装置。 A function of generating a syndrome in which the registered circuit estimation unit stores the syndrome of the first unique information in the nonvolatile memory; and a function of decoding the second unique information by using the syndrome of the first unique information; And a function of determining whether or not the first and second unique information match depending on whether or not the second unique information has been successfully decoded by the decoding function. The device specific information generation output device according to claim 1.  前記復号機能が、前記第1および第2の固有情報が一致する前記N個の回路の中からM個の回路を選択する組み合わせが存在しない場合に、消失エラーとして前記第2の固有情報を復号化することを特徴とする、請求項7に記載のデバイス固有情報生成出力装置。 The decoding function decodes the second specific information as an erasure error when there is no combination for selecting M circuits from the N circuits where the first and second specific information match. The device specific information generation / output device according to claim 7, wherein  複数の回路を含む電子デバイスから、当該電子デバイスの認証に係る固有情報を検出してこれを出力するデバイス固有情報生成出力装置にあって、
 第1の時刻において前記固有情報の検出対象となる前記複数の回路を含むデバイス物理情報生成手段から前記各回路の物理特性を上位回路検出部が検出し、
 検出された前記物理特性の数値の順位に基づいてグループ検出部がM個(Mは2以上の整数)の回路を選択してグループを作成し、
 このグループについての情報を前記グループ検出部が予め備えられた不揮発性メモリに記憶し、
 前記M個の回路についての前記物理特性から登録回路推定部が第1の固有情報を生成し、
 前記第1の時刻より後の第2の時刻において前記デバイス物理情報生成手段から前記各回路の物理特性を前記上位回路検出部が検出し、
 前記第2の時刻において検出された前記物理特性の数値の順位に基づいて、前記グループ検出部が前記Mよりも多いN個の回路を選択し、
 前記N個の回路の中から任意のM個の回路を前記登録回路推定部が選択し、
 この選択されたM個の回路についての前記物理特性から前記登録回路推定部が第2の固有情報を生成し、
 前記第1および第2の固有情報が一致すれば前記登録回路推定部がこの固有情報を出力することを特徴とするデバイス固有情報生成方法。
In an electronic device including a plurality of circuits, a device specific information generating / outputting device for detecting specific information related to authentication of the electronic device and outputting it is provided.
The upper circuit detection unit detects the physical characteristics of each circuit from the device physical information generation unit including the plurality of circuits to be detected for the specific information at the first time,
The group detection unit selects M circuits (M is an integer of 2 or more) based on the detected numerical order of the physical characteristics to create a group,
Information about this group is stored in a nonvolatile memory provided in advance by the group detection unit,
A registered circuit estimation unit generates first unique information from the physical characteristics of the M circuits,
The upper circuit detection unit detects the physical characteristics of each circuit from the device physical information generation means at a second time after the first time,
Based on the numerical order of the physical characteristics detected at the second time, the group detection unit selects N circuits more than the M,
The registered circuit estimation unit selects any M circuits from the N circuits,
The registered circuit estimation unit generates second specific information from the physical characteristics of the selected M circuits,
If the first and second unique information matches, the registered circuit estimation unit outputs the unique information.
 複数の回路を含む電子デバイスから、当該電子デバイスの認証に係る固有情報を検出してこれを出力するデバイス固有情報生成出力装置にあって、
 前記デバイス固有情報生成出力装置の備えるコンピュータに、
 第1の時刻において前記固有情報の検出対象となる前記複数の回路を含むデバイス物理情報生成手段から前記各回路の物理特性を検出する手順、
 検出された前記物理特性の数値の順位に基づいてM個(Mは2以上の整数)の回路を選択してグループを作成する手順、
 このグループについての情報を予め備えられた不揮発性メモリに記憶する手順、
 前記M個の回路についての前記物理特性から第1の固有情報を生成する手順、
 前記第1の時刻より後の第2の時刻において前記デバイス物理情報生成手段から前記各回路の物理特性を検出する手順、
 前記第2の時刻において検出された前記物理特性の数値の順位に基づいて前記Mよりも多いN個の回路を選択する手順、
 前記N個の回路の中から任意のM個の回路を選択する手順、
 この選択されたM個の回路についての前記物理特性から第2の固有情報を生成する手順、
 および前記第1および第2の固有情報が一致すればこの固有情報を出力する手順、
を実行させることを特徴とするデバイス固有情報生成プログラム。
In an electronic device including a plurality of circuits, a device specific information generating / outputting device for detecting specific information related to authentication of the electronic device and outputting it is provided.
A computer included in the device specific information generation / output device,
A procedure for detecting physical characteristics of each circuit from a device physical information generating unit including the plurality of circuits to be detected for the specific information at a first time;
A procedure for creating a group by selecting M (M is an integer of 2 or more) circuits based on the order of the numerical values of the detected physical characteristics,
A procedure for storing information about this group in a non-volatile memory provided in advance;
Generating first unique information from the physical characteristics of the M circuits;
A procedure for detecting a physical characteristic of each circuit from the device physical information generating means at a second time after the first time;
Selecting N circuits greater than M based on the numerical order of the physical characteristics detected at the second time;
A procedure for selecting any M circuits from the N circuits;
Generating second specific information from the physical characteristics of the selected M circuits;
And a procedure for outputting the unique information if the first and second unique information match,
A device-specific information generation program characterized in that
PCT/JP2012/080486 2011-12-01 2012-11-26 Device-inherent information generation/output device, device-inherent information generation method and generation program Ceased WO2013080921A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013547140A JP6007918B2 (en) 2011-12-01 2012-11-26 Device specific information generation / output device, device specific information generation method, and generation program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2011263432 2011-12-01
JP2011-263432 2011-12-01

Publications (1)

Publication Number Publication Date
WO2013080921A1 true WO2013080921A1 (en) 2013-06-06

Family

ID=48535377

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/080486 Ceased WO2013080921A1 (en) 2011-12-01 2012-11-26 Device-inherent information generation/output device, device-inherent information generation method and generation program

Country Status (2)

Country Link
JP (1) JP6007918B2 (en)
WO (1) WO2013080921A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013186911A (en) * 2012-03-06 2013-09-19 Nec Corp Device unique information generation device and device unique information generation method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6965688B2 (en) * 2017-01-24 2021-11-10 セイコーエプソン株式会社 Circuit devices, oscillation devices, physical quantity measuring devices, electronic devices and mobile objects

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005523481A (en) * 2002-04-16 2005-08-04 マサチューセッツ インスティテュート オブ テクノロジー Integrated circuit certification
WO2008056612A1 (en) * 2006-11-06 2008-05-15 Panasonic Corporation Information security apparatus
JP2012105056A (en) * 2010-11-10 2012-05-31 Nec Corp Device and method for generating peculiar information and authentication device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013002239A1 (en) * 2011-06-27 2013-01-03 日本電気株式会社 Apparatus-specific informaiton generation device, apparatus-specific information generation method, terminal apparatus, and authentication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005523481A (en) * 2002-04-16 2005-08-04 マサチューセッツ インスティテュート オブ テクノロジー Integrated circuit certification
WO2008056612A1 (en) * 2006-11-06 2008-05-15 Panasonic Corporation Information security apparatus
JP2012105056A (en) * 2010-11-10 2012-05-31 Nec Corp Device and method for generating peculiar information and authentication device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TOSHIHIKO OKAMURA: "DRAM PUF, 2012 Abstracts of the 29th Symposium on Cryptography and Information Security", PROCEEDINGS OF THE 2012 SYMPOSIUM ON CRYPTOGRAPHY AND INFORMATION SECURITY, 30 January 2012 (2012-01-30), pages 1 - 7 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013186911A (en) * 2012-03-06 2013-09-19 Nec Corp Device unique information generation device and device unique information generation method

Also Published As

Publication number Publication date
JPWO2013080921A1 (en) 2015-04-27
JP6007918B2 (en) 2016-10-19

Similar Documents

Publication Publication Date Title
US10769309B2 (en) Apparatus and method for generating identification key
JP5770026B2 (en) Semiconductor device
TWI851820B (en) Integrated circuit, system for securely managing a plurality of keys used for data security and method performed by integrated circuit
Sutar et al. Memory-based combination PUFs for device authentication in embedded systems
JP2010527219A (en) Method and system for electronically securing electronic device security using functions that cannot be physically copied
Jia et al. Extracting robust keys from NAND flash physical unclonable functions
US11368319B2 (en) Integrated circuit performing authentication using challenge-response protocol and method of using the integrated circuit
JPWO2019146198A1 (en) Non-volatile memory device and its writing method
JP6007918B2 (en) Device specific information generation / output device, device specific information generation method, and generation program
US10892890B2 (en) Hash offset based key version embedding
US12417141B2 (en) Generating a target data based on a function associated with a physical variation of a device
JP5979144B2 (en) Device specific information generation apparatus, device specific information generation method, terminal device, and authentication system
Gordon et al. A novel IoT sensor authentication using HaLo extraction method and memory chip variability
JP6246516B2 (en) Information processing system
CN115292084B (en) Data generation method and device, electronic equipment and storage medium
JP5906821B2 (en) Device specific information generation apparatus and device specific information generation method
Zalivaka et al. NAND Flash Memory Devices Security Enhancement Based on Physical Unclonable Functions
WO2024057411A1 (en) Memory update device, information processing system, memory update method, and computer-readable medium
US11093656B2 (en) Change-tolerant method of generating an identifier for a collection of assets in a computing environment
CN120255787A (en) Method for improving security of multi-tenant storage module
Mamat et al. An Exploration of Embedded Memories Start-Up Patterns as Physical Unclonable Functions

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12854145

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2013547140

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12854145

Country of ref document: EP

Kind code of ref document: A1