Privacy protection and traceable certificateless anonymous bidirectional authentication method suitable for Internet of Things

The certificateless anonymous two-way authentication method provides pseudonyms and authentication messages for IoT devices to achieve communication anonymity, solves the need for secure communication links in the key initialization process of IoT devices, meets high security attributes, and improves the security of IoT devices. It is secure and universal, preventing attackers from tracing the true identity, and achieving efficient two-way authentication and key agreement.

CN118784229APending Publication Date: 2024-10-15BEIJING UNIV OF TECH
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202411044469.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The number of IoT devices is huge and they are easily targets of security attacks. The existing certificate-less two-way authentication mechanism requires a secure communication link during the key initialization process, which limits the widespread application and development of the IoT and makes it difficult to balance high security and computing efficiency. reach a balance between them.

Method used

A certificate-less anonymous two-way authentication method is proposed to achieve communication anonymity by providing pseudonyms and authentication messages for IoT devices, abandoning the secure channel requirement for key initialization, and using lightweight XOR operations to encrypt data to satisfy perfect forward and backward Security, temporary key leakage security, scalability and anonymity, security proof and analysis based on discrete logarithms and computational Diffie-Hellman security assumptions.

Benefits of technology

It achieves privacy protection and traceability of IoT devices, improves security strength and universality, meets multiple high security attributes, prevents attackers from tracing their true identities, reduces the complexity of key negotiation and two-way authentication, and improves Safety and efficiency in practical applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784229A_ABST
    Figure CN118784229A_ABST
Patent Text Reader

Abstract

According to the certificateless anonymous bidirectional authentication method with privacy protection and traceability suitable for the Internet of Things provided by the invention, high-security and rapid legality verification and key agreement of the Internet of Things equipment are realized, and the method not only eliminates the requirement on a secure channel in a key application process, but also improves the security of the Internet of Things equipment. And a pseudonym and an anonymous authentication message are provided for the user, so that an attacker is prevented from tracing the real identity of the malicious equipment through the public key or the pseudonym of the equipment while the real identity of the malicious equipment is traced, and higher practicability is shown. And secondly, in order to meet the high-security requirement of the Internet of Things, through security certification and analysis, the method can meet the requirements of key negotiation, bidirectional authentication and non-repudiation, and can also realize perfect high-security-strength security attributes such as forward and backward security, temporary key leakage security, expandability, anonymity and traceability. According to the method, the average calculation overhead and the average communication overhead in the authentication process can be respectively reduced by 26.7% and 4%.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention mainly relates to the fields of Internet of Things and data security. Background Art

[0002] The mathematical difficulties or safety assumptions involved in this method are as follows.

[0003] (1) Discrete Logarithm (DL) Security Assumption

[0004] Assume that there exists an additive cyclic group G of order q and a generator P. It is easy for attacker A to calculate aP when aP is known, where · represents a multiplication operation. However, the possibility of calculating the correct a is negligible when aP is known.

[0005] (2) Computational Diffie-Hellman (CDH) Security Assumptions

[0006] Assume that there exists an additive cyclic group G of order q and a generator P. In the case of , it is easy for attacker A to calculate a·P, b·P and a·b·P, where · represents a multiplication operation. However, knowing a·P and b·P, the possibility of calculating the correct a·b·P is negligible.

[0007] The system model of the Internet of Things can be divided into three layers: perception layer, network layer and application layer. Figure 1 shown.

[0008] (1) Perception layer: It includes various sensor nodes and transmission nodes. Their main functions are to collect and transmit data, implement remote control, automate decision-making, and optimize resources, thereby achieving accurate perception and regulation of the real world, thereby improving resource utilization and management efficiency.

[0009] (2) Transport layer: includes various transmission devices. It uses various transmission protocols, such as WiFi and Zigbee, to achieve data transmission and interaction between IoT applications, between IoT devices, and between IoT devices and IoT applications.

[0010] (3) Application layer: It can be divided into two parts: trusted third party and IoT application. Trusted third party can be further divided into key generation center (KGC) and trusted registration authority (TRA). KGC is responsible for generating necessary keys for devices and users in IoT, while TRA provides anonymity protection and real identity traceability services. IoT applications can provide users or devices with a variety of IoT services, which currently cover multiple key areas such as smart home, smart healthcare, industrial IoT and smart transportation.

