Authentication key exchange system, method, and program
The authentication key exchange system optimizes communication between IoT devices with limited resources by integrating ID-based encryption and electronic certificates, reducing computational overhead and ensuring secure encrypted communication.
Patent Information
- Application Number
- JP2021201659
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-12-13
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-12-13
AI Technical Summary
Existing authentication key exchange protocols for IoT devices using ID-based cryptography require high computational resources due to the need for pairing operations, which are time-consuming for devices with limited processing power.
An authentication key exchange system that reduces the number of pairing operations by integrating a server functioning as a KGC for ID-based encryption and devices using electronic certificates, allowing efficient key exchange through a streamlined process involving reduced scalar multiplications and pairing calculations.
The system enables efficient authentication key exchange between devices using ID-based encryption and electronic certificates, reducing computational burden and enabling secure encrypted communication with fewer operations compared to existing protocols.
Smart Images

Figure 0007574791000001 
Figure 0007574791000002 
Figure 0007574791000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an authentication key exchange system. ,direction Regarding the law and programs. [Background technology]
[0002] In recent years, as IoT (Internet of Things) devices have become more widespread, important communications are also being conducted by IoT devices. For this reason, authentication technology is also required for IoT devices to verify that the devices and servers in communication are genuine.
[0003] Passwords and digital certificates have been known as authentication technologies for IoT devices, but in recent years, there has been a demand for the introduction of more secure authentication key exchange protocols. An authentication key exchange protocol is a protocol that generates a mutually shared key (also called a shared key) when authentication is successful, and enables encrypted communication using the shared key. One such authentication key exchange protocol is known to be an authentication key exchange protocol that uses ID-based encryption.
[0004] Authenticated key exchange protocols using ID-based encryption are generally realized using bilinear groups on elliptic curves over finite fields. Such bilinear groups are also called pairing groups, and can be classified into symmetric pairing groups and asymmetric pairing groups. Currently, when pairing groups are used in encryption, asymmetric pairing groups are often used from the viewpoints of efficiency and security.
[0005] On the other hand, in ID-based encryption, a server called KGC (Key Generation Center) generates the private key of the terminal, so that the administrator of the IoT device is more likely to operate the KGC by himself rather than using an external KGC service. Therefore, when an IoT device communicates with an external edge server, such as in the use case of an edge computing service, the IoT device side may perform authentication based on ID-based encryption, and the edge server side may perform authentication based on a digital certificate. Non-Patent Document 1 describes a cross-domain authentication key exchange protocol in which one device is under an ID-based KGC domain and the other device (server) is under a CA (Certificate Authority) domain of a PKI (Public Key Infrastructure). [Prior art documents] [Non-patent literature]
[0006] [Non-Patent Document 1] Ustaoglu, B.: Integrating identity-based and certificate-based authenticated key exchange protocols. Int. J. Inf. Security 10(4), 201-212 (2011) Summary of the Invention [Problem to be solved by the invention]
[0007] However, in Non-Patent Document 1, it is necessary to perform a group operation called a pairing operation twice. Since the pairing operation generally has a high computational cost, when a device with limited computational resources such as an IoT device performs key exchange using the protocol described in Non-Patent Document 1, the key exchange may take a long time. For example, when a 462-bit pairing operation on a BN (Barret-Naehrig) curve is performed using a processor with an operating clock speed of about several hundred MHz, a computation time of about 600 msec is required per operation.
[0008] One embodiment of the present invention has been made in consideration of the above points, and aims to perform efficient authentication key exchange between a device that performs authentication based on ID-based encryption and a device that performs authentication based on digital certificates. [Means for solving the problem]
[0009] In order to achieve the above object, an authentication key exchange system according to one embodiment includes a server that functions as a KGC for ID-based encryption, a first device that performs authentication based on the ID-based encryption, and a second device that performs authentication based on a digital signature, and performs authentication key exchange between the first device and the second device, wherein the server has a setup unit configured to generate a bilinear group used in the ID-based encryption, a master private key for the ID-based encryption, and a master public key corresponding to the master private key, and a long-term private key generation unit configured to generate a first long-term private key for a first identifier indicating an identifier of the first device, and the first device has a first temporary key generation unit configured to generate a first temporary private key and generate a first temporary public key from the first temporary private key and the first long-term private key, a first temporary key transmission unit configured to transmit the first temporary public key and the first identifier to the second device, and a long-term public key of the second device. a first session key generation unit configured to generate a session key from the first temporary public key, the second temporary public key, the long-term public key of the second device, the first temporary private key, the first long-term private key, the first identifier, and the second identifier when receiving from the second device a second identifier indicating the identifier of the second device, wherein the second device has a long-term key generation unit configured to generate a second long-term private key and the long-term public key corresponding to the second long-term private key; Both devices include a second temporary key generation unit configured to generate the second temporary public key from the second temporary private key and the second long-term private key, a second temporary key transmission unit configured to transmit at least the second temporary public key, the long-term public key, and the second identifier to the first device, and a second session key generation unit configured to generate the session key from the first temporary public key, the second temporary public key, the second temporary private key, the master public key, the first identifier, and the second identifier. Effect of the Invention
[0010] Efficient authentication key exchange can be performed between a device that performs authentication based on ID-based encryption and a device that performs authentication based on electronic certificates. [Brief description of the drawings]
[0011] [Figure 1] 1 is a diagram illustrating an example of the overall configuration of an authentication key exchange system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of a key generating device according to the present embodiment. [Diagram 3] 2 is a diagram illustrating an example of a hardware configuration of a first communication device according to the present embodiment. FIG. [Figure 4] 4 is a diagram illustrating an example of the hardware configuration of a second communication device according to the embodiment. FIG. [Diagram 5] FIG. 2 is a diagram illustrating an example of a functional configuration of a key generating device according to the present embodiment. [Figure 6] 2 is a diagram illustrating an example of a functional configuration of a first communication device according to the present embodiment. FIG. [Figure 7] 4 is a diagram illustrating an example of a functional configuration of a second communication device according to the present embodiment. FIG. [Figure 8] FIG. 4 is a diagram for explaining a setup process in the first embodiment. [Figure 9] FIG. 4 is a diagram for explaining a long-term private key generation process of the first communication device in the first embodiment. [Figure 10] FIG. 11 is a diagram for explaining a long-term key generation process of the second communication device in the first embodiment. [Figure 11] FIG. 4 is a diagram for explaining an authentication key exchange process in the first embodiment. [Figure 12] FIG. 11 is a diagram for explaining a long-term key generation process of a second communication device in the second embodiment. [Figure 13] FIG. 11 is a diagram for explaining an authentication key exchange process in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] An embodiment of the present invention will be described below. In this embodiment, an authentication key exchange system 1 capable of performing efficient authentication key exchange between a device that performs authentication based on ID-based encryption and a device that performs authentication based on a digital certificate will be described.
[0013] <Preparation> The symbols, concepts, algorithms, etc. used in this embodiment will be explained.
[0014] Let p be a prime number, and let Z be the additive group of the cosets modulo p in the additive group of integers. p Let us assume that.
[0015] Moreover, κ is defined as a security parameter. The security parameter κ indicates the security level (in bits) of the authentication key exchange system 1, and can be, for example, κ=128 or κ=256.
[0016] ·Bilinear group Bilinear group G=(p,G1,G2,G T , g1, g2, e) is a set of prime numbers p and cyclic groups G1, G2, and G T Let g1 be a generator of G1, g2 be a generator of G2, and e:G1×G2→G be a bilinear map that satisfies the following bilinearity and nondegeneracies: T It consists of:
[0017] Bilinearity: for any h1∈G1, h2∈G2, a,b∈Z p For e(h1 a ,h2 b )=e(h1,h2) ab holds true.
[0018] Nondegenerate: e(g1, g2) is G T is the generator of
[0019] An example of such a bilinear group is the optimal-ate pairing described in Reference 1.
[0020] Digital Signature A digital signature is composed of the following three algorithms {KeyGen, Sign, Ver}.
[0021] (pk,sk)←KeyGen(1 κ ):1 κ Using the input, generate a public key and private key pair (pk, sk). κ is a k-bit string of 1s.
[0022] σ←Sign(sk,m): Using the private key sk and the message m as input, generate a signature σ.
[0023] 1 / 0←Ver(pk, m, σ): Takes public key pk, message m, and signature σ as input and outputs 1 or 0.
[0024] Furthermore, any (pk, sk) ← KeyGen(1 κ ), 1 = Ver(pk,m,Sign(sk,m)). Examples of digital signatures include ECDSA and RSA-PSS.
[0025] <Overall composition> An example of the overall configuration of an authentication key exchange system 1 according to this embodiment is shown in Fig. 1. As shown in Fig. 1, the authentication key exchange system 1 according to this embodiment includes a key generation device 10, a first communication device 20, and a second communication device 30. The key generation device 10, the first communication device 20, and the second communication device 30 are communicatively connected via a communication network 40 including, for example, the Internet. Each of the key generation device 10, the first communication device 20, and the second communication device 30 is also referred to as an "entity" or the like.
[0026] The key generation device 10 is a server that functions as a KGC for ID-based encryption, and executes a setup process for generating public parameters and the like, and generates a long-term private key for the first communication device 20 in response to a request from the first communication device 20. The key generation device 10 may be called, for example, a "key issuing server" or a "key generation server".
[0027] The first communication device 20 is a device (e.g., an IoT device) that performs authentication using ID-based encryption, and exchanges an authentication key for encrypted communication with the second communication device 30. Hereinafter, an identifier that uniquely identifies the first communication device 20 will be referred to as an ID. C In addition, the identifier ID C For example, a manufacturing unique number, a user ID, an email address, a telephone number, an IP address, a MAC address, etc. can be used as the identifier.
[0028] The second communication device 30 is a device (e.g., a server, etc.) that performs authentication using an electronic certificate (hereinafter simply referred to as a "certificate"), and performs authentication key exchange for encrypted communication with the first communication device 20. In other words, the second communication device 30 is a device that performs authentication based on the PKI. Hereinafter, an identifier that uniquely identifies the second communication device 30 is referred to as an ID. S In addition, the identifier ID S For example, a manufacturing unique number, a user ID, an email address, a telephone number, an IP address, a MAC address, etc. can be used as the identifier.
[0029] Here, the second communication device 30 generates its own long-term public key and long-term private key, and issues a certificate (more precisely, an identifier ID S In this embodiment, the first communication device 20, which is the communication partner of the second communication device 30, trusts the certification authority. In other words, the first communication device 20 holds the public key of the certification authority and a certificate for that public key (a root certificate if the certification authority is a root certification authority, or a certificate issued by a higher-level certification authority if not).
[0030] Note that the configuration of the authentication key exchange system 1 shown in Fig. 1 is an example, and is not limited thereto. For example, in the example shown in Fig. 1, only one each of the first communication device 20 and the second communication device 30 is illustrated, but there may be multiple first communication devices 20, and similarly, there may be multiple second communication devices 30. In the following, it is assumed that the first communication device 20 is an IoT device, and the second communication device 30 is a server, but this is not limited thereto.
[0031] <Hardware configuration> An example of the hardware configuration of the key generating device 10, the first communication device 20, and the second communication device 30 included in the authentication key exchange system 1 according to this embodiment will be described.
[0032] ≪Key generation device 10≫ An example of a hardware configuration of a key generation device 10 according to this embodiment is shown in Fig. 2. As shown in Fig. 2, the key generation device 10 according to this embodiment has an input device 11, a display device 12, an external I / F 13, a communication I / F 14, a RAM (Random Access Memory) 15, a ROM (Read Only Memory) 16, an auxiliary storage device 17, and a processor 18. Each of these pieces of hardware are connected to each other via a bus 19 so as to be able to communicate with each other.
[0033] The input device 11 is, for example, a keyboard, a mouse, a touch panel, various physical buttons, etc. The display device 12 is, for example, a display, a display panel, etc. Note that the key generation device 10 does not necessarily have to have at least one of the input device 11 and the display device 12, for example.
[0034] The external I / F 13 is an interface with an external device such as a recording medium 13a. Examples of the recording medium 13a include a CD (Compact Disc), a DVD (Digital Versatile Disk), an SD memory card (Secure Digital memory card), and a USB (Universal Serial Bus) memory card.
[0035] The communication I / F 14 is an interface for connecting the key generation device 10 to a communication network 40. The RAM 15 is a volatile semiconductor memory (storage device) that temporarily stores programs and data. The ROM 16 is a non-volatile semiconductor memory (storage device) that can store programs and data even when the power is turned off. The auxiliary storage device 17 is a non-volatile storage device such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive) in which programs and data are stored. The processor 18 is various types of arithmetic devices such as a CPU (Central Processing Unit).
[0036] 2 is an example, and the key generation device 10 may have other hardware configurations. For example, the key generation device 10 may have multiple auxiliary storage devices 17 and multiple processors 18, or may have various types of hardware other than the hardware shown in the figure.
[0037] <First communication device 20> An example of a hardware configuration of the first communication device 20 according to this embodiment is shown in Fig. 3. As shown in Fig. 3, the first communication device 20 according to this embodiment has an external I / F 21, a communication I / F 22, a memory device 23, and a processor 24. Each of these pieces of hardware are connected via a bus 25 so as to be able to communicate with each other.
[0038] The external I / F 21 is an interface with an external device such as a recording medium 21a. Examples of the recording medium 21a include an SD memory card and a USB memory card.
[0039] The communication I / F 22 is an interface for connecting the first communication device 20 to the communication network 40. The memory device 23 is, for example, various storage devices such as a flash memory. The processor 24 is, for example, various arithmetic devices such as a CPU or an MPU (Micro-Processing Unit).
[0040] 3 is an example, and the first communication device 20 may have other hardware configurations. For example, the first communication device 20 may have multiple memory devices 23 and multiple processors 24, or may have various hardware other than those shown in the figure.
[0041] <<Second communication device 30>> An example of a hardware configuration of the second communication device 30 according to this embodiment is shown in Fig. 4. As shown in Fig. 4, the second communication device 30 according to this embodiment has an input device 31, a display device 32, an external I / F 33, a communication I / F 34, a RAM 35, a ROM 36, an auxiliary storage device 37, and a processor 38. Each of these pieces of hardware are connected to each other via a bus 39 so as to be able to communicate with each other.
[0042] The input device 31 is, for example, a keyboard, a mouse, a touch panel, various physical buttons, etc. The display device 32 is, for example, a display, a display panel, etc. Note that the second communication device 30 does not necessarily have to have at least one of the input device 31 and the display device 32, for example.
[0043] The external I / F 33 is an interface with an external device such as a recording medium 33a. Examples of the recording medium 33a include a CD, a DVD, an SD memory card, and a USB memory card.
[0044] The communication I / F 34 is an interface for connecting the second communication device 30 to the communication network 40. The RAM 35 is a volatile semiconductor memory (storage device) that temporarily stores programs and data. The ROM 36 is a non-volatile semiconductor memory (storage device) that can store programs and data even when the power is turned off. The auxiliary storage device 37 is a non-volatile storage device such as an HDD or SSD, in which programs and data are stored. The processor 38 is, for example, various types of arithmetic devices such as a CPU.
[0045] 4 is an example, and the second communication device 30 may have other hardware configurations. For example, the second communication device 30 may have multiple auxiliary storage devices 37 and multiple processors 38, or may have various hardware other than the hardware shown in the figure.
[0046] <Functional configuration> An example of the functional configuration of the key generating device 10, the first communication device 20, and the second communication device 30 included in the authentication key exchange system 1 according to this embodiment will be described.
[0047] ≪Key generation device 10≫ An example of the functional configuration of the key generation device 10 according to this embodiment is shown in Fig. 5. As shown in Fig. 5, the key generation device 10 according to this embodiment has a setup processing unit 101 and a long-term private key generation unit 102. Each of these units is realized, for example, by a process in which one or more programs installed in the key generation device 10 are executed by the processor 18. The key generation device 10 according to this embodiment also has a storage unit 103. The storage unit 103 is realized, for example, by the auxiliary storage device 17.
[0048] The setup processing unit 101 executes a setup process for generating a master private key, public parameters, and the like.
[0049] In response to a request from a first communication device 20, the long-term private key generation unit 102 generates a long-term private key for the identifier of the first communication device 20.
[0050] The storage unit 103 stores various information (for example, a master private key, public parameters, etc.).
[0051] <First communication device 20> An example of the functional configuration of the first communication device 20 according to this embodiment is shown in Fig. 6. As shown in Fig. 6, the first communication device 20 according to this embodiment has a long-term private key request unit 201, a long-term private key receiving unit 202, a temporary key generating unit 203, a temporary key transmitting unit 204, a temporary key receiving unit 205, and a session key generating unit 206. Each of these units is realized, for example, by a process executed by the processor 24 of one or more programs installed in the first communication device 20. Furthermore, the first communication device 20 according to this embodiment has a storage unit 207. The storage unit 207 is realized, for example, by the memory device 23.
[0052] The long-term private key request unit 201 uses its own identifier ID C The user requests the key generating device 10 to generate a long-term private key for the identifier ID C The long-term private key for SSK C Let us assume that.
[0053] The long-term private key receiving unit 202 receives the long-term private key ssk from the key generating device 10. C Receive.
[0054] The temporary key generation unit 203 generates its own long-term private key ssk C Using the temporary private key esk C and temporary public key X C Generate.
[0055] The temporary key transmission unit 204 transmits the temporary public key X C and its own identifier ID C to the second communication device 30.
[0056] The temporary key receiving unit 205 receives the temporary public key X of the second communication device 30 from the second communication device 30. S etc. are received.
[0057] The session key generator 206 generates its own long-term secret key ssk C and the temporary public key X received from the second communication device 30 Setc. to generate key elements, and then generate a session key from these key elements. Note that this session key is a shared key shared with the second communication device 30.
[0058] The storage unit 207 stores various information (for example, public parameters, its own long-term private key ssk C etc.)
[0059] <<Second communication device 30>> An example of the functional configuration of the second communication device 30 according to this embodiment is shown in Fig. 7. As shown in Fig. 7, the second communication device 30 according to this embodiment has a long-term key generation unit 301, a certificate issuance request unit 302, a temporary key reception unit 303, a temporary key generation unit 304, a temporary key transmission unit 305, and a session key generation unit 306. Each of these units is realized, for example, by a process executed by a processor 38 of one or more programs installed in the second communication device 30. The second communication device 30 according to this embodiment also has a storage unit 307. The storage unit 307 is realized, for example, by the auxiliary storage device 37.
[0060] The long-term key generation unit 301 generates a long-term private key and a long-term public key. Hereinafter, the long-term private key of the second communication device 30 is referred to as ssk S , the long-term public key is spk S Let us assume that.
[0061] The certificate issuing request unit 302 uses its own identifier ID S and the long-term public key spk S Certificate for cert S The certificate is issued by an external certificate authority.
[0062] The temporary key receiving unit 303 receives the temporary public key X from the first communication device 20. C and identifier ID C Receive.
[0063] The temporary key generator 304 generates its own long-term private key ssk S Using the temporary private key esk S and temporary public key X S Generate.
[0064] The temporary key transmission unit 305 transmits the temporary public key X S and your long-term public key spk S and its own identifier ID S and the certificate S etc. to the first communication device 20.
[0065] The session key generation unit 306 generates the master public key and the temporary public key X received from the first communication device 20. C etc. to generate key elements, and then generate a session key from these key elements.
[0066] The storage unit 307 stores various information (for example, public parameters, its own long-term private key ssk S etc.)
[0067] [Example 1] Hereinafter, a first example of this embodiment will be described. In this example, it is assumed that each entity holds the following hash functions H1, H2, and H as parameters common to the system.
[0068] H1: A hash function that takes an identifier as input and outputs an element of G2 H2: Take a bit string of κ bits and an element of G2 as input, and p A hash function that outputs elements of H: A hash function that takes a string of variable length as input and outputs a k-bit string. <Setup process> The setup process in the first embodiment will be described with reference to FIG.
[0069] The setup processing unit 101 of the key generation device 10 calculates a bilinear group G=(p, G1, G2, G T , g1, g2, e) are generated (step S101).
[0070] Next, the setup processing unit 101 of the key generating device 10 sets the master private key w∈Z p is generated uniformly at random (step S102).
[0071] Next, the setup processing unit 101 of the key generating device 10 generates the master public key W=g1 w is generated (step S103).
[0072] Then, the setup processing unit 101 of the key generation device 10 stores the bilinear group G, the master private key w, and the master public key W in the storage unit 103 (step S104). Here, the public parameters are (G, W), and these public parameters (G, W) are made public to the first communication device 20 and the second communication device 30. In the following, it is assumed that the first communication device 20 and the second communication device 30 hold the public parameters (G, W).
[0073] <Long-term private key generation process of the first communication device 20> The long-term private key generation process of the first communication device 20 in the first embodiment will be described with reference to FIG.
[0074] The long-term private key request unit 201 of the first communication device 20 receives its own identifier ID C The key generating device 10 is requested to generate a long-term private key for the ID (step S201). C is specified.
[0075] When the long-term private key generation unit 102 of the key generation device 10 receives a request to generate a long-term private key, the long-term private key generation unit 102 generates a long-term private key ssk C =H1(ID C ) w ∈G2 is generated (step S202).
[0076] Next, the long-term private key generation unit 102 of the key generation device 10 generates the long-term private key ssk C to the first communication device 20 (step S203).
[0077] Then, the long-term private key receiving unit 202 of the first communication device 20 receives the long-term private key ssk C Receive this long-term private key SSK Cis stored in the storage unit 207 (step S204). C is transmitted from the key generation device 10 to the first communication device 20 via a secure communication path.
[0078] <Long-term key generation process of the second communication device 30> The long-term key generation process of the second communication device 30 in the first embodiment will be described with reference to FIG.
[0079] The long-term key generation unit 301 of the second communication device 30 generates a long-term secret key ssk S ∈Z p is generated uniformly at random (step S301).
[0080] Next, the long-term key generation unit 301 of the second communication device 30 generates the long-term public key spk S =g1 ssk_S (Step S302). Note that "ssk_S" is ssk S Represents.
[0081] Next, the certificate issuance request unit 302 of the second communication device 30 sends its own identifier ID S and the long-term public key spk S Certificate for cert S The external certification authority is then requested to issue a certificate (step S303). S is replied.
[0082] Then, the long-term key generation unit 301 of the second communication device 30 generates the long-term secret key ssk S and the long-term public key spk S and the certificate S and are stored in the storage unit 307 (step S304).
[0083] <Authentication key exchange process> The authentication key exchange process in the first embodiment will be described with reference to Fig. 11. In the following, it is assumed that the first communication device 20 issues a start request to the second communication device 30. That is, it is assumed that the first communication device 20 is the initiator and the second communication device 30 is the responder. It is also assumed that the first communication device 20 has already acquired communication destination information (e.g., IP address, MAC address, etc.) of the second communication device 30.
[0084] The temporary key generating unit 203 of the first communication device 20 generates a temporary secret key esk C ∈{0,1} κ Generate uniformly randomly, and then x C =H2(esk C ,ssk C ) to obtain the temporary public key X C =g1 x_C (Step S401). A temporary secret key esk C is stored in the storage unit 207. C Represents.
[0085] Next, the temporary key transmission unit 204 of the first communication device 20 transmits the temporary public key X C and its own identifier ID C to the second communication device 30 (step S402).
[0086] The temporary key generating unit 304 of the second communication device 30 generates a temporary public key X C and identifier ID C When the temporary key receiving unit 303 receives the temporary secret key esk S ∈{0,1} κ Generate uniformly randomly, and then x S =H2(esk S ,ssk S ) to obtain the temporary public key X S =g1 x_S (Step S403). S is stored in the storage unit 307. Note that "x_S" is x S Represents.
[0087] Next, the temporary key transmission unit 305 of the second communication device 30 transmits the temporary public key X S and your long-term public key spk S and the certificate S and its own identifier ID S and to the first communication device 20 (step S404).
[0088] The session key generator 206 of the first communication device 20 generates a temporary public key X S and the long-term public key spk S and the certificate S and identifier ID S When the temporary key receiving unit 205 receives the long-term public key spk S and identifier ID S The certificate is S Verify that the information is as described in and also verify the certificate cert S The first communication device 20 verifies that the authentication key has been properly exchanged by a predetermined certification authority using the public key of the certification authority (step S405). If any of the verifications fails, the first communication device 20 ends the authentication key exchange process. On the other hand, if all of the verifications succeed, the first communication device 20 executes the next step S406.
[0089] The session key generation unit 206 of the first communication device 20 generates the key element σ1=e(X S ,ssk C ), σ2=spk S x_C , σ3=X S x_C After generating the session key SK=H(σ1,σ2,σ3,ID C ,ID S ,X C ,X S ,spk S ,cert S ) is generated (step S406). C is the long-term secret key ssk stored in the memory unit 207 C and the temporary private key esk C x C =H2(esk C ,ssk C ) is calculated as follows:
[0090] The session key generator 306 of the second communication device 30 generates the key element σ1=e(W x_S ,H1(ID C )), σ2=X C ssk_S , σ3=X C x_S After generating the session key SK=H(σ1,σ2,σ3,ID C ,ID S ,X C ,X S ,spk S ,cert S ) is generated (step S407). S is the long-term secret key ssk stored in the memory unit 307 S and the temporary private key esk S x S =H2(esk S ,ssk S This step may be executed immediately after the above step S404 is completed.
[0091] <Summary> As described above, in this embodiment, the first communication device 20 and the second communication device 30 can share the session key SK. As a result, the first communication device 20 and the second communication device 30 can thereafter perform encrypted communication using the session key SK.
[0092] At this time, in this embodiment, it is sufficient to perform the pairing calculation only once in each of the first communication device 20 and the second communication device 30. Therefore, the number of pairing calculations is reduced compared to the protocol described in Non-Patent Document 1, for example, and therefore efficient authentication key exchange can be realized.
[0093] Moreover, in this embodiment, it is sufficient to calculate scalar multiplication on G1 only three times in each of the first communication device 20 and the second communication device 30. In contrast, for example, in the protocol described in Non-Patent Document 1, it is necessary to calculate scalar multiplication on G1 four (or five) times and scalar multiplication on G2 two times. Therefore, the number of scalar multiplications is reduced compared to, for example, the protocol described in Non-Patent Document 1, and efficient authentication key exchange can be realized.
[0094] In this embodiment, the first communication device 20 is authenticated by the key element σ1, and the second communication device 30 is authenticated by the key element σ2. In addition, the key element σ3 guarantees the essential security (forward secrecy) in the authentication key exchange.
[0095] [Example 2] Hereinafter, a description will be given of Example 2 of this embodiment. In this example, it is assumed that each entity holds the following hash function H3 as a parameter common to the system, in addition to the above hash functions H1, H2, and H.
[0096] H3: Given a bit string of κ bits and a private key for digital signature, p A hash function that outputs elements of In this embodiment, differences from the first embodiment will be described, and descriptions of components similar to those in the first embodiment will be omitted.
[0097] <Setup process> Since this is the same as the first embodiment, the description will be omitted.
[0098] <Long-term private key generation process of the first communication device 20> Since this is the same as the first embodiment, the description will be omitted.
[0099] <Long-term key generation process of the second communication device 30> The long-term key generation process of the second communication device 30 in the second embodiment will be described with reference to FIG.
[0100] The long-term key generation unit 301 of the second communication device 30 generates a long-term public key spk S and long-term private key SSK S Key pair (spk S ,ssk S )←KeyGen(1 κ ) is generated (step S501). S is the public key for digital signature, the long-term private key SSK S is the private key for digital signature.
[0101] Next, the certificate issuance request unit 302 of the second communication device 30 sends its own identifier ID S and the long-term public key spk S Certificate for cert S The external certification authority is then requested to issue a certificate (step S502). S is replied.
[0102] Then, the long-term key generation unit 301 of the second communication device 30 generates the long-term secret key ssk S and the long-term public key spk S and the certificate S and are stored in the storage unit 307 (step S503).
[0103] <Authentication key exchange process> The authentication key exchange process in the second embodiment will be described with reference to Fig. 13. In the following, it is assumed that the first communication device 20 issues a start request to the second communication device 30. That is, it is assumed that the first communication device 20 is the initiator and the second communication device 30 is the responder. It is also assumed that the first communication device 20 has already acquired communication destination information (e.g., IP address, MAC address, etc.) of the second communication device 30.
[0104] The temporary key generating unit 203 of the first communication device 20 generates a temporary secret key esk C ∈{0,1} κ Generate uniformly randomly, and then x C =H2(esk C ,ssk C ) to obtain the temporary public key XC =g1 x_C (Step S601). A temporary secret key esk C is stored in the storage unit 207.
[0105] Next, the temporary key transmission unit 204 of the first communication device 20 transmits the temporary public key X C and its own identifier ID C to the second communication device 30 (step S602).
[0106] The temporary key generating unit 304 of the second communication device 30 generates a temporary public key X C and identifier ID C When the temporary key receiving unit 303 receives the temporary secret key esk S ∈{0,1} κ Generate uniformly randomly, and then select x S =H3(esk S ,ssk S ) to obtain the temporary public key X S =g1 x_S (Step S603). S is stored in the storage unit 307.
[0107] Next, the temporary key generation unit 304 of the second communication device 30 generates the temporary public key X S and identifier ID C and identifier ID S A signature for a message m that contains S ←Sign(ssk S ,m) is generated (step S604).
[0108] Next, the temporary key transmission unit 305 of the second communication device 30 transmits the temporary public key X S and sign S and your long-term public key spk S and the certificate S and its own identifier ID S and to the first communication device 20 (step S605).
[0109] The session key generator 206 of the first communication device 20 generates a temporary public key X Sand sign S and your long-term public key spk S and the certificate S and its own identifier ID S When the temporary key receiving unit 205 receives the long-term public key spk S and identifier ID S The certificate is S Verify that the information is as described in and also verify the certificate cert S The public key of the certificate authority is used to verify that the certificate has been issued correctly by the certificate authority. S ,m,sign S ) is satisfied (step S606). If any of the verifications fails, the first communication device 20 ends the authentication key exchange process. On the other hand, if all of the verifications succeed, the first communication device 20 executes the next step S607.
[0110] The session key generation unit 206 of the first communication device 20 generates the key element σ1=e(X S ,ssk C ), σ2=X S x_C After generating the session key SK=H(σ1,σ2,ID C ,ID S ,X C ,X S ,sign S ,spk S ,cert S ) is generated (step S607). C is the long-term secret key ssk stored in the memory unit 207 C and the temporary private key esk C From x C =H2(esk C ,ssk C ) is calculated as follows:
[0111] The session key generator 306 of the second communication device 30 generates the key element σ1=e(W x_S ,H1(ID C )), σ2=X C x_S After generating the session key SK=H(σ1,σ2,IDC ,ID S ,X C ,X S ,sign S ,spk S ,cert S ) is generated (step S608). S is the long-term secret key ssk stored in the memory unit 307 S and the temporary private key esk S From x S =H3(esk S ,ssk S This step may be executed immediately after the above step S605 is completed.
[0112] <Summary> As described above, in this embodiment, the first communication device 20 and the second communication device 30 can share the session key SK. As a result, the first communication device 20 and the second communication device 30 can thereafter perform encrypted communication using the session key SK.
[0113] At this time, in this embodiment, similarly to the first embodiment, it is sufficient to perform the pairing calculation only once in each of the first communication device 20 and the second communication device 30. Therefore, the number of pairing calculations is reduced compared to the protocol described in Non-Patent Document 1, for example, and therefore efficient authentication key exchange can be realized.
[0114] In addition, in this embodiment, by authenticating the second communication device 30 by a digital signature, a key element for authenticating the second communication device 30 is not required, and it is necessary to calculate scalar multiplication on G1 only twice in each of the first communication device 20 and the second communication device 30. Therefore, it is possible to realize a more efficient authentication key exchange compared to the first embodiment.
[0115] In this embodiment, the first communication device 20 is authenticated by the key element σ1, and the second communication device 30 is authenticated by the digital signature. In addition, the key element σ2 guarantees the essential security (forward secrecy) in the authentication key exchange.
[0116] The present invention is not limited to the above-described embodiments specifically disclosed, and various modifications, changes, combinations with known technologies, etc. are possible without departing from the scope of the claims.
[0117] [References] Reference 1: Vercauteren, F.: Optimal pairings. IEEE Trans. Inf. Theory 56, 455-461 (2010) [Explanation of symbols]
[0118] 1. Authenticated Key Exchange System 10 Key generator 11 Input Devices 12 Display device 13 External I / F 13a Recording media 14 Communication I / F 15 RAM 16 ROM 17 Auxiliary storage 18 Processors 19 Bus 20. First communication device 21 External I / F 21a Recording media 22 Communication I / F 23 Memory Device 24 processors 25 Bus 30 Second communication device 31 Input Devices 32 Display device 33 External I / F 33a Recording media 34 Communication I / F 35 RAM 36 ROM 37 Auxiliary storage device 38 Processors 39 Bus 101 Setup processing section 102 Long-term secret key generation unit 103 Storage section 201 Long-term secret key request section 202 Long-term private key receiver 203 Temporary key generation section 204 Temporary Key Transmission Unit 205 Temporary Key Receiver 206 Session Key Generation Unit 207 Memory section 301 Long-term key generation unit 302 Certificate request section 303 Temporary Key Receiver 304 Temporary key generation unit 305 Temporary Key Transmission Unit 306 Session Key Generation Unit 307 Storage section
Claims
1. An authentication key exchange system including a server that functions as a KGC for ID-based encryption, a first device that performs authentication based on the ID-based encryption, and a second device that performs authentication based on a digital signature, and performing authentication key exchange between the first device and the second device, The server, a set-up unit configured to generate a bilinear group used in the identity-based encryption, a master private key for the identity-based encryption, and a master public key corresponding to the master private key; a long-term private key generation unit configured to generate a first long-term private key for a first identifier indicating an identifier of the first device, The first device includes: a first temporary key generator configured to generate a first temporary private key and to generate a first temporary public key from the first temporary private key and the first long-term private key; a first temporary key sending unit configured to send the first temporary public key and the first identifier to the second device; a first session key generation unit configured to generate a session key from the first temporary public key, the second temporary public key, the long-term public key of the second device, the first temporary private key, the first long-term private key, the first identifier, and the second identifier when receiving at least a second temporary public key, a long-term public key of the second device, and a second identifier indicating an identifier of the second device from the second device, The second device includes: a long-term key generator configured to generate a second long-term private key and the long-term public key corresponding to the second long-term private key; a second temporary key generator configured to generate a second temporary private key and to generate the second temporary public key from the second temporary private key and the second long-term private key; a second temporary key sender configured to send at least the second temporary public key, the long-term public key, and the second identifier to the first device; a second session key generator configured to generate the session key from the first temporary public key, the second temporary public key, the second temporary private key, the master public key, the first identifier, and the second identifier; The first temporary key generation unit a generator of a cyclic group that is a domain of a first argument side of a pairing operation in the bilinear group is used as a base, and a first value that is an output value of a hash function H2 having as input the first temporary private key and the first long-term private key is used as an exponent to generate the first temporary public key, The first session key generation unit Further receiving a certificate for the long-term public key, and verifying whether the certificate was issued by a predetermined certification authority; If the verification is successful, a pairing operation is performed using the second temporary public key as a first argument and the first long-term private key as a second argument, and the result is used as a first key element; Calculate a second key element by raising the long-term public key to a power of the first value; Calculating a third key element by raising the second temporary public key to a power of the first value; is configured to generate, as the session key, an output value of a hash function H having as input the first key element, the second key element, the third key element, the first temporary public key, the second temporary public key, the first identifier, the second identifier, the long-term public key, and the certificate; The second temporary key transmission unit further configured to transmit the certificate to the first device; The second temporary key generation unit a generator of a cyclic group that is a domain of a first argument side of a pairing operation in the bilinear group is used as a base, and a second value that is an output value of the hash function H2 having the second temporary private key and the second long-term private key as input is used as an exponent to generate the second temporary public key, The second session key generation unit calculating, as the first key element, a result of a pairing operation using the master public key as a base, a power of the second value as a first argument, and an output value of a hash function H 1 having the first identifier as an input as a second argument; Calculating the second key element to a power of the first temporary public key as a base and the second long-term private key as an exponent; Calculating the third key element by raising the first temporary public key to a power of the second value; and generating, as the session key, an output value of the hash function H using the first key element, the second key element, the third key element, the first temporary public key, the second temporary public key, the first identifier, the second identifier, the long-term public key, and the certificate as inputs. Authenticated Key Exchange System.
2. An authentication key exchange system including a server that functions as a key generation control (KGC) for ID-based cryptography, a first device that performs authentication based on the ID-based cryptography, and a second device that performs authentication based on a digital signature, and performing authentication key exchange between the first device and the second device, The server, a set-up unit configured to generate a bilinear group used in the identity-based encryption, a master private key for the identity-based encryption, and a master public key corresponding to the master private key; a long-term private key generation unit configured to generate a first long-term private key for a first identifier indicating an identifier of the first device, The first device includes: a first temporary key generator configured to generate a first temporary private key and to generate a first temporary public key from the first temporary private key and the first long-term private key; a first temporary key sending unit configured to send the first temporary public key and the first identifier to the second device; a first session key generation unit configured to generate a session key from the first temporary public key, the second temporary public key, the long-term public key of the second device, the first temporary private key, the first long-term private key, the first identifier, and the second identifier when receiving at least a second temporary public key, a long-term public key of the second device, and a second identifier indicating an identifier of the second device from the second device, The second device includes: a long-term key generator configured to generate a second long-term private key and the long-term public key corresponding to the second long-term private key; a second temporary key generator configured to generate a second temporary private key and to generate the second temporary public key from the second temporary private key and the second long-term private key; a second temporary key sender configured to send at least the second temporary public key, the long-term public key, and the second identifier to the first device; a second session key generator configured to generate the session key from the first temporary public key, the second temporary public key, the second temporary private key, the master public key, the first identifier, and the second identifier; The first temporary key generation unit A hash function H, which has a base that is a generator of a cyclic group that is a domain of the first argument side of the pairing operation in the bilinear group, and has inputs of the first temporary private key and the first long-term private key. 2 The first temporary public key is generated by exponentiating a first value, which is an output value of The first session key generation unit Further receiving a certificate for the long-term public key and a signature of the second device, and performing a first verification indicating whether or not the certificate has been issued by a predetermined certificate authority and a second verification indicating verification of the signature; If the first verification and the second verification are successful, a pairing operation is performed with the second temporary public key as a first argument and the first long-term private key as a second argument, and a result of the pairing operation is calculated as a first key element; Calculating a second key element by raising the second temporary public key to a power of the first value; is configured to generate, as the session key, an output value of a hash function H having as input the first key element, the second key element, the first temporary public key, the second temporary public key, the first identifier, the second identifier, the long-term public key, the certificate, and the signature; The second temporary key transmission unit further configured to transmit the certificate and the signature to the first device; The second temporary key generation unit A hash function H, which has a base that is a generator of a cyclic group that is a domain of the first argument side of the pairing operation in the bilinear group, and inputs the second temporary private key and the second long-term private key. 3 The second temporary public key is generated by exponentiating a second value, which is an output value of The second session key generation unit A hash function H with the master public key as a base, the second value as a power as a first argument, and the first identifier as an input. 1 A pairing operation result having the output value of the second argument is calculated as the first key element, Calculating the second key element to a power of the first temporary public key and the second value as an exponent; and configured to generate, as the session key, an output value of the hash function H using the first key element, the second key element, the first temporary public key, the second temporary public key, the first identifier, the second identifier, the long-term public key, the certificate, and the signature as inputs. Authenticated Key Exchange System.
3. A method for use in an authentication key exchange system including a server functioning as a KGC for ID-based encryption, a first device that performs authentication based on the ID-based encryption, and a second device that performs authentication based on a digital signature, the system performing authentication key exchange between the first device and the second device, comprising: The server, a setup procedure for generating a bilinear group for use in the identity-based encryption, a master private key for the identity-based encryption, and a master public key corresponding to the master private key; a long-term private key generation step for generating a first long-term private key for a first identifier indicating an identifier of the first device; The first device comprises: a first temporary key generation step of generating a first temporary private key and generating a first temporary public key from the first temporary private key and the first long-term private key; a first temporary key transmission step of transmitting the first temporary public key and the first identifier to the second device; receiving at least a second temporary public key, a long-term public key of the second device, and a second identifier indicating an identifier of the second device from the second device, executing a first session key generation procedure for generating a session key from the first temporary public key, the second temporary public key, the long-term public key of the second device, the first temporary private key, the first long-term private key, the first identifier, and the second identifier; The second device comprises: a long-term key generation step of generating a second long-term private key and the long-term public key corresponding to the second long-term private key; a second temporary key generation step of generating a second temporary private key and generating the second temporary public key from the second temporary private key and the second long-term private key; a second temporary key transmission procedure for transmitting at least the second temporary public key, the long-term public key, and the second identifier to the first device; a second session key generation procedure for generating the session key from the first temporary public key, the second temporary public key, the second temporary private key, the master public key, the first identifier, and the second identifier; The first temporary key generation procedure includes: a hash function H2 having a generator of a cyclic group that is a domain of a first argument side of a pairing operation in the bilinear group as a base and having as input the first ephemeral private key and the first long-term private key as a first value as an exponent, The first session key generation procedure includes: Further receiving a certificate for the long-term public key, and verifying whether the certificate was issued by a predetermined certification authority; If the verification is successful, a pairing operation is performed using the second temporary public key as a first argument and the first long-term private key as a second argument, and the result is used as a first key element; Calculate a second key element by raising the long-term public key to a power of the first value; Calculating a third key element by raising the second temporary public key to a power of the first value; generating, as the session key, an output value of a hash function H having as input the first key element, the second key element, the third key element, the first temporary public key, the second temporary public key, the first identifier, the second identifier, the long-term public key, and the certificate; The second temporary key transmission procedure includes: further transmitting the certificate to the first device; The second temporary key generation procedure includes: generate, as the second temporary public key, a power of a second value that is an output value of the hash function H2 having as input the second temporary private key and the second long-term private key and a base that is a generator of a cyclic group that is a domain of a first argument side of a pairing operation in the bilinear group, and The second session key generation procedure includes: calculating, as the first key element, a result of a pairing operation using the master public key as a base, a power of the second value as a first argument, and an output value of a hash function H 1 having the first identifier as an input as a second argument; Calculating the second key element to a power of the first temporary public key as a base and the second long-term private key as an exponent; Calculating the third key element by raising the first temporary public key to a power of the second value; generating, as the session key, an output value of the hash function H using as input the first key element, the second key element, the third key element, the first temporary public key, the second temporary public key, the first identifier, the second identifier, the long-term public key, and the certificate; method.
4. A method for use in an authentication key exchange system including a server functioning as a KGC for ID-based encryption, a first device that performs authentication based on the ID-based encryption, and a second device that performs authentication based on a digital signature, the system performing authentication key exchange between the first device and the second device, comprising: The server, a setup procedure for generating a bilinear group for use in the identity-based encryption, a master private key for the identity-based encryption, and a master public key corresponding to the master private key; a long-term private key generation step for generating a first long-term private key for a first identifier indicating an identifier of the first device; The first device comprises: a first temporary key generation step of generating a first temporary private key and generating a first temporary public key from the first temporary private key and the first long-term private key; a first temporary key transmission step of transmitting the first temporary public key and the first identifier to the second device; receiving at least a second temporary public key, a long-term public key of the second device, and a second identifier indicating an identifier of the second device from the second device, executing a first session key generation procedure for generating a session key from the first temporary public key, the second temporary public key, the long-term public key of the second device, the first temporary private key, the first long-term private key, the first identifier, and the second identifier; The second device comprises: a long-term key generation step of generating a second long-term private key and the long-term public key corresponding to the second long-term private key; a second temporary key generation step of generating a second temporary private key and generating the second temporary public key from the second temporary private key and the second long-term private key; a second temporary key transmission procedure for transmitting at least the second temporary public key, the long-term public key, and the second identifier to the first device; a second session key generation procedure for generating the session key from the first temporary public key, the second temporary public key, the second temporary private key, the master public key, the first identifier, and the second identifier; The first temporary key generation procedure includes: a hash function H2 having a generator of a cyclic group that is a domain of a first argument side of a pairing operation in the bilinear group as a base and having as input the first ephemeral private key and the first long-term private key as a first value as an exponent, The first session key generation procedure includes: Further receiving a certificate for the long-term public key and a signature of the second device, and performing a first verification indicating whether or not the certificate has been issued by a predetermined certificate authority and a second verification indicating verification of the signature; If the first verification and the second verification are successful, a pairing operation is performed with the second temporary public key as a first argument and the first long-term private key as a second argument, and a result of the pairing operation is calculated as a first key element; Calculating a second key element by raising the second temporary public key to a power of the first value; generating, as the session key, an output value of a hash function H having as input the first key element, the second key element, the first temporary public key, the second temporary public key, the first identifier, the second identifier, the long-term public key, the certificate, and the signature; The second temporary key transmission procedure includes: further transmitting the certificate and the signature to the first device; The second temporary key generation procedure includes: a second value, which is an output value of a hash function H3 having as input the second temporary private key and the second long-term private key, as an exponent, and generating, as the second temporary public key, a power of the second value, which is an output value of the hash function H3 having as an input a generator of a cyclic group that is a domain of a first argument side of the pairing operation in the bilinear group as a base, The second session key generation procedure includes: calculating, as the first key element, a result of a pairing operation using the master public key as a base, a power of the second value as a first argument, and an output value of a hash function H 1 having the first identifier as an input as a second argument; Calculating the second key element to a power of the first temporary public key and the second value as an exponent; generating, as the session key, an output value of the hash function H using as input the first key element, the second key element, the first temporary public key, the second temporary public key, the first identifier, the second identifier, the long-term public key, the certificate, and the signature; method.
5. A program for causing a computer to function as a server, a first device, or a second device included in the authentication key exchange system according to claim 1 or 2.
Citation Information
Patent Citations
System of transferring authority for decoding encrypted text
JP2009302861A
Subscription management service for secure messaging system
US7685414B1
