System for generating seed value of encryption key and method for generating seed value of encryption key
The encryption key seed value generation system addresses the issue of duplicate key pairs by using identification information to generate unique seed values, enhancing the security of quantum-resistant cryptography.
Patent Information
- Application Number
- JP2023048307
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-10-04
AI Technical Summary
Existing quantum-resistant cryptography systems face issues with generating unique seed values, leading to potential duplication of key pairs due to the use of random values, which compromises the uniqueness of the key pairs.
An encryption key seed value generation system and method that acquires identification information from a storage device to generate a unique seed value based on a unique value including identification information, ensuring the uniqueness of the seed value and thereby the key pairs.
The system effectively generates unique seed values, ensuring the uniqueness of key pairs, thereby enhancing the security of quantum-resistant cryptography systems.
Smart Images

Figure 2024136980000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a system and a method for generating a seed value of an encryption key. [Background technology]
[0002] Integrated circuit (IC) cards are widely used as credit cards, cash cards, prepaid cards, personal identification cards, etc. General IC cards perform authentication processing by using encryption methods such as RSA, Data Encryption Standard (DES), Advanced Encryption Standard (AES), or Elliptic Curve Cryptography (ECC). If quantum computers are realized, there is a possibility that the encryption used in these encryption methods will be decrypted.
[0003] Post-quantum cryptography (PQC), which is difficult to decrypt even with a quantum computer, has emerged. For example, Patent Document 1 discloses a system that uses lattice cryptography, which is a type of post-quantum cryptography.
[0004] For example, in CRYSTALS-Dilithium, a type of quantum-resistant cryptography, a key pair consisting of a public key and a private key is generated using data called a seed as input. The key pair uniquely corresponds to the seed value. The public key is necessary for verifying digital signatures and is made public. On the other hand, the private key and the seed value must be stored securely. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Special Publication No. 2020-537450 Summary of the Invention [Problem to be solved by the invention]
[0006] A key pair consisting of a public key and a private key must be unique. Therefore, the seed value must be unique. If a random value is used as the seed value, two or more identical random numbers may be generated, which may result in two or more identical seed values. If two or more seed values are the same, two or more identical key pairs will exist. Therefore, the uniqueness of the key pair is not guaranteed.
[0007] An object of the present invention is to provide an encryption key seed value generation system and an encryption key seed value generation method that are capable of generating a unique seed value. [Means for solving the problem]
[0008] The present invention is a seed value generation system for a cryptographic key, comprising an apparatus for generating a cryptographic key for quantum-resistant cryptography by using a seed value, an acquisition unit that acquires identification information from a storage device that stores identification information for identifying a user of the apparatus, and a generation unit that generates the seed value based on a unique value including the identification information.
[0009] The present invention is a method for generating a seed value for a cryptographic key, comprising: an acquisition step in which an acquisition unit acquires identification information from a device that generates a cryptographic key for quantum-resistant cryptography by using a seed value or a storage device that stores identification information for identifying the device, and a generation step in which a generation unit generates the seed value based on a unique value including the identification information. Effect of the Invention
[0010] According to the present invention, the encryption key seed value generation system and encryption key seed value generation method can generate a unique seed value. [Brief description of the drawings]
[0011] [Figure 1] 1 is a block diagram showing an example of the configuration of a key generation system according to a first embodiment of the present invention. [Diagram 2] FIG. 4 is a diagram illustrating an example of a seed value in the first embodiment of the present invention. [Diagram 3] 5 is a flowchart showing an example of an operation of a management device according to the first embodiment of the present invention. [Figure 4] FIG. 4 is a diagram illustrating an example of an ID table in the first embodiment of the present invention. [Diagram 5] 5 is a flowchart showing an example of the operation of the IC card according to the first embodiment of the present invention. [Figure 6] FIG. 2 is a block diagram showing another example of the key generation system according to the first embodiment of the present invention. [Figure 7] FIG. 11 is a diagram illustrating an example of a seed value in a modified example of the first embodiment of the present invention. [Figure 8] 10 is a flowchart showing an example of the operation of the IC card according to the modified example of the first embodiment of the present invention. [Figure 9] FIG. 11 is a block diagram showing an example of the configuration of an IC card according to a second embodiment of the present invention. [Figure 10] FIG. 11 is a diagram illustrating an example of a seed value in the second embodiment of the present invention. [Figure 11] 10 is a flowchart showing an example of the operation of the IC card according to the second embodiment of the present invention. [Figure 12] 10 is a flowchart showing an example of the operation of the IC card according to the second embodiment of the present invention. [Figure 13] FIG. 13 is a diagram illustrating an example of a seed value in a modified example of the second embodiment of the present invention. [Figure 14] 10 is a flowchart showing an example of the operation of an IC card according to a modified example of the second embodiment of the present invention. [Figure 15] FIG. 13 is a block diagram showing an example of the configuration of a key generation system according to a third embodiment of the present invention. [Figure 16] FIG. 13 is a diagram illustrating an example of a seed value in the third embodiment of the present invention. [Figure 17] 13 is a flowchart showing an example of an operation of a management device according to a third embodiment of the present invention. [Figure 18] FIG. 11 is a block diagram showing an example of the configuration of an IC card according to a third embodiment of the present invention. [Figure 19] FIG. 13 is a diagram illustrating an example of a seed value in a first modified example of the third embodiment of the present invention. [Figure 20] 13 is a flowchart showing an example of the operation of a management device according to a first modified example of the third embodiment of the present invention. [Figure 21] 13 is a flowchart showing an example of the operation of an IC card according to a first modified example of the third embodiment of the present invention. [Figure 22] 13 is a flowchart showing an example of the operation of a management device according to a second modified example of the third embodiment of the present invention. [Figure 23] 13 is a flowchart showing an example of the operation of an IC card according to a second modified example of the third embodiment of the present invention. [Figure 24] FIG. 13 is a diagram illustrating an example of a seed value in the fourth embodiment of the present invention. [Diagram 25] 13 is a flowchart showing an example of the operation of the IC card according to the fourth embodiment of the present invention. [Figure 26] FIG. 13 is a diagram illustrating an example of an acquired ID table in the fourth embodiment of the present invention. [Figure 27] FIG. 13 is a diagram illustrating an example of a seed value in the fifth embodiment of the present invention. [Figure 28] 13 is a flowchart showing an example of the operation of a management device according to a fifth embodiment of the present invention. [Figure 29] FIG. 13 is a diagram illustrating an example of an acquired ID table in the fifth embodiment of the present invention. [Diagram 30] 13 is a flowchart showing an example of the operation of the IC card according to the sixth embodiment of the present invention. [Diagram 31] FIG. 23 is a diagram illustrating an example of an ID order table in the sixth embodiment of the present invention. [Diagram 32] 23 is a flowchart showing an example of the operation of a management device according to the seventh embodiment of the present invention. [Diagram 33] FIG. 23 is a diagram illustrating an example of an ID order table in the seventh embodiment of the present invention. [Diagram 34] FIG. 23 is a diagram illustrating an example of a seed value in the eighth embodiment of the present invention. [Diagram 35] 20 is a flowchart showing an example of the operation of the IC card according to the eighth embodiment of the present invention. [Diagram 36] FIG. 13 is a block diagram showing an example of the configuration of a key generation system according to a ninth embodiment of the present invention. [Figure 37] 13 is a flowchart showing an example of the operation of a management device according to a ninth embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0013] (First embodiment) A first embodiment of the present invention will be described. Fig. 1 shows an example of the configuration of a key generation system 1 according to the first embodiment. The key generation system 1 is an example of a seed value generation system. The key generation system 1 includes a management device 2 and an IC card 3.
[0014] The management device 2 manages the ID used for the seed value. The management device 2 generates an ID and records the ID in the IC card 3. The IC card 3 is a contact-type or contactless card recording medium. The IC card 3 receives the ID from the management device 2 and generates a seed value based on the ID. The seed value is used to generate an encryption key for the quantum-post cryptography. The IC card 3 generates a public key and a private key for the quantum-post cryptography based on the seed value. The IC card 3 holds the generated public key and private key.
[0015] The management device 2 includes a reader / writer 20, a control unit 21, and a storage unit 22. The reader / writer 20 includes a communication circuit and communicates with the IC card 3.
[0016] The control unit 21 executes various processes for controlling the entire management device 2. The control unit 21 has an ID generating unit 210 (first generating unit), a recording unit 211, and a reader / writer control unit 212.
[0017] The ID generating unit 210 generates a RID (Registered Application Provider Identifier) which is a unique value and a seed ID. The recording unit 211 records the generated RID and seed ID in the storage unit 22. The ID generating unit 210 generates a seed ID that does not overlap with a seed ID generated in the past, based on the RID and seed ID recorded in the storage unit 22. The reader / writer control unit 212 controls the reader / writer 20.
[0018] At least one of the ID generating unit 210, the recording unit 211, and the reader / writer control unit 212 may be realized by a processor such as a CPU (Central Processing Unit) executing a program recorded in a computer-readable recording medium. At least one of the ID generating unit 210, the recording unit 211, and the reader / writer control unit 212 may be realized by hardware (circuit) such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array). At least one of the ID generating unit 210, the recording unit 211, and the reader / writer control unit 212 may be realized by a combination of software and hardware.
[0019] The computer-readable recording medium is a portable medium such as a flexible disk, a magneto-optical disk, a ROM, or a CD-ROM, or a storage unit such as a hard disk built into a computer system. The above-mentioned program may be a difference file (difference program). At least one function of the ID generating unit 210, the recording unit 211, and the reader / writer control unit 212 may be realized by a combination of a program already recorded in the computer and a difference program.
[0020] The storage unit 22 stores information stored in advance in the management device 2 and information generated by the control unit 21. For example, the storage unit 22 is a flash memory or an EEPROM (Electrically Erasable Programmable Read-Only Memory). The storage unit 22 may be a combination of these recording media.
[0021] The IC card 3 can hold multiple applications. An AID (Application Identifier) is set to identify multiple applications. The RID is the first 5 bytes of the AID and is identification information of the provider of the application that uses post-quantum cryptography.
[0022] The IC card 3 includes a communication unit 30 , a control unit 31 , and a storage unit 32 .
[0023] The communication unit 30 has a communication circuit and communicates with the reader / writer 20 of the management device 2. If the IC card 3 is a contact-type IC card, the communication unit 30 communicates with the reader / writer 20 while the IC card 3 is inserted into a slot of the reader / writer 20. If the IC card 3 is a non-contact-type IC card, the communication unit 30 communicates with the reader / writer 20 by using near field communication (NFC) or the like.
[0024] The control unit 31 executes various processes for controlling the entire IC card 3. The control unit 31 has a seed value generating unit 310 (second generating unit), a key generating unit 311, and a communication control unit 312.
[0025] The seed value generation unit 310 generates a seed value based on the RID and seed ID received from the management device 2. The key generation unit 311 generates a public key and a private key for quantum-post cryptography based on the seed value. The communication control unit 312 controls the communication unit 30.
[0026] At least one of the seed value generating unit 310, the key generating unit 311, and the communication control unit 312 may be realized by a processor executing a program recorded in a computer-readable recording medium. At least one of the seed value generating unit 310, the key generating unit 311, and the communication control unit 312 may be realized by hardware (circuit) such as ASIC or FPGA. At least one of the seed value generating unit 310, the key generating unit 311, and the communication control unit 312 may be realized by a combination of software and hardware. At least one function of the seed value generating unit 310, the key generating unit 311, and the communication control unit 312 may be realized by a combination of a program already recorded in a computer and a difference program.
[0027] The storage unit 32 stores information stored in advance in the IC card 3, information generated by the control unit 31, and information received from the management device 2. For example, the storage unit 32 is a flash memory or an EEPROM. The storage unit 32 may be a combination of these recording media.
[0028] Instead of the IC card 3, a smartphone, a tablet terminal, a personal computer, or the like may be used.
[0029] Fig. 2 shows an example of a seed value in the first embodiment. The seed value SE10 shown in Fig. 2 includes a RID 910 and a seed ID 911. For example, the seed ID 911 is a sequential number starting from a predetermined initial value.
[0030] The operation of the management device 2 will be described with reference to Fig. 3. Fig. 3 shows an example of the operation of the management device 2.
[0031] (Step S100) The ID generation unit 210 generates an RID.
[0032] (Step S101) The ID generating unit 210 refers to the ID table recorded in the storage unit 22, and generates a seed ID based on the ID table.
[0033] Fig. 4 shows an example of an ID table. The ID table TB1 shown in Fig. 4 includes one or more records of RIDs and seed IDs. One row of data in the ID table TB1 constitutes one record. After the ID generation unit 210 generates an RID and a seed ID, the RID and the seed ID are recorded in the ID table TB1 in step S104, which will be described later. The ID table TB1 is a list of RIDs and seed IDs that have been generated in the past.
[0034] The ID generation unit 210 refers to a record in the ID table TB1 that contains the same RID as the RID generated in step S100. The ID generation unit 210 generates a seed ID that is different from any of the seed IDs associated with that RID.
[0035] If the ID table TB1 does not contain the same RID as the RID generated in step S100, the ID generating unit 210 generates an arbitrary seed ID (for example, a predetermined initial value).
[0036] (Step S102) The reader / writer control unit 212 controls the reader / writer 20 to write the RID generated in step S100 into the IC card 3.
[0037] (Step S103) The reader / writer control unit 212 controls the reader / writer 20 to write the seed ID generated in step S101 into the IC card 3.
[0038] (Step S104) The recording unit 211 records the RID generated in step S100 and the seed ID generated in step S101 in the storage unit 22. At this time, the recording unit 211 adds a new record to the ID table TB1, and records the RID and the seed ID in that record.
[0039] The order of steps S100 and S101 is not limited to the order shown in Fig. 3. The ID generating unit 210 may generate an RID after generating a seed ID.
[0040] The order of steps S102 and S103 is not limited to the order shown in Fig. 3. The reader / writer control unit 212 may write the RID to the IC card 3 after writing the seed ID to the IC card 3.
[0041] The operation of the IC card 3 will be described with reference to Fig. 5. Fig. 5 shows an example of the operation of the IC card 3.
[0042] (Step S200) The communication control unit 312 controls the communication unit 30 to receive the RID from the management device 2 .
[0043] (Step S201) The communication control unit 312 controls the communication unit 30 to receive the seed ID from the management device 2 .
[0044] (Step S202) The seed value generator 310 generates a seed value by combining the RID received in step S200 and the seed ID received in step S201.
[0045] (Step S203) The seed value generation unit 310 records in the storage unit 32 the seed value generated in step S202.
[0046] (Step S204) The key generation unit 311 generates a public key and a private key for quantum-post cryptography based on the seed value recorded in step S203.
[0047] (Step S205) The key generation unit 311 records in the storage unit 32 the public key and the private key generated in step S204.
[0048] The order of steps S200 and S201 is not limited to the order shown in Fig. 5. The communication control unit 312 may receive the RID from the management device 2 after receiving the seed ID from the management device 2.
[0049] If the public key or private key is corrupted, the key generation unit 311 can regenerate the public key or private key based on the seed value recorded in the storage unit 32. The generated public key or private key is the same as the corrupted public key or private key.
[0050] One IC card 3 is shown in Fig. 1. The key generation system 1 may have two or more IC cards 3. Fig. 6 shows an example of the key generation system 1 having two or more IC cards 3. The IC cards 3-1, 3-2, and 3-3 shown in Fig. 6 are the same as the IC card 3 shown in Fig. 1. Below, an example will be described in which the management device 2 writes the same RID to the IC cards 3-1, 3-2, and 3-3.
[0051] The management device 2 executes the process shown in Fig. 3 and writes the RID and the seed ID into the IC card 3-1. The IC card 3-1 executes the process shown in Fig. 5.
[0052] Thereafter, the management device 2 executes the process shown in Fig. 3. At this time, the ID generation unit 210 of the management device 2 refers to the ID table recorded in the storage unit 22, and generates a seed ID different from the seed ID written in the IC card 3-1. The management device 2 writes the RID and the seed ID in the IC card 3-2. The IC card 3-2 executes the process shown in Fig. 5.
[0053] Thereafter, the management device 2 executes the process shown in Fig. 3. At this time, the ID generation unit 210 of the management device 2 refers to the ID table recorded in the storage unit 22, and generates a seed ID different from both the seed ID written in the IC card 3-1 and the seed ID written in the IC card 3-2. The management device 2 writes the RID and the seed ID to the IC card 3-3. The IC card 3-3 executes the process shown in Fig. 5.
[0054] In the above example, the ID generation unit 210 generates a seed ID (unique value). The recording unit 211 records an ID table related to the seed ID in the storage unit 22. The seed value generation unit 310 generates a seed value used to generate an encryption key for quantum-resistant cryptography, based on the seed ID. The ID generation unit 210 generates a seed ID that does not overlap with any seed IDs generated in the past, based on the ID table recorded in the storage unit 22.
[0055] The ID generation unit 210 generates a seed ID that is different from all seed IDs generated in the past. Therefore, the seed ID is unique. The seed value generation unit 310 can generate a unique seed value based on the seed ID.
[0056] A random number may be used as the seed ID. For example, the ID generating unit 210 generates a random number and determines whether the random number is the same as the random number included in the ID table. If the generated random number is the same as the random number included in the ID table, the ID generating unit 210 discards the generated random number and generates a random number again. If the generated random number is different from all the random numbers included in the ID table, the random number is used as the seed ID.
[0057] In the above example, the ID generation unit 210 generates an RID that is identification information of a provider of an application that uses post-quantum cryptography. Also, in the above example, the seed value generation unit 310 generates a seed value by using the RID and a seed ID. The ID generation unit 210 does not have to generate an RID. The seed value generation unit 310 may generate a seed value by using only the seed ID.
[0058] When a seed value is a combination of a RID and a seed ID, the range of seed values is significantly increased and the uniqueness of the seed values is increased compared to when the seed value includes only the seed ID. Since the combination of the RID and the seed ID is required to be unique, it is possible for the RID to be different between two seed values and the seed ID to be the same.
[0059] (Modification of the first embodiment) A modified example of the first embodiment of the present invention will be described below. The seed value in the modified example of the first embodiment is different from the seed value SE10 shown in FIG.
[0060] Fig. 7 shows an example of a seed value in a modified example of the first embodiment. The seed value SE11 shown in Fig. 7 includes an RID 910, a seed ID 911, and a hash value 912. The RID 910 shown in Fig. 7 is the same as the RID 910 shown in Fig. 2. The seed ID 911 shown in Fig. 7 is the same as the seed ID 911 shown in Fig. 2.
[0061] The hash value 912 is a value calculated by inputting one or both of the RID 910 and the seed ID 911 into a hash function. A hash function such as SHA-224, SHA-256, SHA-384, or SHA-512 may be used.
[0062] The management device 2 executes the process shown in Fig. 3. The process executed by the management device 2 is the same as the process in the first embodiment.
[0063] The operation of the IC card 3 will be described with reference to Fig. 8. Fig. 8 shows an example of the operation of the IC card 3. Description of the same processes as those shown in Fig. 5 will be omitted.
[0064] (Step S210) The seed value generation unit 310 calculates a hash value of a value obtained by combining the RID received in step S200 and the seed ID received in step S201. The seed value generation unit 310 may calculate a hash value of only the RID. Alternatively, the seed value generation unit 310 may calculate a hash value of only the seed ID.
[0065] (Step S211) The seed value generator 310 generates a seed value by combining the RID received in step S200, the seed ID received in step S201, and the hash value calculated in step S210.
[0066] After step S211 is executed, step S203 is executed.
[0067] In the above example, the seed value generator 310 generates a seed value based on a hash value calculated from one or both of the RID and the seed ID. Since the number of types of values used for the seed value increases, it becomes more difficult for a malicious user to guess the rules for generating the seed value.
[0068] Second Embodiment A second embodiment of the present invention will be described. FIG. 9 shows an example of the configuration of an IC card that functions as a seed value generation system according to the second embodiment. In the second embodiment, the management device 2 shown in FIG. 1 is not required. An IC card 3a shown in FIG. 9 has a communication unit 30, a control unit 31a, and a storage unit 32. The communication unit 30 shown in FIG. 9 is the same as the communication unit 30 shown in FIG. 1.
[0069] The storage unit 32 stores a device ID. The device ID is identification information for identifying a device that generates a post-quantum cryptography encryption key by using a seed value. The device is the IC card 3a. For example, the device ID is a Media Access Control (MAC) address, an Internet Protocol (IP) address, a Universally Unique Identifier (UUID), or a chip serial ID. The MAC address, the IP address, the UUID, and the chip serial ID are different types of device IDs.
[0070] The MAC address and the IP address are numbers specific to the communication unit 30. The UUID is a unique number. The chip serial ID is a number specific to the chip mounted on the IC card 3a.
[0071] The control unit 31a executes various processes for controlling the entire IC card 3a. The control unit 31a has a seed value generation unit 310, a key generation unit 311, a communication control unit 312, an ID acquisition unit 313, and an additional data processing unit 314. The seed value generation unit 310 shown in Fig. 9 is the same as the seed value generation unit 310 shown in Fig. 1. The key generation unit 311 shown in Fig. 9 is the same as the key generation unit 311 shown in Fig. 1. The communication control unit 312 shown in Fig. 9 is the same as the communication control unit 312 shown in Fig. 1. The ID acquisition unit 313 acquires a device ID from the storage unit 32. The additional data processing unit 314 executes a process related to additional data, which will be described later.
[0072] Fig. 10 shows an example of a seed value in the second embodiment. The seed value SE12 shown in Fig. 10 includes a device ID 913 and additional data 914. For example, the device ID 913 is any one of a MAC address, an IP address, a UUID, and a chip serial ID. The additional data 914 includes a hash value, an encryption value, or a timestamp. If the data length of the device ID 913 is not enough to meet a predetermined length, the additional data 914 is added. If the data length of the device ID 913 is equal to or longer than the predetermined length, the seed value SE12 does not need to include the additional data 914.
[0073] The hash value is a value calculated by inputting the device ID 913 into a hash function. The encryption value is a value obtained by encrypting the device ID 913. Common encryption methods such as RSA, DES (Data Encryption Standard), AES (Advanced Encryption Standard), or Elliptic Curve Cryptography (ECC) can be used to encrypt the device ID 913. The timestamp indicates the time when the seed value SE12 was generated.
[0074] The operation of the IC card 3a will be described with reference to Fig. 11. Fig. 11 shows an example of the operation of the IC card 3a. Description of the same processes as those shown in Fig. 5 will be omitted.
[0075] (Step S220) The ID acquisition unit 313 acquires from the storage unit 32 one of a MAC address, an IP address, a UUID, and a chip serial ID as a device ID.
[0076] (Step S221) The additional data processing unit 314 determines whether the length of the device ID acquired in step S220 is shorter than a predetermined length. If the length of the device ID is equal to or longer than the predetermined length, step S202a described below is executed.
[0077] (Step S222) If the length of the device ID is shorter than the predetermined length, the additional data processing unit 314 executes the additional data processing shown in FIG.
[0078] An example of additional data processing is shown in Fig. 12. The operation of the IC card 3a will be described using Fig. 12.
[0079] (Step S2221) The additional data processing unit 314 determines the type of additional data. For example, the storage unit 32 stores information indicating the type of additional data in advance. The additional data processing unit 314 determines the type of additional data based on that information.
[0080] (Step S2222) If the type of additional data is a hash value, the additional data processing unit 314 calculates a hash value of the device ID.
[0081] (Step S2223) If the type of additional data is an encrypted value, the additional data processing unit 314 calculates the encrypted value of the device ID.
[0082] (Step S2224) If the type of additional data is a time stamp, the additional data processing unit 314 obtains the time stamp.
[0083] (Step S2225) After any one of steps S2222 to S2224 is executed, the additional data processing unit 314 executes padding processing to add data corresponding to the missing length to the hash value, the encryption value, or the timestamp so that the length of the additional data becomes a predetermined length. In this way, the additional data processing unit 314 generates the additional data.
[0084] Even if the length of the device ID is shorter than the predetermined length, the additional data processing unit 314 does not have to generate additional data. In that case, the seed value SE12 shown in FIG.
[0085] The operation of the IC card 3a will be explained by using FIG.
[0086] (Step S202a) The seed value generation unit 310 generates a seed value by combining the device ID acquired in step S220 and the additional data generated in step S222. If no additional data is generated, the seed value generation unit 310 generates a seed value including only the device ID.
[0087] After step S202a is executed, step S203 is executed.
[0088] A seed value generating system may be configured that includes the IC card 3a and the management device 2 shown in Fig. 1. The operations of the IC card 3a and the management device 2 in this case will be described.
[0089] The communication control unit 312 of the IC card 3a controls the communication unit 30 to send an ID confirmation request including the device ID acquired in step S220 to the management device 2. The reader / writer control unit 212 of the management device 2 receives the ID confirmation request by controlling the reader / writer 20. The storage unit 22 of the management device 2 stores an ID table including device IDs used as seed values in the past. The control unit 21 of the management device 2 refers to the ID table recorded in the storage unit 22 and determines whether the ID table includes the same device ID as the device ID included in the ID confirmation request.
[0090] If the ID table contains the same device ID as the device ID contained in the ID confirmation request, the reader / writer control unit 212 of the management device 2 controls the reader / writer 20 to send an ID change notification to the IC card 3a to instruct the IC card 3a to change the device ID. The communication control unit 312 of the IC card 3a controls the communication unit 30 to receive the ID change notification. The ID acquisition unit 313 of the IC card 3a acquires a device ID of a type different from the type of the device ID acquired previously from the storage unit 32. For example, if the device ID acquired previously is a MAC address, the ID acquisition unit 313 acquires an IP address, a UUID, or a chip serial ID.
[0091] If the ID table does not contain the same device ID as the device ID included in the ID confirmation request, the recording unit 211 of the management device 2 records the device ID in the ID table of the storage unit 22. The reader / writer control unit 212 of the management device 2 controls the reader / writer 20 to transmit an ID permission notification for permitting use of the device ID to the IC card 3a. The communication control unit 312 of the IC card 3a controls the communication unit 30 to receive the ID permission notification. The IC card 3a executes step S221 and the like shown in FIG.
[0092] In the above example, the ID acquisition unit 313 acquires the device ID from the storage unit 32. The seed value generation unit 310 generates a seed value based on a unique value including the device ID.
[0093] The device ID is unique. The seed value generator 310 can generate a unique seed value based on a unique value including the device ID.
[0094] In the above example, the seed value generator 310 generates a seed value based on at least one of a hash value of the unique value, a value obtained by encrypting the unique value, and a timestamp, in addition to the unique value including the device ID. Since the number of types of values used for the seed value increases, it becomes more difficult for a malicious user to guess the rules for generating a seed value.
[0095] (Modification of the second embodiment) A modified example of the second embodiment of the present invention will now be described. In the modified example of the second embodiment, a seed value generating system is configured that includes an IC card 3a and a management device 2 shown in FIG.
[0096] Fig. 13 shows an example of a seed value in a modified example of the second embodiment. The seed value SE13 shown in Fig. 13 includes an RID 910, a device ID 913, and additional data 914. The RID 910 shown in Fig. 13 is the same as the RID 910 shown in Fig. 2. The device ID 913 shown in Fig. 13 is the same as the device ID 913 shown in Fig. 10. The additional data 914 shown in Fig. 13 is the same as the additional data 914 shown in Fig. 10.
[0097] The operation of the IC card 3a will be described with reference to Fig. 14. Fig. 14 shows an example of the operation of the IC card 3a. Description of the same processes as those shown in Fig. 11 will be omitted.
[0098] (Step S200) The communication control unit 312 controls the communication unit 30 to receive the RID from the management device 2 .
[0099] After step S200 is performed, step S220 is performed.
[0100] (Step S202b) The seed value generator 310 generates a seed value by combining the RID obtained in step S200, the device ID obtained in step S220, and the additional data generated in step S222. If no additional data is generated, the seed value generator 310 generates a seed value including only the RID and the device ID.
[0101] After step S202b is executed, step S203 is executed.
[0102] The order of steps S200 and S220 is not limited to the order shown in Fig. 14. After the ID acquisition unit 313 acquires the device ID from the storage unit 32, the communication control unit 312 may receive the RID from the management device 2.
[0103] In the above example, the seed value generator 310 generates a seed value by using the RID, the device ID, and the additional data. When the seed value includes the RID, the range of the seed value is significantly wider and the uniqueness of the seed value is increased compared to when the seed value does not include the RID.
[0104] (Third embodiment) A third embodiment of the present invention will be described. Fig. 15 shows an example of the configuration of a key generation system 1b according to the third embodiment. The key generation system 1b is an example of a seed value generation system. The key generation system 1b includes a management device 2b and an IC card 3b. Description of the same configuration as that shown in Fig. 1 will be omitted.
[0105] The management device 2b includes a reader / writer 20, a control unit 21b, and a storage unit 22. The reader / writer 20 shown in FIG. 15 is the same as the reader / writer 20 shown in FIG.
[0106] The memory unit 22 stores a user ID. The user ID is identification information for identifying a user of a device that generates a cryptographic key for quantum-resistant cryptography by using a seed value. The device is an IC card 3b. For example, the user ID is a personal number, an employee number, a driver's license number, or an insurer number. The personal number, the employee number, the driver's license number, and the insurer number are different types of user IDs.
[0107] The personal number is a unique number printed on the user's My Number card. The employee number is a unique number assigned to the user within a company. The driver's license number is a unique number printed on the user's driver's license. The insurer number is a unique number printed on the user's health insurance card. In the third embodiment, it is assumed that one user uses one IC card.
[0108] The control unit 21b has a reader / writer control unit 212 and an ID acquisition unit 213. The reader / writer control unit 212 shown in Fig. 15 is the same as the reader / writer control unit 212 shown in Fig. 1. The ID acquisition unit 213 acquires a user ID from the storage unit 22.
[0109] The IC card 3b has a communication unit 30, a control unit 31b, and a storage unit 32. The control unit 31b executes various processes for controlling the entire IC card 3b. The control unit 31b has a seed value generation unit 310, a key generation unit 311, a communication control unit 312, and an additional data processing unit 314. The seed value generation unit 310 is the same as the seed value generation unit 310 shown in FIG. 1. The key generation unit 311 is the same as the key generation unit 311 shown in FIG. 1. The communication control unit 312 is the same as the communication control unit 312 shown in FIG. 1. The additional data processing unit 314 is the same as the additional data processing unit 314 shown in FIG. 9.
[0110] Fig. 16 shows an example of a seed value in the third embodiment. The seed value SE14 shown in Fig. 16 includes a user ID 915 and additional data 916. For example, the user ID 915 is any one of a personal number, an employee number, a driver's license number, and an insurer number. The additional data 916 includes a hash value of the user ID, an encrypted value of the user ID, or a timestamp. If the data length of the user ID 915 is short of a predetermined length, the additional data 916 is added. If the data length of the user ID 915 is the same as or longer than the predetermined length, the seed value SE14 does not need to include the additional data 916.
[0111] The operation of the management device 2b will be described with reference to Figure 17. Figure 17 shows an example of the operation of the management device 2b.
[0112] (Step S130) The ID acquisition unit 213 acquires, from the storage unit 22, one of a personal number, an employee number, a driver's license number, and an insurer number as a user ID.
[0113] For example, the user ID is associated with user information including the user's name, address, company name, etc., and is recorded in the storage unit 22. For example, when user information is input by using a user interface of the management device 2b, the ID acquisition unit 213 acquires the user ID associated with the user information from the storage unit 22.
[0114] (Step S131) The reader / writer control unit 212 controls the reader / writer 20 to write the user ID acquired in step S130 into the IC card 3b.
[0115] The operation of the IC card 3b will be described with reference to Fig. 18. Fig. 18 shows an example of the operation of the IC card 3b. Description of the same processes as those shown in Fig. 14 will be omitted.
[0116] (Step S230) The communication control unit 312 controls the communication unit 30 to receive the user ID from the management device 2b.
[0117] (Step S231) The additional data processing unit 314 determines whether the length of the user ID received in step S230 is shorter than a predetermined length. If the length of the user ID is equal to or longer than the predetermined length, step S202c, which will be described later, is executed.
[0118] If the length of the user ID is shorter than the predetermined length, the additional data processing unit 314 executes additional data processing in step S222. In the additional data processing shown in Fig. 12, the user ID is used instead of the device ID.
[0119] (Step S202c) The seed value generator 310 generates a seed value by combining the user ID received in step S220 and the additional data generated in step S222. If no additional data is generated, the seed value generator 310 generates a seed value that includes only the user ID.
[0120] After step S202c is executed, step S203 is executed.
[0121] The management device 2b may include the recording unit 211 shown in Fig. 1. The operations of the IC card 3b and the management device 2b in this case will be described.
[0122] The storage unit 22 of the management device 2b stores an ID table including user IDs that have been used as seed values in the past. The control unit 21b of the management device 2b refers to the ID table stored in the storage unit 22 and determines whether the ID table includes the same user ID as the user ID acquired in step S130.
[0123] If the ID table contains the same user ID as the user ID acquired in step S130, the ID acquisition unit 213 of the management device 2b acquires a user ID of a type different from the type of the previously acquired user ID from the storage unit 32. For example, if the previously acquired user ID is a personal number, the ID acquisition unit 213 acquires an employee number, a driver's license number, or an insurer number.
[0124] If the ID table does not contain the same user ID as the user ID acquired in step S130, the recording unit 211 of the management device 2b records the user ID in the ID table of the storage unit 22. The management device 2b transmits the user ID to the IC card 3b in step S131.
[0125] In the above example, the ID acquisition unit 213 acquires the user ID from the storage unit 32. The seed value generation unit 310 generates a seed value based on a unique value including the user ID.
[0126] The user ID is unique. The seed value generator 310 can generate a unique seed value based on a unique value including the user ID.
[0127] In the above example, the seed value generator 310 generates a seed value based on at least one of a hash value of the unique value, a value obtained by encrypting the unique value, and a timestamp, in addition to the unique value including the user ID. Since the number of types of values used for the seed value increases, it becomes more difficult for a malicious user to guess the rules for generating a seed value.
[0128] (First modified example of the third embodiment) A first modified example of the third embodiment of the present invention will be described below. In the first modified example of the third embodiment, the management device 2 shown in FIG.
[0129] Fig. 19 shows an example of a seed value in a first modified example of the third embodiment. The seed value SE15 shown in Fig. 19 includes an RID 910, a user ID 915, and additional data 916. The RID 910 shown in Fig. 19 is the same as the RID 910 shown in Fig. 2. The user ID 915 shown in Fig. 19 is the same as the user ID 915 shown in Fig. 16. The additional data 916 shown in Fig. 19 is the same as the additional data 916 shown in Fig. 16.
[0130] The operation of the management device 2 will be described with reference to Fig. 20. Fig. 20 shows an example of the operation of the management device 2. Description of the same processes as those shown in Fig. 3 or Fig. 17 will be omitted.
[0131] The ID generation unit 210 generates an RID in step S100. The ID acquisition unit 213 acquires a user ID from the storage unit 22 in step S130. The reader / writer control unit 212 writes the RID to the IC card 3b in step S102. The reader / writer control unit 212 writes the user ID to the IC card 3b in step S131.
[0132] The order of steps S100 and S130 is not limited to the order shown in Fig. 20. After the ID acquisition unit 213 acquires the user ID, the ID generation unit 210 may generate an RID.
[0133] The order of steps S102 and S131 is not limited to the order shown in Fig. 20. The reader / writer control unit 212 may write the RID to the IC card 3b after writing the user ID to the IC card 3b.
[0134] The operation of the IC card 3b will be described with reference to Fig. 21. Fig. 21 shows an example of the operation of the IC card 3b. The description of the same processes as those shown in Fig. 18 will be omitted.
[0135] (Step S200) The communication control unit 312 controls the communication unit 30 to receive the RID from the management device 2 .
[0136] After step S200 is executed, step S230 is executed.
[0137] (Step S202d) The seed value generator 310 generates a seed value by combining the RID obtained in step S200, the user ID obtained in step S220, and the additional data generated in step S222. If no additional data is generated, the seed value generator 310 generates a seed value including only the RID and the user ID.
[0138] After step S202d is executed, step S203 is executed.
[0139] In the above example, the seed value generator 310 generates a seed value by using the RID, the user ID, and the additional data. When the seed value includes the RID, the range of the seed value is significantly wider and the uniqueness of the seed value is increased compared to when the seed value does not include the RID.
[0140] (Second modified example of the third embodiment) A second modified example of the third embodiment of the present invention will now be described. In the second modified example of the third embodiment, an IC card 3a shown in Fig. 9 is used instead of the IC card 3b.
[0141] The storage unit 32 of the IC card 3a stores the user ID in advance, and the ID acquisition unit 213 of the management device 2b is not required.
[0142] The operation of the management device 2b will be described with reference to Fig. 22. Fig. 22 shows an example of the operation of the management device 2b.
[0143] (Step S140) The reader / writer control unit 212 writes the ID identification information into the IC card 3a by controlling the reader / writer 20. The ID identification information includes the name of the file in which the user ID is recorded and the type of the user ID.
[0144] The operation of the IC card 3a will be described with reference to Fig. 23. Fig. 23 shows an example of the operation of the IC card 3a. Description of the same processes as those shown in Fig. 18 will be omitted.
[0145] (Step S240) The communication control unit 312 controls the communication unit 30 to receive the ID identification information from the management device 2b.
[0146] (Step S241) The ID acquisition unit 313 searches the storage unit 32 for a file indicated by the ID identification information, and acquires from the file a user ID of the type indicated by the ID identification information.
[0147] After step S241 is executed, step S231 is executed.
[0148] The management device 2b may include the recording unit 211 shown in Fig. 1. The operations of the IC card 3a and the management device 2b in this case will be described.
[0149] The communication control unit 312 of the IC card 3a controls the communication unit 30 to send an ID confirmation request including the user ID acquired in step S241 to the management device 2b. The reader / writer control unit 212 of the management device 2b receives the ID confirmation request by controlling the reader / writer 20. The storage unit 22 of the management device 2b stores an ID table including user IDs that have been used as seed values in the past. The control unit 21b of the management device 2b refers to the ID table recorded in the storage unit 22 and determines whether the ID table includes a user ID that is the same as the user ID included in the ID confirmation request.
[0150] If the ID table contains the same user ID as the user ID contained in the ID confirmation request, the reader / writer control unit 212 of the management device 2b controls the reader / writer 20 to send an ID change notification to the IC card 3a to instruct the IC card 3a to change the user ID. The communication control unit 312 of the IC card 3a controls the communication unit 30 to receive the ID change notification. The ID acquisition unit 313 of the IC card 3a acquires a user ID of a type different from the type of user ID acquired previously from the storage unit 32. For example, if the user ID acquired previously was a personal number, the ID acquisition unit 313 acquires an employee number, a driver's license number, or an insurer number.
[0151] If the ID table does not contain the same user ID as the user ID included in the ID confirmation request, the recording unit 211 of the management device 2b records the user ID in the ID table of the storage unit 22. The reader / writer control unit 212 of the management device 2b controls the reader / writer 20 to transmit an ID permission notification for permitting use of the user ID to the IC card 3a. The communication control unit 312 of the IC card 3a controls the communication unit 30 to receive the ID permission notification. The IC card 3a executes step S231 and the like shown in FIG. 23.
[0152] (Fourth embodiment) A fourth embodiment of the present invention will now be described. In the fourth embodiment, an IC card 3a shown in FIG.
[0153] Fig. 24 shows an example of a seed value in the fourth embodiment. The seed value SE16 shown in Fig. 24 includes a device ID group 913a and additional data 914a. The seed value SE16 may include the RID 910 shown in Fig. 2. The device ID group 913a includes two or more types of device IDs. That is, the device ID group 913a includes two or more of a MAC address, an IP address, a UUID, and a chip serial ID. In the example shown in Fig. 24, the device ID group 913a includes a MAC address 9130, an IP address 9131, a UUID 9132, and a chip serial ID 9133.
[0154] The additional data 914a includes a hash value, a cryptographic value, or a timestamp. If the data length of the device ID group 913a is not equal to or longer than the predetermined length, the additional data 914a is added. If the data length of the device ID group 913a is equal to or longer than the predetermined length, the seed value SE16 does not need to include the additional data 914a.
[0155] The hash value is a value calculated by inputting the device IDs 913a into a hash function. The encryption value is a value obtained by encrypting the device IDs 913a. The timestamp indicates the time when the seed value SE16 was generated.
[0156] The number and types of device IDs included in the device ID group 913a may be fixed. In the following, an example will be described in which the number and types of device IDs included in the device ID group 913a are not fixed. In the following, the seed value may include one device ID.
[0157] The storage unit 32 of the IC card 3a previously stores an acquired ID table indicating the number and type of device IDs acquired by the ID acquiring unit 313. The ID acquiring unit 313 acquires from the storage unit 32 the number and type of device IDs indicated in the acquired ID table.
[0158] The operation of the IC card 3a will be described with reference to Fig. 25. Fig. 25 shows an example of the operation of the IC card 3a. Description of the same processes as those shown in Fig. 11 will be omitted.
[0159] (Step S250) The ID acquisition unit 313 refers to an acquired ID table recorded in the storage unit 32, and determines the number and types of device IDs to acquire from the storage unit 32 based on the acquired ID table.
[0160] Figure 26 shows an example of an acquired ID table. The acquired ID table TB2 shown in Figure 26 includes two or more records of device IDs. One row of data in the acquired ID table TB2 constitutes one record. The acquired ID table TB2 includes 16 records. A number is associated with each record.
[0161] Each record includes information indicating whether or not to acquire each of the MAC address, IP address, UUID, and chip serial ID. A mark "o" or a mark "x" is associated with each type of device ID. The mark "o" indicates that the device ID is acquired. The mark "x" indicates that the device ID is not acquired.
[0162] For example, in the record numbered 1, the mark "o" is associated with the MAC address, and the mark "x" is associated with the IP address, the UUID, and the chip serial ID. The record numbered 1 indicates that one type of device ID (MAC address) is to be acquired.
[0163] For example, in the record numbered 5, the mark "o" is associated with the MAC address and the IP address, and the mark "x" is associated with the UUID and the chip serial ID. The record numbered 5 indicates that two types of device IDs (MAC address and IP address) are obtained.
[0164] For example, ID acquisition unit 313 determines the number and type of device IDs to acquire from storage unit 32 based on the information recorded in record number 1. When the process shown in Fig. 25 is executed again, ID acquisition unit 313 determines the number and type of device IDs to acquire from storage unit 32 based on the information recorded in record number 2. In this manner, the number is incremented by one each time the process shown in Fig. 25 is executed. After record number 16 is referenced, record number 1 is referenced.
[0165] (Step S220e) The ID acquisition unit 313 acquires the number and type of device IDs determined in step S250 from the storage unit 32. The ID acquisition unit 313 acquires one or more types of device IDs.
[0166] (Step S251) If two or more types of device IDs are acquired in step S220e, the ID acquisition unit 313 combines the two or more types of device IDs. If one type of device ID is acquired in step S220e, the ID acquisition unit 313 does not execute this process.
[0167] After step S251 is executed, step S222 is executed.
[0168] (Step S202e) The seed value generation unit 310 generates a seed value by combining the two or more types of device IDs combined in step S251 with the additional data generated in step S222. Alternatively, the seed value generation unit 310 generates a seed value by combining one type of device ID acquired in step S220e with the additional data generated in step S222. If no additional data is generated, the seed value generation unit 310 generates a seed value including only the device ID.
[0169] After step S202e is executed, step S203 is executed.
[0170] A seed value generating system may be configured including the IC card 3a and the management device 2 shown in Fig. 1. In this case, the operations of the IC card 3a and the management device 2 are similar to those described in the second embodiment.
[0171] In the above example, the ID acquisition unit 313 acquires one or more types of device IDs as first device IDs, and then acquires one or more types of device IDs as second device IDs. The seed value generation unit 310 generates a seed value based on a first unique value including the first device ID, and then generates a seed value based on a second unique value including the second device ID. The number of the one or more types of device IDs acquired as the second device IDs is different from the number of the one or more types of device IDs acquired as the first device IDs.
[0172] In the above example, at least one of the one or more types of device IDs acquired as the second device ID is a type different from any of the one or more types of device IDs acquired as the first device ID.
[0173] For example, the ID acquiring unit 313 acquires a chip serial ID as a first device ID based on the information recorded in the record numbered 4 in the acquired ID table TB2. When the process shown in Fig. 25 is executed again, the ID acquiring unit 313 acquires a MAC address and an IP address as a second device ID based on the information recorded in the record numbered 5 in the acquired ID table TB2.
[0174] For example, the ID acquiring unit 313 acquires a UUID and a chip serial ID as a first device ID based on the information recorded in the record numbered 10 in the acquired ID table TB2. When the process shown in Fig. 25 is executed again, the ID acquiring unit 313 acquires a MAC address, an IP address, and a UUID as a second device ID based on the information recorded in the record numbered 11 in the acquired ID table TB2.
[0175] The type of device ID used for the seed value varies, making it more difficult for malicious users to guess the rules for generating the seed value.
[0176] Fifth embodiment A fifth embodiment of the present invention will now be described. In the fifth embodiment, a key generation system 1b shown in Fig. 15 is used.
[0177] FIG. 27 shows an example of a seed value in the fifth embodiment. The seed value SE17 shown in FIG. 27 includes a user ID group 915a and additional data 916a. The seed value SE17 may include the RID 910 shown in FIG. 2. The user ID group 915a includes two or more types of user IDs. That is, the user ID group 915a includes two or more of a personal number, an employee number, a driver's license number, and an insurer number. In the example shown in FIG. 27, the user ID group 915a includes a personal number 9150, an employee number 9151, a driver's license number 9152, and an insurer number 9153.
[0178] The additional data 916a includes a hash value, a cryptographic value, or a timestamp. If the data length of the user IDs 915a is not equal to or longer than the predetermined length, the additional data 916a is added. If the data length of the user IDs 915a is equal to or longer than the predetermined length, the seed value SE17 does not need to include the additional data 916a.
[0179] The hash value is a value calculated by inputting the user IDs 915a into a hash function. The encryption value is a value obtained by encrypting the user IDs 915a. The timestamp indicates the time when the seed value SE17 was generated.
[0180] The number and types of user IDs included in user ID group 915a may be fixed. In the following, an example will be described in which the number and types of user IDs included in user ID group 915a are not fixed. In the following, the seed value may include one user ID.
[0181] The storage unit 22 of the management device 2b prestores an acquired ID table indicating the number and types of user IDs acquired by the ID acquisition unit 213. The ID acquisition unit 213 acquires from the storage unit 22 the number and types of user IDs indicated in the acquired ID table.
[0182] The operation of the management device 2b will be described with reference to Fig. 28. Fig. 28 shows an example of the operation of the management device 2b. Description of the same processes as those shown in Fig. 17 will be omitted.
[0183] (Step S160) The ID acquisition section 213 refers to an acquired ID table recorded in the storage section 22, and determines the number and types of user IDs to be acquired from the storage section 22 based on the acquired ID table.
[0184] Figure 29 shows an example of an acquired ID table. The acquired ID table TB3 shown in Figure 29 includes two or more records of user IDs. One row of data in the acquired ID table TB3 constitutes one record. The acquired ID table TB3 includes 16 records. A number is associated with each record.
[0185] Each record includes information indicating whether or not to acquire a personal number, employee number, driver's license number, and insurer number. A mark "O" or a mark "X" is associated with each type of user ID. The mark "O" indicates that a user ID will be acquired. The mark "X" indicates that a user ID will not be acquired.
[0186] For example, in record number 1, the mark "o" is associated with the personal number, and the mark "x" is associated with the employee number, driver's license number, and insurer number. Record number 1 indicates that one type of user ID (personal number) is to be obtained.
[0187] For example, in record number 5, the mark "o" is associated with the personal number and employee number, and the mark "x" is associated with the license number and insurer number. Record number 5 indicates that two types of user IDs (personal number and employee number) are obtained.
[0188] For example, ID acquisition unit 213 determines the number and type of user IDs to acquire from storage unit 22 based on the information recorded in record numbered 1. When the process shown in FIG. 28 is executed again, ID acquisition unit 213 determines the number and type of user IDs to acquire from storage unit 22 based on the information recorded in record numbered 2. In this manner, the number is incremented by one each time the process shown in FIG. 28 is executed. After record numbered 16 is referenced, record numbered 1 is referenced.
[0189] (Step S130f) The ID acquisition unit 213 acquires the number and type of user IDs determined in step S160 from the storage unit 22. The ID acquisition unit 213 acquires one or more types of user IDs.
[0190] (Step S161) If two or more types of user IDs are acquired in step S130f, ID acquisition unit 213 combines the two or more types of user IDs. If one type of user ID is acquired in step S130f, ID acquisition unit 213 does not execute this process.
[0191] After step S161 is executed, step S131 is executed.
[0192] The IC card 3b executes the same process as that shown in Fig. 18. In step S202c, the seed value generating unit 310 generates a seed value by combining one or more types of user IDs and additional data. If no additional data is generated, the seed value generating unit 310 generates a seed value including only the user ID.
[0193] The management device 2b may have the recording unit 211 shown in Fig. 1. In this case, the operations of the IC card 3b and the management device 2b are similar to those described in the third embodiment.
[0194] In the above example, the ID acquisition unit 213 acquires one or more types of user IDs as first user IDs, and then acquires one or more types of user IDs as second user IDs. The seed value generation unit 310 generates a seed value based on a first unique value including the first user ID, and then generates a seed value based on a second unique value including the second user ID. The number of the one or more types of user IDs acquired as the second user IDs is different from the number of the one or more types of user IDs acquired as the first user IDs.
[0195] In the above example, at least one of the one or more types of user IDs acquired as the second user ID is a different type from any of the one or more types of user IDs acquired as the first user ID.
[0196] For example, the ID acquisition unit 213 acquires the insurer number as the first user ID based on the information recorded in the record numbered 4 in the acquired ID table TB3. When the process shown in Fig. 28 is executed again, the ID acquisition unit 213 acquires the personal number and employee number as the second user ID based on the information recorded in the record numbered 5 in the acquired ID table TB3.
[0197] For example, the ID acquisition unit 213 acquires the driver's license number and the insurer number as the first user ID based on the information recorded in the record numbered 10 in the acquired ID table TB3. When the process shown in Fig. 28 is executed again, the ID acquisition unit 213 acquires the personal number, the employee number, and the driver's license number as the second user ID based on the information recorded in the record numbered 11 in the acquired ID table TB3.
[0198] The type of user ID used in the seed value varies, making it more difficult for malicious users to guess the rules for generating the seed value.
[0199] Sixth embodiment A sixth embodiment of the present invention will now be described. In the sixth embodiment, an IC card 3a shown in FIG.
[0200] The seed value in the sixth embodiment is similar to the seed value SE16 shown in FIG. 24. The seed value in the sixth embodiment may include the RID 910 shown in FIG. 2. The ID acquisition unit 313 of the IC card 3a acquires two or more types of device IDs from the storage unit 32. The seed value generation unit 310 of the IC card 3a generates a seed value based on two or more types of device IDs. The number and types of device IDs included in the seed value are fixed. The order of the device IDs included in the seed value is not fixed.
[0201] The storage unit 32 of the IC card 3a prestores an ID sequence table indicating the sequence of device IDs included in a seed value. The ID acquisition unit 313 combines two or more types of device IDs in the sequence indicated by the ID sequence table. The seed value generation unit 310 generates a seed value based on the combined two or more types of device IDs. An example in which four types of device IDs are used will be described below.
[0202] The operation of the IC card 3a will be described with reference to Fig. 30. Fig. 30 shows an example of the operation of the IC card 3a. Description of the same processes as those shown in Fig. 11 will be omitted.
[0203] (Step S220g) The ID acquisition unit 313 acquires the MAC address, the IP address, the UUID, and the chip serial ID from the storage unit 32 as the device ID.
[0204] (Step S270) The ID acquisition unit 313 refers to the ID sequence table recorded in the storage unit 32, and determines the sequence of the four types of device IDs based on the ID sequence table.
[0205] Figure 31 shows an example of an ID sequence table. The ID sequence table TB4 shown in Figure 31 includes two or more records of device IDs. One row of data in the ID sequence table TB4 constitutes one record. The ID sequence table TB4 includes 25 records. A number is associated with each record.
[0206] Each record contains information indicating the order of the MAC address, IP address, UUID, and chip serial ID. A number indicating the order is associated with each type of device ID.
[0207] For example, in record number 1, the number "1" is associated with the MAC address, the number "2" is associated with the IP address, the number "3" is associated with the UUID, and the number "4" is associated with the chip serial ID. Record number 1 indicates that the MAC address, IP address, UUID, and chip serial ID are combined in that order. The MAC address is at the beginning and the chip serial ID is at the end.
[0208] For example, in record number 5, the number "1" is associated with the MAC address, the number "4" is associated with the IP address, the number "2" is associated with the UUID, and the number "3" is associated with the chip serial ID. Record number 5 indicates that the MAC address, UUID, chip serial ID, and IP address are combined in that order. The MAC address is at the beginning and the IP address is at the end.
[0209] In record number 25, the number "1" is associated with the MAC address, IP address, UUID, and chip serial ID. Record number 25 indicates that the MAC address, chip serial ID, IP address, and UUID are combined in a random order.
[0210] For example, the ID acquisition unit 313 determines the order of the four types of device IDs based on the information recorded in the record numbered 1. When the process shown in Fig. 30 is executed again, the ID acquisition unit 313 determines the order of the four types of device IDs based on the information recorded in the record numbered 2. In this manner, the number is incremented by one each time the process shown in Fig. 30 is executed. After the record numbered 25 is referenced, the record numbered 1 is referenced.
[0211] The ID sequence table TB4 does not have to include a record with the number 25. Alternatively, the ID sequence table TB4 may include only a record with the number 25. In this case, the sequence of the four types of device IDs is always random.
[0212] (Step S251g) The ID acquisition unit 313 combines the four types of device IDs acquired in step S220g. At this time, the ID acquisition unit 313 arranges and combines the four types of device IDs in the order determined in step S270.
[0213] After step S251g is executed, step S222 is executed.
[0214] (Step S202g) The seed value generation unit 310 generates a seed value by combining the four types of device IDs combined in step S251g with the additional data generated in step S222. If no additional data is generated, the seed value generation unit 310 generates a seed value including only the device ID.
[0215] After step S202g is executed, step S203 is executed.
[0216] A seed value generating system may be configured including the IC card 3a and the management device 2 shown in Fig. 1. In this case, the operations of the IC card 3a and the management device 2 are similar to those described in the second embodiment.
[0217] In the above example, the ID acquisition unit 313 acquires two or more types of device IDs from the storage unit 32. The seed value generation unit 310 generates a seed value based on a unique value including two or more types of device IDs.
[0218] The two or more types of device IDs are two or more of a MAC address, an IP address, a UUID, and a chip serial ID. By combining two or more types of unique values, the seed value generating unit 310 can generate a highly unique seed value.
[0219] In the above example, the ID acquisition unit 313 acquires two or more types of device IDs as first device IDs, and then acquires two or more types of device IDs as second device IDs. The seed value generation unit 310 generates a seed value based on the values of the two or more types of device IDs acquired as the first device IDs arranged in a first order, and then generates a seed value based on the values of the two or more types of device IDs acquired as the second device IDs arranged in a second order. The types of the two or more types of device IDs acquired as the second device IDs are the same as the types of the two or more types of device IDs acquired as the first device IDs. The second order is different from the first order.
[0220] For example, the ID acquisition unit 313 arranges and combines the MAC address, chip serial ID, IP address, and UUID in this order (first order) based on the information recorded in the record numbered 4 in the ID order table TB4. When the process shown in Fig. 30 is executed again, the ID acquisition unit 313 arranges and combines the MAC address, UUID, chip serial ID, and IP address in this order (second order) based on the information recorded in the record numbered 5 in the ID order table TB4.
[0221] For example, the ID acquisition unit 313 arranges and combines the chip serial ID, MAC address, IP address, and UUID in this order (first order) based on the information recorded in the record numbered 10 in the ID order table TB4. When the process shown in Fig. 30 is executed again, the ID acquisition unit 313 arranges and combines the UUID, MAC address, chip serial ID, and IP address in this order (second order) based on the information recorded in the record numbered 11 in the ID order table TB4.
[0222] The order of two or more device IDs used in the seed value is changed, making it more difficult for a malicious user to guess the rules for generating the seed value.
[0223] (Modification of the sixth embodiment) A modification of the sixth embodiment of the present invention will be described below. The operation of the IC card 3a is similar to that shown in Fig. 30, but the process in step S251g is different from that described above.
[0224] The ID acquisition unit 313 combines the four types of device IDs acquired in step S220g. At this time, the ID acquisition unit 313 arranges and combines the four types of device IDs in the order determined in step S270. Furthermore, the ID acquisition unit 313 generates a random number and combines the combined device ID with the random number. The additional data processing unit 314 executes additional data processing by using the combined device ID and random number.
[0225] The seed value generator 310 generates a seed value by combining the combined device ID and random number with the additional data, or by calculating an exclusive OR of the combined device ID and random number with the additional data.
[0226] In the above example, the seed value generation unit 310 generates a seed value including a unique value including a device ID and a random number. Alternatively, the seed value generation unit 310 generates a seed value including an exclusive OR of a unique value and a random number. Since the number of types of values used for the seed value increases, it becomes difficult for a malicious user to guess the rules for generating the seed value.
[0227] Seventh embodiment A seventh embodiment of the present invention will now be described. In the seventh embodiment, a key generation system 1b shown in FIG.
[0228] The seed value in the seventh embodiment is similar to the seed value SE17 shown in FIG. 27. The seed value in the seventh embodiment may include the RID 910 shown in FIG. 2. The ID acquisition unit 213 of the management device 2b acquires two or more types of user IDs from the storage unit 22. The seed value generation unit 310 of the IC card 3b generates a seed value based on two or more types of user IDs. The number and types of user IDs included in the seed value are fixed. The order of the user IDs included in the seed value is not fixed.
[0229] The storage unit 22 of the management device 2b prestores an ID sequence table indicating the sequence of user IDs included in a seed value. The ID acquisition unit 213 combines two or more types of user IDs by arranging them in the sequence indicated by the ID sequence table. The seed value generation unit 310 generates a seed value based on the combined two or more types of user IDs. An example in which four types of user IDs are used will be described below.
[0230] The operation of the management device 2b will be described with reference to Fig. 32. Fig. 32 shows an example of the operation of the management device 2b. Description of the same processes as those shown in Fig. 17 will be omitted.
[0231] (Step S130h) The ID acquisition unit 213 acquires the personal number, employee number, driver's license number, and insurer number from the storage unit 22 as the user ID.
[0232] (Step S180) The ID acquisition unit 213 refers to the ID order table recorded in the storage unit 22, and determines the order of the four types of user IDs based on the ID order table.
[0233] Figure 33 shows an example of an ID sequence table. The ID sequence table TB5 shown in Figure 33 includes two or more records of user IDs. One row of data in the ID sequence table TB5 constitutes one record. The ID sequence table TB5 includes 25 records. A number is associated with each record.
[0234] Each record contains information indicating the order of the personal number, employee number, driver's license number, and insurer number. A number indicating the order is associated with each type of user ID.
[0235] For example, in record number 1, the number "1" is associated with the personal number, the number "2" is associated with the employee number, the number "3" is associated with the driver's license number, and the number "4" is associated with the insurer number. Record number 1 indicates that the personal number, employee number, driver's license number, and insurer number are to be combined in this order. The personal number is at the beginning and the insurer number is at the end.
[0236] For example, in record number 5, the number "1" is associated with the personal number, the number "4" is associated with the employee number, the number "2" is associated with the driver's license number, and the number "3" is associated with the insurer number. Record number 5 indicates that the personal number, driver's license number, insurer number, and employee number are to be combined in this order. The personal number is at the beginning and the employee number is at the end.
[0237] In record number 25, the number "1" is associated with the personal number, employee number, driver's license number, and insurer number. Record number 25 indicates that the personal number, employee number, driver's license number, and insurer number are combined in a random order.
[0238] For example, the ID acquisition unit 213 determines the order of four types of user IDs based on the information recorded in the record numbered 1. When the process shown in Fig. 32 is executed again, the ID acquisition unit 213 determines the order of four types of user IDs based on the information recorded in the record numbered 2. In this manner, the number is incremented by one each time the process shown in Fig. 32 is executed. After the record numbered 25 is referenced, the record numbered 1 is referenced.
[0239] The ID sequence table TB5 does not have to include a record with the number 25. Alternatively, the ID sequence table TB5 may include only a record with the number 25. In this case, the sequence of the four types of user IDs is always random.
[0240] (Step S161h) The ID acquisition unit 213 combines the four types of user IDs acquired in step S130h. At this time, the ID acquisition unit 213 arranges and combines the four types of user IDs in the order determined in step S180.
[0241] After step S161h is executed, step S131 is executed.
[0242] The operation of the IC card 3b is the same as that shown in Fig. 18. In step S202c, the seed value generation unit 310 executes the following process. The seed value generation unit 310 generates a seed value by combining the combined four types of user IDs with the additional data generated in step S222. If no additional data is generated, the seed value generation unit 310 generates a seed value including only the user ID.
[0243] The management device 2b may have the recording unit 211 shown in Fig. 1. In this case, the operations of the IC card 3b and the management device 2b are similar to those described in the third embodiment.
[0244] In the above example, the ID acquisition unit 213 acquires two or more types of user IDs from the storage unit 22. The seed value generation unit 310 generates a seed value based on a unique value including two or more types of user IDs.
[0245] The two or more types of user IDs are two or more of a personal number, an employee number, a driver's license number, and an insurer number. By combining two or more types of unique values, the seed value generating unit 310 can generate a highly unique seed value.
[0246] In the above example, the ID acquisition unit 213 acquires two or more types of user IDs as first user IDs, and then acquires two or more types of user IDs as second user IDs. The seed value generation unit 310 generates a seed value based on the values of the two or more types of user IDs acquired as the first user IDs arranged in a first order, and then generates a seed value based on the values of the two or more types of user IDs acquired as the second user IDs arranged in a second order. The types of the two or more types of user IDs acquired as the second user IDs are the same as the types of the two or more types of user IDs acquired as the first user IDs. The second order is different from the first order.
[0247] For example, the ID acquisition unit 213 arranges and combines the personal number, insurer number, employee number, and driver's license number in this order (first order) based on the information recorded in the record numbered 4 in the ID order table TB5. When the process shown in Fig. 32 is executed again, the ID acquisition unit 213 arranges and combines the personal number, driver's license number, insurer number, and employee number in this order (second order) based on the information recorded in the record numbered 5 in the ID order table TB5.
[0248] For example, the ID acquisition unit 213 arranges and combines the insurer number, personal number, employee number, and license number in this order (first order) based on the information recorded in the record numbered 10 in the ID order table TB5. When the process shown in Fig. 32 is executed again, the ID acquisition unit 213 arranges and combines the license number, personal number, insurer number, and employee number in this order (second order) based on the information recorded in the record numbered 11 in the ID order table TB5.
[0249] The order of two or more user IDs used in the seed value is varied, making it more difficult for a malicious user to guess the rules for generating the seed value.
[0250] (Modification of the seventh embodiment) A modified example of the seventh embodiment of the present invention will be described below. The operation of the management device 2b is similar to the operation shown in Fig. 32, but the process in step S161h is different from the process described above.
[0251] The ID acquisition unit 213 combines the four types of user IDs acquired in step S130h. At this time, the ID acquisition unit 213 arranges and combines the four types of user IDs in the order determined in step S180. Furthermore, the ID acquisition unit 213 generates a random number and combines the combined user ID with the random number. The additional data processing unit 314 executes additional data processing by using the combined user ID and random number.
[0252] The seed value generator 310 generates a seed value by combining the combined user ID and random number with the additional data, or by calculating an exclusive OR of the combined user ID and random number with the additional data.
[0253] In the above example, the seed value generator 310 generates a seed value including a unique value including a user ID and a random number. Since the number of types of values used for the seed value increases, it becomes more difficult for a malicious user to guess the rules for generating the seed value.
[0254] Eighth embodiment An eighth embodiment of the present invention will now be described. In the eighth embodiment, a key generation system 1 shown in FIG.
[0255] Fig. 34 shows an example of a seed value in the eighth embodiment. The seed value SE18 shown in Fig. 34 is a value calculated by inputting the ID data DT10 to a hash function. In other words, the seed value SE18 is a hash value of the ID data DT10.
[0256] The ID data DT10 includes an RID 910 and a seed ID 911. The RID 910 shown in Fig. 34 is the same as the RID 910 shown in Fig. 2. The seed ID 911 shown in Fig. 34 is the same as the seed ID 911 shown in Fig. 2.
[0257] The operation of the IC card 3 will be described with reference to Fig. 35. Fig. 35 shows an example of the operation of the IC card 3. Description of the same processes as those shown in Fig. 5 will be omitted.
[0258] (Step S290) The seed value generator 310 generates ID data by combining the RID received in step S200 and the seed ID received in step S201.
[0259] (Step S291) The seed value generation unit 310 selects one of two or more hash functions. For example, the seed value generation unit 310 selects one of SHA-224, SHA-256, SHA-384, and SHA-512. The seed value generation unit 310 may select the hash function according to a table indicating the order of the hash functions to be selected. Alternatively, the seed value generation unit 310 may randomly select the hash function.
[0260] (Step S202i) The seed value generation unit 310 generates a seed value by calculating a hash value of the ID data generated in step S290. At this time, the seed value generation unit 310 uses the hash function selected in step S291.
[0261] After step S202i is executed, step S203 is executed.
[0262] The seed value generator 310 may generate a seed value by calculating a hash value of only the seed ID.
[0263] The seed value generation unit 310 may generate ID data by combining the RID 910, the seed ID 911, and the hash value 912 shown in Fig. 7. The seed value generation unit 310 may generate ID data by combining the device ID 913 and the additional data 914 shown in Fig. 10. The seed value generation unit 310 may generate ID data by combining the RID 910, the device ID 913, and the additional data 914 shown in Fig. 13.
[0264] The seed value generation unit 310 may generate ID data by combining the user ID 915 and additional data 916 shown in Fig. 16. The seed value generation unit 310 may generate ID data by combining the RID 910, the user ID 915, and the additional data 916 shown in Fig. 19.
[0265] The seed value generation unit 310 may generate ID data by combining an ID group 913a and additional data 914a shown in Fig. 24. The seed value generation unit 310 may generate ID data by combining an ID group 915a and additional data 916a shown in Fig. 27.
[0266] In the above example, the seed value generation unit 310 generates a seed value based on a hash value of a unique value including a device ID, etc. Since the entire seed value is composed of hash values, it becomes difficult for a malicious user to guess the rules for generating a seed value.
[0267] In the above example, the seed value generator 310 selects one of two or more hash functions and calculates a hash value by using the selected hash function. Since the hash function used to calculate the hash value is not fixed, it becomes difficult for a malicious user to guess the rules for generating a seed value.
[0268] Ninth embodiment A ninth embodiment of the present invention will be described. Fig. 36 shows an example of the configuration of a key generation system 1c according to the ninth embodiment. The key generation system 1c is an example of a seed value generation system. The key generation system 1c includes a management device 2c and an IC card 3c. Description of the same configuration as that shown in Fig. 1 will be omitted.
[0269] The management device 2c has a reader / writer 20, a control unit 21c, and a storage unit 22. The reader / writer 20 shown in Fig. 36 is the same as the reader / writer 20 shown in Fig. 1. The storage unit 22 shown in Fig. 36 is the same as the storage unit 22 shown in Fig. 1.
[0270] The control unit 21c executes various processes for controlling the entire management device 2c. The control unit 21c has an ID generation unit 210, a recording unit 211, a reader / writer control unit 212, and a seed value generation unit 214. The ID generation unit 210 shown in FIG. 36 is the same as the ID generation unit 210 shown in FIG. 1. The recording unit 211 shown in FIG. 36 is the same as the recording unit 211 shown in FIG. 1. The reader / writer control unit 212 shown in FIG. 36 is the same as the reader / writer control unit 212 shown in FIG. 1. The seed value generation unit 214 generates a seed value based on the RID and seed ID generated by the ID generation unit 210.
[0271] The IC card 3c has a communication unit 30, a control unit 31c, and a storage unit 32. The communication unit 30 shown in Fig. 36 is the same as the communication unit 30 shown in Fig. 1. The storage unit 32 shown in Fig. 36 is the same as the storage unit 32 shown in Fig. 1.
[0272] The control unit 31c executes various processes for controlling the entire IC card 3c. The control unit 31c has a key generation unit 311 and a communication control unit 312. The key generation unit 311 shown in Fig. 36 is the same as the key generation unit 311 shown in Fig. 1. The communication control unit 312 shown in Fig. 36 is the same as the communication control unit 312 shown in Fig. 1.
[0273] The operation of the management device 2c will be described with reference to Fig. 37. Fig. 37 shows an example of the operation of the management device 2c. Description of the same processes as those shown in Fig. 3 will be omitted.
[0274] (Step S105) The seed value generating unit 310 generates a seed value by combining the RID generated in step S100 and the seed ID generated in step S101.
[0275] (Step S106) The reader / writer control unit 212 controls the reader / writer 20 to write the seed value generated in step S105 into the IC card 3c.
[0276] After step S106 is executed, step S104 is executed.
[0277] The IC card 3c receives the seed value and executes steps S203 to S205 shown in FIG.
[0278] The seed value generator 214 can generate a unique seed value based on the seed ID.
[0279] Although an embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to the above embodiment, and design modifications and the like that do not deviate from the gist of the present invention are also included. [Explanation of symbols]
[0280] 1, 1b, 1c key management system, 2, 2b, 2c management device, 3, 3a, 3b, 3c IC card, 20 reader / writer, 21, 21b, 21c, 31, 31a, 31b, 31c control unit, 22, 32 memory unit, 30 communication unit, 210 ID generation unit, 211 recording unit, 212 reader / writer control unit, 213, 313 ID acquisition unit, 214, 310 seed value generation unit, 311 key generation unit, 312 communication control unit, 314 additional data processing unit
Claims
1. an acquisition unit that acquires identification information from a storage device that stores identification information for identifying a device that generates a post-quantum cryptographic key by using a seed value or a user of the device; a generation unit that generates the seed value based on a unique value including the identification information; A cryptographic key seed value generation system comprising:
2. the acquisition unit acquires one or more types of the identification information as first identification information, and then acquires one or more types of the identification information as second identification information; the generating unit generates the seed value based on a first unique value including the first identification information, and then generates the seed value based on a second unique value including the second identification information; The number of the one or more types of identification information acquired as the second identification information is different from the number of the one or more types of identification information acquired as the first identification information.
2. The encryption key seed value generation system according to claim 1.
3. the acquisition unit acquires one or more types of the identification information as first identification information, and then acquires one or more types of the identification information as second identification information; the generating unit generates the seed value based on a first unique value including the first identification information, and then generates the seed value based on a second unique value including the second identification information; At least one of the one or more types of identification information acquired as the second identification information is different from any of the one or more types of identification information acquired as the first identification information.
2. The encryption key seed value generation system according to claim 1.
4. The unique value includes two or more types of the identification information.
2. The encryption key seed value generation system according to claim 1.
5. the acquisition unit acquires two or more types of the identification information as first identification information, and then acquires two or more types of the identification information as second identification information; the generating unit generates the seed value based on a value obtained by arranging the two or more types of identification information acquired as the first identification information in a first order, and then generates the seed value based on a value obtained by arranging the two or more types of identification information acquired as the second identification information in a second order; the type of the two or more types of identification information acquired as the second identification information is the same as the type of the two or more types of identification information acquired as the first identification information, The second order is different from the first order.
5. The encryption key seed value generating system according to claim 4.
6. The unique value includes identification information of a provider of the application that uses the post-quantum cryptography. The encryption key seed value generating system according to any one of claims 1 to 5.
7. The generating unit generates the seed value based on the unique value and at least one of a hash value of the unique value, a value obtained by encrypting the unique value, and a timestamp. The encryption key seed value generating system according to any one of claims 1 to 5.
8. The generating unit generates the seed value including the unique value and a random number. The encryption key seed value generating system according to any one of claims 1 to 5.
9. The generator generates the seed value including an exclusive OR of the eigenvalue and a random number. The encryption key seed value generating system according to any one of claims 1 to 5.
10. The generation unit generates the seed value based on a hash value of the unique value. The encryption key seed value generating system according to any one of claims 1 to 5.
11. The generation unit selects one of two or more hash functions and calculates the hash value by using the selected hash function. The encryption key seed value generation system according to claim 10.
12. an acquisition step of acquiring, by an acquisition unit, identification information for identifying a device that generates a cryptographic key for post-quantum cryptography by using a seed value or a user of the device from a storage device that stores the identification information; A generating step in which a generating unit generates the seed value based on a unique value including the identification information; A method for generating a seed value of an encryption key, comprising:
Citation Information
Patent Citations
Management device
JP2013089176A
Transaction device and program
JP2014182500A
Information processing apparatus, information processing program, and information processing method
JP2019220871A
System and method for multiple closed-loop secure trading - Patents.com
JP2022551435A
Method and system for providing privacy to sender of a mail piece
US20070104323A1