[0011] The formal model of certificateless two-way authentication can be divided into the following parts. The specific process is shown in the attached Figure 2 As shown:

[0012] (1) System initialization: After the key generation center KGC and the trusted registration structure TRA generate their own public and private keys, the trusted third party generates the system public parameters and distributes them to all devices in the system;

[0013] (2) Secret value generation: The device selects a random value to generate a secret value and part of the public key;

[0014] (3) Pseudonym generation: After the device sends a pseudonym application to the trusted third party TA, TRA generates a pseudonym for the device and sends a partial private key application and pseudonym to KGC.

[0015] (4) Partial private key generation: After receiving the partial private key application, the KGC generates the partial private key and sends the public key and pseudonym to the device.

[0016] (5) Full key generation: After receiving the partial private key and pseudonym, the device executes the verification equation and accepts the partial private key and pseudonym, which are combined with the previous secret value to form the full key;

[0017] (6) Bidirectional authentication: After the complete key generation is completed, the devices send authentication requests and authentication replies to complete the bidirectional identity verification of the devices.

[0018] (7) Key negotiation: Based on the random value in the two-way authentication process, both devices generate a drawing key known only to the other party for subsequent secure data communication. Summary of the invention

[0019] In the field of Internet of Things, facing the reality that there are a large number of devices and they are easy to become targets of various security attacks, the widespread application and promotion of Internet of Things has been seriously threatened by security. At present, researchers are facing great challenges in pursuing a balance between high security and computational efficiency, which also limits its development in practical applications. To solve this problem, this method starts from the high security requirements of IoT device authentication and key negotiation, and uses the certificateless public key cryptography system to study an efficient two-way authentication and key negotiation mechanism with high security attributes such as perfect forward security, temporary key leakage security, traceability and anonymity. In addition, the existing certificateless authentication mechanism requires a secure communication link during the key initialization process, which hinders the further development of the Internet of Things. Therefore, this method is committed to studying a highly secure and efficient two-way authentication and key negotiation mechanism to ensure the security of the Internet of Things and provide it with a safe and efficient solution.

[0020] In view of the fact that IoT devices are extremely vulnerable to illegal attacks, data transmission and privacy leakage, the present invention proposes a privacy protection and traceable certificateless anonymous two-way authentication method suitable for IoT. This method realizes the anonymity of communication during the authentication process by providing users with pseudonyms and authentication messages, and can prevent attackers from tracing the real identity of IoT devices from the public key or pseudonym of IoT devices, thereby ensuring the security of privacy data of IoT devices. At the same time, in order to improve the security strength of IoT, this method can meet a variety of high-intensity security attributes while meeting the basic security attributes, such as perfect forward and backward security, temporary key leakage security, and scalability. In addition, this method abandons the security channel requirements for key initialization of IoT devices, and uses lightweight XOR operations to securely encrypt data, thereby improving the universality of this method in practical applications of IoT.

[0021] The present invention proposes a certificate-free anonymous two-way authentication method with privacy protection and traceability for the Internet of Things. The method does not require pairing operations. By providing pseudonyms and communication anonymity for Internet of Things devices, it can provide privacy protection for Internet of Things devices and prevent attackers from tracing the real identity of the Internet of Things from the public key or pseudonym of the Internet of Things device. At the same time, the method does not require a secure communication link during the key initialization phase, which improves the universality in practical applications. In addition, based on the DL and CDH security assumptions, through security proof and analysis, the method can meet key negotiation, two-way authentication, non-repudiation, and can also achieve perfect forward and backward security, temporary key leakage security, scalability, anonymity and traceability, and can meet the high security requirements of existing Internet of Things devices as much as possible. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 System Model

[0023] Figure 2 Formal model flow chart

[0024] Figure 3 Flowchart of two-way authentication phase DETAILED DESCRIPTION

[0025] The proposed method can be specifically divided into 6 parts: system initialization, secret value generation, encryption generation, partial private key generation, complete key generation, and two-way authentication. In addition, at the end, the present invention gives the main calculation process of the method to verify the feasibility of the proposed method.

[0026] System Initialization

[0027] Assume that the trusted third party TA has two servers, namely the key generation center KGC and the trusted registration authority TRA, which are independent of each other. First, based on the input security parameter k, TA selects an additive cyclic group G and a generator P of G, where the sequence of G is q. Second, the key generation center KGC selects a random number As the master system key of KGC, calculate P pub =s·P as the system public key. Among them, represents a positive integer less than q, and · represents a multiplication operation. Similarly, the trusted registration authority TRA selects a random number As your own private key, calculate T pub =t·P as its own public key. Then, KGC selects 6 secure one-way hash functions H 2 : G → {0, 1} * , H 3 : G×{0, 1} * →{0, 1} * , Used for encryption transmission and hash calculation in this method, where {0, 1} * represents a bit string of any length, and n represents the number of bits of the session key. Finally, the key generation center KGC generates system parameters Params = {G, P, q, H 1 , H 2 , H 3 , H 4 , H 5 , H 6 , T pub , P pub}, and send the system parameters Params to all IoT devices or users in the system through public channels.

[0028] Secret value generation

[0029] During the key initialization phase, the IoT device U i Select random number As its own secret value, calculate P i =x i P as its own partial public key. Then, based on the IoT device U i Real ID RID i and TRA's public key T pub , using the hash function H 1 and H 2 , calculate the summary value h 1 =H 1 (RID i , P i )and And submit the pseudonym application request M 1 It is sent to the trusted registration authority TRA through a public channel to apply for a pseudonym and part of the private key. represents XOR operation, and || represents bit string concatenation.

[0030] Pseudonym Generation

[0031] Upon receiving the pseudonym application request M, the trusted registration authority TRA 1 After that, the following calculation process is performed to complete the IoT device U i Pseudonym generation.

[0032] (1) Using its own private key t, calculate and the summary value h 1 =H 1 (RID i ′,P i ′), where RID i ′,P′ i and h 1 ′ can be obtained by pairing RID i ′||P i ′||h 1 ' is divided into specific bit lengths, RID' i Indicates the IoT device U received by TRA i The true identity of P i ′ represents the IoT device U received by TRA i Part of the public key, h 1 ′ indicates that TRA receives the data from the IoT device U i The calculated digest value.

[0033] (2) Determine and verify the equation h 1 ′=h 1 Is it true? If so, it means that the message integrity check has passed and proceed to the next step; otherwise, the trusted registration agency TRA believes that the message has been illegally tampered with and directly discards it.

[0034] (3) Using the hash function H 3 , calculate the temporary value Setting PID i ={PID i,1 ,ΔT} as IoT device U i Pseudonym of IoT device, where ΔT represents the validity period of the pseudonym of IoT device;

[0035] (4) Using the hash function H 1 and H 2 , calculate h 2 =H 1 (PID i , P i ′), generate partial private key request And request M to send part of the private key through the public channel 2 Sent to the key generation center KGC for generating partial private keys.

[0036] Partial private key generation

[0037] The key generation center KGC receives the partial private key request M 2 After that, perform the following calculation to complete the IoT device U i Generate partial private key.

[0038] (1) With the help of KGC's master system key s and hash function H 2 , calculate PID in turn i ′||P i ′||h 2 ′= and h 2 =H 1 (PID i ′,P i ′), where PID i ′,P i ′ and h 2 ' can be obtained by PID i ′||P i ′||h 2 'Perform bit segmentation of a specific length to obtain PID' i ={PID i,1 ′, ΔT′} represents the IoT device U received by KGC i The pseudonym PID′ received by KGC is represented by ΔT′ i The validity period, P i ′ represents the IoT device U received by KGC i Part of the public key, h 2 ′ represents the IoT device U received by KGC i The calculated summary value;

[0039] (2) Determine and verify the equation h 2 ′=h 2 Is it true? If so, the message integrity check passes and KGC continues to the next step; otherwise, KGC believes that the message has been illegally tampered with and is directly discarded.

[0040] (3) Select a random number With the help of hash function H 4 , computing IoT devices U i Part of the public key R i =r i P and summary value h i =H 4 (PID i ′,P i ′,R i );

[0041] (4) Using the master system key s, calculate the IoT device U i Part of the private key d i =r i +s·h i , perform an XOR operation Bit string concatenation || and hash function H 2 , generate pseudonym and partial private key reply And reply the pseudonym and part of the private key to M through the public channel 3 Send to IoT device U i .

[0042] Complete key generation

[0043] After receiving the pseudonym and part of the private key, reply M 3 After that, IoT devices U i Execute the following calculation process to complete the generation of its own complete key.

[0044] (1) Public key P based on KGC pub , hash function H 2 , hash function H 3 AND XOR calculate and Among them, PID i ′,R i ′ and d i ' can be obtained by PID i ′||R i ′||d i 'Perform specific bit length segmentation to obtain PID i ′ represents the IoT device U i Received pseudonym, R i′ represents the IoT device U i The received partial public key, d i ′ represents the IoT device U i The received partial private key;

[0045] (2) Execute the verification equation RID i ′=RID i Is it true? If true, it means PID i Through verification, IoT devices U i PID i Set it as your own pseudonym and proceed to the next step of verification; otherwise, the IoT device U i Think message M 3 Illegal, discard directly;

[0046] (3) Based on the hash function H 4 , calculate h i ′=H 4 (PID i ′,P i , R i ′), execute and judge the verification equation d i ′·P=R i ′+h′ i ·P pub If the verification equation is established, it means that the received partial private key d i ′ and partial public key R i ′Through verification, IoT device U i Set PK i = {P i , R i =R i ′} as your complete public key, set SK i ={x i , d i =d i ′} as its own complete private key. i Initialization is completed with the pseudonym and public and private keys.

[0047] Two-way authentication

[0048] In the two-way authentication phase, assume that there are two IoT devices, Alice and Bob, and both have completed the initialization of public and private keys, that is, Alice’s complete public key and complete private key are PK A = {P A , R A} and SK A ={x A , d A}, Bob’s complete public key and complete private key are PK B= {P B , R B} and SK B ={x B , d B After that, this method divides the two-way authentication into authentication request, authentication response and key negotiation stages, and takes the authentication process between Alice and Bob as an example to illustrate the specific calculation process of authentication.

[0049] In the authentication request phase, IoT device Alice obtains its complete public key PK A = {P A , R A}、Full private key SK A ={x A , d A}、The complete public key PK of IoT device Bob B = {P B , R B} and pseudonym PID B After that, Alice performs the following calculation process to generate the authentication request Req.

[0050] (1) Select a random number Calculate the temporary value T 1 =(a+x A )·P;

[0051] (2) Execute the hash function H 4 , generate the digest value h B =H 4 (PID B , P B , R B ), calculate T 2 =(a+x A )·(P B +R B +h B ·P pub );

[0052] (3) Using the hash function H 5 , generate the digest value h = H 5 (PID A , PID B , T 1 , T 2 , P A , R A , P B , R B , P pub ), calculate the signature S = x A ·(d A h) -1 ;

[0053] (4) Using the hash function H 2 ,calculate in, represents XOR operation, | | represents bit string concatenation;

[0054] (5) Generate authentication request Req = {M 4 , T 2} and sent to the IoT device Bob through a public channel.

[0055] In the authentication response phase, IoT device Bob knows its complete public key PK B = {P B , R B}、Full private key SK B ={x B , d B} and received authentication request Req = {M 4 , T 2}After that, execute the following process to complete the verification of the authentication request Req and the generation of the authentication reply Rep.

[0056] (1) Using the hash function H 2 , calculate the temporary value T in turn 1 ′=(x B +d B ) -1 ·T 2 and Among them, S' represents the signature received by Bob, PID A ′ represents Alice’s pseudonym received by Bob, P A ′ and R A ' represents all the public keys of Alice received by Bob;

[0057] (2) According to the hash function H 5 and H 4 , respectively calculate the summary value h′=H 5 (PID A ′, PID B , T 1 ′,T 2 , P A ′,R A ′,P B , RB, P pub ) and h A ′=H 4 (PID A ′,P A ′,R A ′);

[0058] (3) Execute and judge the verification equation S′·h′·(R A ′+h A ′·P pub )=P A ' Is it true? If the verification equation is true, it means that the legitimacy of the IoT device Alice has passed, and Bob continues to perform the next step. Otherwise, Bob considers the message illegal and discards the authentication request message;

[0059] (4) Select a random number Calculate T 3 =(b+x B )·T 1 ′ and T 4 =(b+x B )·P A ′;

[0060] (5) With the help of hash function H 6 and H 1 , calculate the negotiated key key in turn BA =H 6 (T 3 , h′) and M 5 =H 1 (key BA , T 4 );

[0061] (6) Generate authentication reply message Rep = {M 5 , T 4} and sends it to the IoT device Alice through a public channel.

[0062] In the key negotiation phase, after receiving the authentication reply message Rep, the IoT device Alice performs the following verification process to complete the generation of the negotiation key.

[0063] (1) According to the hash function H 6 , calculate T 3 ′=(x A +a)·x A -1 ·T 4 and negotiate the key AB =H 6 (T 3 ′, h);

[0064] (2) According to the hash function H 1 , calculate the summary value M 5 ′=H 1 (key AB , T 4 ), judge and verify equation M 5 ′=M5 Is it true? If true, it means that the authentication reply message is legal and the negotiated key key is used. AB Encrypted communication is performed with Bob. Otherwise, Alice considers the authentication reply message illegal and discards it directly.

[0065] Correctness Analysis

[0066] In order to ensure the correctness and feasibility of the proposed method, this method gives the specific calculation process details related to the proposed method, as follows.

[0067] (1) For the temporary value T 1 and T 1 ′ is equal to:

[0068] T′ 1 =(x B +d B ) -1 ·T 2

[0069] =(x B +d B ) -1 ·(a+x A )·(P B +R B +h B ·P pub )

[0070] =(a+x A )·P

[0071] =T 1

[0072] Among them, T′ 1 and T 1 They represent the temporary values ​​calculated by Bob and Alice respectively, T 2 =(a+x A )·(P B +R B +h B ·P pub ) indicates that Bob accepts the authentication request Req = {M 4 , T 2} part, x B and d B Represent Bob's secret value and part of the private key respectively.

[0073] (2) For the temporary value T 3 and T 3 ′ is equal to:

[0074] T′ 3 =(x A+a)·x A -1 ·T 4

[0075] =(x A +a)·x A -1 ·(b+x B )·P′ A

[0076] =(x A +a)·(b+x B )x A ·P

[0077] =(b+x B )·(x A +a)·P

[0078] =(b+x B )·T′ 1

[0079] =T 3

[0080] Among them, T′ 3 and T 3 They represent the temporary values ​​calculated by Alice and Bob, respectively, A and x B They represent the secret values ​​of Alice and Bob respectively, and a and b represent the random values ​​generated by Alice and Bob respectively.

[0081] (3) Verification calculation for signature S′:

[0082] S′·h′·(R′ A +h′ A ·P pub )=x A ·(d A h) -1 ·h′·(R′ A +h′ A ·P pub )

[0083] =x A ·(r A +sh A ) -1 ·(R′ A +h′ A ·P pub )

[0084] =x A ·P

[0085] =P A

[0086] =P A '

[0087] Where S′=x A ·(d A h) -1 Indicates the signature received by Bob, PID A ′ represents Alice’s pseudonym received by Bob, P A ′ and R A ′ respectively represent the partial public key of Alice received by Bob, P pub Indicates the system public key.

[0088] (4) For the negotiated key BA and negotiate the key AB Equality calculation:

[0089] key BA =H 6 (T 3 , h′)=H 6 (T 3 ′, h) = key AB

[0090] Among them, key BA Indicates the negotiated key generated by Bob, key AB represents the negotiated key generated by Alice, T 3 represents the temporary value generated by Bob, T 3 ′ represents the temporary value generated by Alice, h′ and h represent the temporary value generated by Bob and Alice using the hash function H 5 The generated digest value.

[0091] Therefore, it can be found from the above equation that the present method is computationally feasible.

Claims

1. A privacy-preserving and traceable certificateless anonymous two-way authentication method suitable for the Internet of Things, characterized in that: It is divided into 6 parts: system initialization, secret value generation, encryption generation, partial private key generation, complete key generation, and two-way authentication; System Initialization Assume that the trusted third party TA has two servers, namely the key generation center KGC and the trusted registration authority TRA, which are independent of each other; first, based on the input security parameter k, TA selects an additive cyclic group G and a generator P of G, where the sequence of G is q; secondly, the key generation center KGC selects a random number As the master system key of KGC, calculate P pub =s·P as the system public key; where, represents a positive integer less than q, and · represents a multiplication operation; similarly, the trusted registration authority TRA selects a random number As your own private key, calculate T pub =t·P as its own public key; then, KGC selects 6 secure one-way hash functions H2:G→{0,1} * , H3:G×{0,1} * →{0,1} * , Used for encrypted transmission and hash calculation, where {0,1} * represents a bit string of arbitrary length, n represents the number of bits of the session key; finally, the key generation center KGC generates system parameters Params = {G, P, q, H1, H2, H3, H4, H5, H6, T pub ,P pub }, and send the system parameters Params to all IoT devices or users in the system through public channels; Secret value generation During the key initialization phase, the IoT device U i Select random number As its own secret value, calculate P i =x i P as its own partial public key; then, based on the IoT device U i Real ID RID i and TRA's public key T pub , using hash functions H1 and H2, calculate the summary value h1=H1(RID i ,P i )and The pseudonym application request M1 is sent to the trusted registration authority TRA through a public channel to apply for a pseudonym and part of the private key; represents XOR operation, || represents bit string concatenation; Pseudonym Generation After receiving the pseudonym application request M1, the trusted registration authority TRA performs the following calculation process to complete the IoT device U i Pseudonym generation; (1) Using its own private key t, calculate and summary value h1 = H1(RID i ′,P i ′), where RID i ′,P i ′ and h1′ are determined by RID i ′||P i ′||h1′ is segmented to obtain RID i ′ represents the IoT device U received by TRA i The true identity of P i ′ represents the IoT device U received by TRA i h1′ represents the partial public key received by TRA from the IoT device U i The calculated summary value; (2) Determine whether the verification equation h1′=h1 holds. If so, it means that the message integrity check has passed and the next step is continued. Otherwise, the trusted registration authority TRA considers that the message has been illegally tampered with and directly discards it. (3) Using hash function H3, calculate the temporary value Setting PID i ={PID i,1 ,ΔT} as IoT device U i Pseudonym of IoT device, where ΔT represents the validity period of the pseudonym of IoT device; (4) Using hash functions H1 and H2, calculate h2 = H1 (PID i ,P i ′), generate partial private key request And send the partial private key request M2 to the key generation center KGC through a public channel for generating a partial private key; Partial private key generation After receiving the partial private key request M2, the key generation center KGC performs the following calculation to complete the IoT device U i Partial private key generation; (1) Using the master system key s of KGC and the hash function H2, calculate and h2=H1(PID i ′,P i ′), where PID i ′,P i ′ and h2′ are determined by PID i ′||P i ′||h2′ performs bit segmentation of a specific length to obtain PID i ′={PID i,1 ′,ΔT′} represents the IoT device U received by KGC i The pseudonym ΔT′ represents the pseudonym PID received by KGC i 'Validity period, P i ′ represents the IoT device U received by KGC i h2′ represents the partial public key of the IoT device U received by KGC. i The calculated summary value; (2) Determine whether the verification equation h2′=h2 holds. If so, the message integrity check passes and KGC proceeds to the next step. Otherwise, KGC considers that the message has been illegally tampered with and directly discards it. (3) Select a random number With the help of hash function H4, the IoT device U i Part of the public key R i =r i P and summary value h i =H4(PDI i ′,P i ′,R i ); (4) Using the master system key s, calculate the IoT device U i Part of the private key d i =r i +s·h i , perform an XOR operation Bit string concatenation || and hash function H2 to generate pseudonyms and partial private key responses The pseudonym and part of the private key reply M3 are sent to the IoT device U through a public channel. i ; Complete key generation After receiving the pseudonym and partial private key reply M3, the IoT device U i Execute the following calculation process to complete the generation of its own complete key; (1) Public key P based on KGC pub , hash function H2, hash function H3 and XOR operation calculate and Among them, PID i ′,R i ′ and d i ' can be obtained by PID i ′||R i ′||d i 'Execute segmentation to obtain PID i ′ represents the IoT device U i Received pseudonym, R i ′ represents the IoT device U i The received partial public key, d i ′ represents the IoT device U i The received partial private key; (2) Execute the verification equation RID i ′=RID i Is it true? If true, it means PID i Through verification, IoT devices U i PID i Set it as your own pseudonym and proceed to the next step of verification; otherwise, the IoT device U i Message M3 is considered illegal and discarded directly; (3) Based on the hash function H4, calculate h′ i =H4(PID i ′,P i ,R i ′), execute and judge the verification equation d i ′·P=R i ′+h′ i ·P pub Is it true? If the verification equation is true, it means that the received partial private key d i ′ and partial public key R i ′Through verification, IoT device U i Setting up RK i = {P i ,R i =R i ′} as your complete public key, set SK i ={x i ,d i =d i ′} as its own complete private key; from then on, the IoT device U i Initialize the pseudonym and public and private keys; Two-way authentication In the two-way authentication phase, assume that there are two IoT devices, Alice and Bob, and both have completed the initialization of public and private keys, that is, Alice’s complete public key and complete private key are PK A = {P A ,R A } and SK A ={x A ,d A }, Bob’s complete public key and complete private key are PK B = {P B ,R B } and SK B ={x B ,d B }; After that, the two-way authentication is divided into the authentication request, authentication response and key negotiation stages, and the specific calculation process of authentication is explained by taking the authentication process between Alice and Bob as an example; In the authentication request phase, IoT device Alice obtains its complete public key PK A = {P A ,R A }、Full private key SK A ={x A ,d A }、The complete public key PK of IoT device Bob B = {P B ,R B } and pseudonym PID B After that, Alice performs the following calculation process to generate the authentication request Req; (1) Select a random number Calculate the temporary value T1 = (a + x A )·P; (2) Execute hash function H4 to generate summary value h B =H4(PID B ,P B ,R B ), calculate T2 = (a + x A )·(P B +R B +h B ·P pub ); (3) With the help of hash function H5, a summary value h=H5(PID A ,PID B ,T1,T2,P A ,R A ,P B ,R B ,P pub ), calculate the signature S = x A ·(d A h) -1 ; (4) Using the hash function H2, calculate in, represents XOR operation, || represents bit string concatenation; (5) Generate an authentication request Req = {M4, T2} and send it to the IoT device Bob through a public channel; In the authentication response phase, IoT device Bob knows its complete public key PK B = {P B ,R B }、Full private key SK B ={x B ,d B } and after receiving the authentication request Req = {M4, T2}, the following process is performed to complete the verification of the authentication request Req and the generation of the authentication reply Rep; (1) Using the hash function H2, calculate the temporary value T1′=(x B +d B ) -1 T2 and Among them, S' represents the signature received by Bob, PID A ′ represents Alice’s pseudonym received by Bob, P A ′ and R A ' represents all the public keys of Alice received by Bob; (2) According to the hash functions H5 and H4, the digest values ​​h′=H5(PID A ′,PID B ,T1′,T2,P A ′,R A ′,P B ,R B ,P pub ) and h A ′=H4(PID A ′,P A ′,R A ′); (3) Execute and judge the verification equation S′·h′·(R A ′+h A ′·P pub )=P A ' Is it true? If the verification equation is true, it means that the legitimacy of the IoT device Alice has passed, and Bob continues to perform the next step. Otherwise, Bob considers the message illegal and discards the authentication request message; (4) Select a random number Calculate T3 = (b + x B )·T1′ and T4=(b+x B )·P A ′; (5) Using hash functions H6 and H1, the negotiated key is calculated in turn. BA =H6(T3,h′) and M5=H1(key BA ,T4); (6) Generate an authentication reply message Rep = {M5, T4} and send it to the IoT device Alice through a public channel; In the key negotiation phase, after receiving the authentication reply message Rep, the IoT device Alice performs the following verification process to complete the generation of the negotiation key; (1) According to the hash function H6, T3′=(x A +a)·x A -1 T4 and negotiated key AB =H6(T3′,h); (2) According to the hash function H1, calculate the summary value M5′=H1(key AB ,T4), determine whether the verification equation M5′=M5 holds; if so, it means that the authentication reply message is legal and the negotiated key key is used. AB Encrypted communication is performed with Bob. Otherwise, Alice considers the authentication reply message illegal and discards it directly.

Citation Information

Cited By

  • Network communication privacy protection method and system based on multistage pseudonym mechanism

    CN119675899A

  • Privacy protection and dynamic certificateless group key negotiation method in unmanned aerial vehicle network

    CN119743751A

  • A Privacy Protection and Dynamic Certificateless Group Key Agreement Method in UAV Networks

    CN119743751B

  • Privacy protection and traceable anonymous bidirectional authentication method for heterogeneous Internet of Vehicles

    CN120730299A