Anonymous authentication method based on Hash function group signature in Internet of Vehicles environment

By adopting a combined solution of multi-tree architecture and HMAC pre-authentication value in the Internet of Vehicles environment, the problem of difficulty in balancing group member dynamics and efficient verification in the existing technology is solved, and efficient vehicle anonymous authentication and rapid revocation are achieved, improving the Authentication efficiency and security in the Internet of Vehicles environment.

CN118764249AActive Publication Date: 2024-10-11XIDIAN UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410901297.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-10-11
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

The existing group signature scheme based on the Hash function is difficult to take into account the dynamics and efficient verification of group members in the Internet of Vehicles environment, and is inefficient when revoking group members, and cannot meet the information interaction needs in the Internet of Vehicles environment.

Method used

Using multi-tree architecture and HMAC pre-authentication value, by optimizing the sub-tree construction process and signature verification process, it can realize the dynamic joining and exit of group members, improve the efficiency of signature verification, and support the batch withdrawal of group members.

Benefits of technology

It shortens the time required for group members to join the group, improves vehicle authentication efficiency, reduces signature verification calculation overhead, and improves anonymity security and revocation efficiency. Simulation results show that the calculation overhead is reduced by about 50%.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764249A_ABST
    Figure CN118764249A_ABST
Patent Text Reader

Abstract

The invention discloses an anonymous authentication method based on a Hash function group signature in an Internet of Vehicles environment. The anonymous authentication method mainly solves the problems that in the prior art, when anonymous authentication of a vehicle is achieved, dynamicity is lacked, and the efficiency of revoking group members and verifying the group signature is low. The method is technically characterized in that dynamic joining of group members is realized by constructing two Merkle trees, namely a main tree and a signature sub-tree; the group administrator links the signature sub-tree of the new member to the main tree through Hash operation, so that the new member can generate a correct group signature; the group member calculates the Hash value of the public key and the temporary identity identifier and sends the Hash value to the group manager for identity authentication, so that an attacker cannot initiate an attack to the group manager by counterfeiting the member; and the verifier verifies the received group signature and judges whether the signature user is a legal group member to realize anonymous authentication between vehicles in the vehicle network environment. The method has the advantages of anonymous security, short time for group members to join the group and high vehicle authentication efficiency, and can be used for anonymous authentication in an Internet of Vehicles environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of information security technology, and in particular relates to an anonymous authentication method, which can be used for secure communication in a vehicle networking environment. Background Art

[0002] In recent years, with the rapid development of my country's automobile industry and the improvement of residents' living standards, cars have become the main means of transportation for Chinese residents. Intelligent transportation system (ITS) has emerged as a typical application of Internet of Things technology in the field of transportation. It combines sensing, communication, computing and artificial intelligence technologies to coordinate the cooperation between people, vehicles and roads, with the aim of establishing an efficient integrated transportation system.

[0003] As the core branch of ITS, the Internet of Vehicles is a large-scale mobile self-organizing network, which is usually composed of three parts: on-board unit OBU, fixed roadside unit RSU and trusted center TA. It can provide new solutions for improving the road environment, traffic safety and infotainment dissemination for drivers and passengers. However, without a reliable security authentication and privacy protection mechanism, attackers will easily impersonate legitimate vehicles to publish false messages to achieve bad purposes, such as causing traffic accidents or monopolizing road resources, and it is also easy to steal the private information of moving vehicles, such as identity, driving route and other information for tracking or identifying preferences. However, when necessary, the authoritative traffic department still needs to be able to quickly and accurately track the real identity of the vehicle. In addition, due to the high-speed movement of vehicles in the Internet of Vehicles, the interaction time between vehicles and between vehicles and roadside units is very limited. Therefore, it is very necessary to design an efficient authentication scheme with conditional privacy protection in the Internet of Vehicles. Group signatures are very consistent with the conditional privacy protection authentication mechanism required in the Internet of Vehicles because of their anonymity and traceability, and are therefore widely used in the Internet of Vehicles to achieve safe and efficient anonymous authentication of vehicles.

[0004] In the group signature scheme, the overall structure of the group signature is composed of multiple group members and a group administrator. Multiple group members share a group public key, and each group member can use his or her own private key to anonymously sign messages on behalf of the entire group. The signature recipient can use the group public key to verify the correctness of the signature but cannot know the identity of the specific signer. The group administrator is responsible for registering group members and building the group public key when the group is initialized. When necessary, the group administrator can open the group signature to track the corresponding signer. For group members who have dishonest behavior, the group administrator can revoke their group membership. In the Internet of Vehicles environment, the RSU generally serves as the group administrator of a group, and all vehicles located in the RSU area constitute group members.

[0005] Compared with traditional group signature schemes, group signature schemes based on hash functions can resist attacks from quantum computers and have higher security. At the same time, group signature schemes based on hash functions have the characteristics of simple structure and high signature efficiency, and group members can join and revoke without updating the group public key. It has become one of the hot topics in cryptography research.

[0006] A hash function-based group signature scheme that can be applied to the Internet of Vehicles usually needs to meet three conditions: first, group members can dynamically join and efficiently withdraw, second, it can quickly verify the signed message, and third, it has anonymity and traceability. Its application scenarios include Figure 1 As shown in the figure, it includes four entities, namely the trusted center TA responsible for checking the identity of the vehicle, the group administrator served by the RSU, each RSU is responsible for maintaining a dynamic group, and all vehicles within the communication range of the RSU unit constitute the group members and the verifier. In this model, the user first registers with the TA, and the TA checks the user's true identity. When the user enters a certain RSU area, the RSU needs to authenticate the user. After the identity authentication is completed, the RSU issues a private key to the user and includes it in the group. Then the user uses his own private key to sign the message in the group. Finally, the verifier verifies the validity of the group signature. The verifier can only verify whether the signature is generated by a legitimate group member, but cannot know the true identity of the signer. When malicious signatures or other improper behaviors appear in the group, the RSU can obtain the true identity of the signer through the signature opening algorithm to hold him accountable. When the RSU finds that some members in the group have dishonest behavior, it will use the corresponding revocation algorithm to revoke the signature authority of the dishonest user.

[0007] However, the existing group signature scheme based on hash functions mainly combines one-time signature and multi-Merkle tree architecture to realize the multiple signatures of group members on messages and the dynamic joining requirements of group members, but it often cannot take into account the dynamic nature of group signatures and the efficient verification of group signatures. In addition, the existing schemes are often inefficient in revoking group members and are not suitable for information interaction in the Internet of Vehicles environment.

[0008] The document "DGM: A Dynamic and Revocable Group Merkle Signature" constructs two types of Merkle trees, the main tree and the subtree. The main tree is only responsible for generating the group public key, and the subtree is used to verify the group signature. The main tree and the subtree are linked through symmetric encryption. This scheme allows group members to join and leave dynamically, but the efficiency of revoking group members is low. This scheme uses punctuation encryption SPE to encrypt the relevant information of the revoked members. When verifying the signature, the verifier first performs SPE encryption and decryption operations on part of the information in the signature to check whether the signer is revoked. After the check is passed, the next step of signature validity check is performed. Although the use of SPE to revoke group members does not require a revocation list, the SPE encryption and decryption operation itself has a large computational overhead. At the same time, SPE will generate corresponding SPE tags, and the group administrator needs to save these SPE tags, which places high requirements on the storage space of the group administrator.

[0009] The document "GMMT: A Revocable Group Merkle Multi-tree Signature Scheme" also constructs a multi-tree architecture by building two types of Merkle trees, the main tree and the subtree, but this scheme realizes the link between the main tree and the subtree through a one-time signature. At the same time, this scheme uses the revocation list method to revoke group members, and puts the relevant information of the revoked group members into the revocation list. When verifying the signature, the verifier first checks the revocation list to determine whether the current signature is issued by the revoked group member. After the check is passed, the next step of signature validity check is performed. Although the revocation list used in this method is very convenient to implement and is widely used in dynamic group signatures to revoke group members, as the number of revoked members increases, the length of the revocation list also increases, which will directly affect the computational overhead of verifying the group signature.

[0010] The patent document with application number CN202210689218.7 discloses a blockchain-based Internet of Vehicles certificate authentication method. It mainly solves the problems of single point failure, certificate revocation and lack of mutual trust between cross-center nodes in the Internet of Vehicles certificate authentication technology. Although this method improves the efficiency of cross-domain identity authentication in the Internet of Vehicles and reduces the cost of identity authentication, it still belongs to a certificate-based identity authentication method. The identity information of each vehicle is included in the digital certificate, so it is not anonymous and is easily tracked by the adversary, threatening the safety of vehicle driving. Summary of the invention

[0011] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and propose an anonymous authentication method based on Hash function group signature in a vehicle networking environment, so as to improve the anonymity security in the vehicle authentication process, shorten the time required for group members to join the group, and improve the efficiency of vehicle authentication.

[0012] This technology is suitable for anonymous vehicle authentication in the Internet of Vehicles environment.

[0013] The technical ideas for achieving the purpose of the present invention are: to improve the anonymity security in the vehicle authentication process by using group signature technology; to shorten the time required for group members to join the group by optimizing the subtree construction process in the hash function-based group signature scheme; and to improve the efficiency of signature verification by adding an HMAC-based pre-authentication value to the signature.

[0014] According to the above ideas, the technical solution of the present invention includes the following steps:

[0015] (1) Adopting a “multi-tree architecture” to realize dynamic joining and exit of group members:

[0016] (1a) Each roadside unit RSU in the Internet of Vehicles acts as a group administrator and maintains a group. During the initial setting, the RSU constructs a Merkle tree as the main tree through the main tree generation algorithm, and uses the root node value of the main tree as the public key gpk of the entire group;

[0017] (1b) When a user applies to join a group, the user uses his / her one-time public key set as the leaf node of the Merkle tree to build a Merkle tree upward as a signature subtree. The RSU completes the link between the main tree and the signature subtree, that is, in addition to the root node of the main tree, the internal node F that is closer to the root node n Prioritize linking with subtrees. Each member joining the group links a signature subtree of its own on the main tree for dynamic joining.

[0018] (1c) If some members in the group behave dishonestly, they will be revoked by the RSU, and the signature subtree of the revoked member or the member that has left the communication range of the RSU will be cleared from the main tree to achieve dynamic exit of group members;

[0019] (2) Use certificate authentication to verify the legitimacy of the user's identity by RSU:

[0020] (2a)ID u The user sends his / her real identity to the trusted center TA through a secure channel. After obtaining the user's real identity, TA checks the ID from the parameter list IDList. u Is the user revoked?

[0021] If yes, it is determined that no new digital certificate is issued for it;

[0022] Otherwise, it is determined that a digital certificate is to be issued to the user, and step (2b) is executed;

[0023] (2b)TA uses its own private key s to issue digital certificates to legitimate users;

[0024] (2c) User ID u After entering a certain RSU area, send the certificate you hold to the RSU. After the RSU verifies the legitimacy of the certificate, it will be issued to the ID u Generate signature key gsk u , Temporary Identity Identifier TID u , used to calculate the verification key vsk The forward key and the backward key And the bivariate polynomial f(TID u ,y), where y is a variable and uses ID u The public key pk u Encrypt the above information and send it to ID u ;

[0025] (3) User ID u Generate multiple one-time key pairs, each of which includes a one-time private key OTS.sk and a one-time public key OTS.pk, and use OTS.pk to form a signature subtree, which is then linked to the main tree by the RSU;

[0026] (4) The user uses his own signature private key to generate a group signature for the message:

[0027] (4a) User ID u Select an unused one-time private key OTS.sk and generate a one-time signature OTS.σ for the message message;

[0028] (4b)ID u Calculate the public key corresponding to the selected private key to the signature subtree root node r SMT The authentication path path2 is used, and the HMAC value of the one-time signature OTS.σ is calculated using its own verification key vsk: hmac = HMAC vsk (OTS.σ);

[0029] (4c) Generate the complete group signature σ based on the results of (4a) and (4b):

[0030] σ={OTS.σ,hmac,OTS.pk,path1,path2,F k}

[0031] Among them, path1 is the internal node Fn Verification path to the root node of the main tree, F k For internal node F n and the root node r of the signature subtree SMT The link value of

[0032] (5) The verifier anonymously authenticates the signing user using the received group signature σ and group public key gpk:

[0033] (5a) After receiving the group signature σ of the message message from other users in the group, the verifier uses its own verification key vsk to calculate the HMAC value hmac′=HMAC of OTS.σ in the group signature vsk (OTS.σ) and verify whether the user has been revoked: if hmac′=hmac, the user has not been revoked, and continue to step (5b); otherwise, discard the signature;

[0034] (5b) The verifier uses the one-time public key OTS.pk in the group signature and the one-time signature verification algorithm OTS.verify(OTS.σ,message) to verify whether the one-time signature in the group signature is correct:

[0035] If the one-time signature is correct, execute step (5c); otherwise, discard the group signature σ;

[0036] (5c) The verifier continues to verify the correctness of the group signature σ through OTS.pk, path1 and path2 in the group signature:

[0037] If the signature is correct, the signing user passes the identity authentication of the verifier;

[0038] Otherwise, the signing user fails to pass the identity authentication of the verifier and the group signature σ is discarded.

[0039] Compared with the prior art, the present invention has the following advantages:

[0040] Firstly, the signature of the present invention only includes a pre-authentication value, a one-time signature, and a verification path, and the size of the verification path is determined during the initial setting and is independent of the number of group members. This avoids the disadvantage of the prior art solution that the multi-layer Merkle tree structure is used to increase the verification path. Furthermore, since the pre-authentication value is a Hash function value, the signature size is greatly reduced compared to the one-time signature that is required to be added in the prior art solution.

[0041] Secondly, since the present invention optimizes the construction process of the signature subtree, the leaf nodes of each signature subtree are provided by the same user instead of multiple users, which avoids the symmetric encryption and sorting operations when constructing the signature subtree in the existing scheme, and greatly speeds up the construction of the signature subtree. At the same time, since the user uses a temporary identity identifier in the whole process, even if the construction of the signature subtree is simplified to a certain extent, the anonymity of the signature and the user privacy will not be damaged. In addition, since the present invention uses a hash function to realize the mutual link between the subtree and the main tree, compared with the existing scheme that uses a one-time signature to link the main tree and the signature subtree, the computational overhead when constructing the subtree is reduced, and the verification time of the group signature is also shortened.

[0042] Thirdly, since the present invention introduces an HMAC-based pre-authentication value in the group signature, the revocation of group members can be achieved by updating the HMAC verification key, so that the revoked members cannot calculate the new HMAC verification key, and also cannot calculate the correct pre-authentication value, thereby achieving the purpose of revoking group members. Compared with the existing scheme of using a more time-consuming multiple SPE encryption and decryption method to revoke group members, or using an overly long revocation list, the efficiency of signature verification can be improved, and at the same time, batch revocation of group members is supported, further improving the efficiency of revocation.

[0043] Fourthly, the present invention introduces a pre-authentication value based on HMAC in the group signature. When verifying the group signature, in addition to the one-time signature and verification path of the verification message, only the calculation of the pre-authentication value hmac and the verification of the F k and r SMT Calculate F N The operation is thus avoided by performing additional SPE encryption and decryption operations in the existing scheme, or the signature verification of the root node of the signature subtree and the problem of long signature verification time caused by the traditional revocation list mechanism. The simulation results show that compared with the existing dynamic group signature based on the hash function, the computational overhead of the present invention in the verification group signature stage is reduced by about 50%.

[0044] Fifthly, in the present invention, a certificate is issued to each legitimate user by the trusted center TA, that is, when a user joins a group, the group administrator verifies the user's identity by verifying the user's certificate, and completes information interaction with the user in an encrypted manner in a wireless network environment. Compared with the method of using a secure channel in the existing solution, the present invention is more in line with the actual communication needs of the Internet of Vehicles. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is a schematic diagram of an application scenario of the present invention;

[0046] Figure 2 This is a schematic diagram of the existing Internet of Vehicles model;

[0047] Figure 3 It is a flow chart for realizing the present invention;

[0048] Figure 4 Schematic diagram of the group signature multi-tree architecture in the present invention;

[0049] Figure 5 A schematic diagram of updating the verification key chain in the present invention;

[0050] Figure 6 This is a simulation comparison image of the computational overhead of anonymous vehicle authentication in a connected vehicle environment between the present invention and the existing hash function group signature method. DETAILED DESCRIPTION

[0051] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, other embodiments obtained by ordinary technicians in this field without creative work should all fall within the scope of protection of the present invention.

[0052] Reference Figure 1 The application scenario of the present invention is based on the existing interactive system, which includes a trusted center TA, a roadside unit RSU, a vehicle user, and a verifier. The interactive process is as follows: first, the user registers with the TA, and the TA generates a certificate for the user; when the user enters a certain RSU area, the user needs to use the digital certificate issued by the TA to authenticate with the RSU; after the identity authentication is completed, the RSU issues a private key to the user and includes it in the group; then the user can use his or her private key to sign the message in a group, and finally, the verifier verifies the validity of the group signature, thereby completing the anonymous identity authentication of the signing user.

[0053] The core idea of ​​the present invention is to add HMAC pre-authentication value to the group signature to realize efficient verification of the signature and rapid revocation of group members. When a group member requests to join the group, the group administrator verifies the certificate held by the group member and distributes a temporary identity identifier (TID) to the group member after the verification is passed. u , used to generate the signature key gsk uAnd some other necessary information. After obtaining this information, the group members calculate the corresponding verification key vsk. In the subsequent signing stage, in addition to generating a one-time signature and the corresponding verification path for the signed message, the group members also need to calculate the HMAC value of the one-time signature under the verification key vsk as part of the entire group signature. When the verifier and other group members verify a signature, they first calculate the corresponding HMAC value HMAC based on the verification key vsk they have and the one-time signature in the signature. vsk (OTS.σ), if the HMAC value is the same as the HMAC value in the signature, the next step of signature validity verification is carried out, otherwise, it is considered to be an invalid signature.

[0054] If the group administrator finds that some group members are dishonest, the group administrator will revoke the group member so that they cannot generate the correct group signature.

[0055] This example takes the Internet of Vehicles as an example and performs anonymous identity authentication between vehicles.

[0056] like Figure 2 As shown in the figure, the Internet of Vehicles includes a trusted center TA, roadside units RSU and vehicle users. As the computing and storage center of the entire Internet of Vehicles, TA has strong computing power and storage space, and communicates with the roadside units RSU through wired transmission. There are multiple roadside units RSU and users in the Internet of Vehicles. All users in the Internet of Vehicles are members of the group. Information exchange between RSU and users and between users is completed through wireless transmission.

[0057] Reference Figure 3 , the implementation steps of this example are as follows:

[0058] Step 1: During the initial group setup, the roadside unit (RSU) constructs a Merkle tree as the group master tree.

[0059] 1.1) RSU selects any 2 H-1 A random number is used as the value of the Merkle tree child node, and then the values ​​of every two adjacent leaf nodes are sequentially cascaded and hashed to obtain the value of its parent node;

[0060] 1.2) Perform cascade operations and hash operations on the calculated values ​​of every two adjacent parent nodes to obtain the value of the parent node in the previous layer;

[0061] 1.3) Repeat step 1.2) and build a Merkle tree with a height of H as the main tree of the group, such as Figure 4 As shown, the root node of the main tree is recorded as gpk and released externally.

[0062] Step 2: Adopt "multi-tree architecture" to realize dynamic joining and exit of group members:

[0063] 2.1) When a user applies to join a group, the user uses his / her one-time public key set as the leaf node of the Merkle tree to construct a Merkle tree for verifying the one-time signature as the signature subtree. The RSU completes the link between the main tree and the signature subtree, that is, in addition to the root node of the main tree, the internal node F that is closer to the root node n Prioritize linking with subtrees. Each member joining the group links a signature subtree of its own on the main tree for dynamic joining.

[0064] 2.2) If some members of the group behave dishonestly, the RSU will revoke their membership:

[0065] 2.2.1) RSU determines dishonest behavior, including publishing false information, and lists users who have engaged in such behavior as revoked members;

[0066] 2.2.2) The RSU broadcasts the key update information B to all users in the group j+1 :

[0067] B j+1 = {r j+1 (x)}∪{p j+1 (x)}

[0068] Among them, r j+1 (x) = (x-TID r1 )(x-TID r2 )…(x-TID rw )

[0069]

[0070] TID r1 …TID rw is the temporary identifier of the group member that is revoked in this round, and x is a variable;

[0071] 2.2.3) All users in the group receive the update information B j+1 After that, the key vsk used to calculate the new round of verification is calculated. j+1 The forward key and the backward key Values:

[0072]

[0073] Among them, TID i A temporary identifier for each group member;

[0074] 2.2.4) According to and The value of , all the group members who have not been revoked calculate the new round of verification key vsk j+1 : like Figure 5 As shown,

[0075] in, The forward key from the previous round Perform a hash operation to get: The hash value is the previous round of backward key The forward key and the backward key at the corresponding position are added and hashed in turn to obtain the verification key. Both the forward key and the backward key are stored in the form of a key chain by the RSU.

[0076] 2.3) The unrevoked users use the new round of verification key vsk j+1 Continue to generate the correct group signature for identity authentication, and all revoked group members must first send their temporary identity identifier TID r Substitute the polynomial r j+1 Calculate r in (x) j+1 (TID r ) value, due to the expression r listed in step 2.2.2) j+1 r in (x) j+1 (TID r ) value is 0, that is, the expression listed in step 2.2.3) The denominator r j+1 (TID r ) value is 0, so the revoked member cannot perform subsequent calculations to find the new round of verification key vsk j+1 The value of , that is, the correct group signature cannot be generated, and the signing qualification is revoked;

[0077] 2.4) The RSU clears the signature subtree of the revoked members or group members who have left the communication range of the RSU from the main tree to achieve dynamic exit of group members.

[0078] Step 3: The trusted center TA issues a digital certificate to the legitimate user.

[0079] 3.1) ID u The user sends his / her real identity to the trusted center TA through a secure channel. After obtaining the user's real identity, TA checks the ID from the parameter list IDList. u Is the user revoked?

[0080] If so, no new digital certificate will be issued for it;

[0081] Otherwise, to issue a digital certificate to the user, proceed to step 3.2);

[0082] 3.2) For User ID u , TA chooses a random number As ID u The private key sk u Used to communicate with RSU and generate the corresponding public key pk u =vP;

[0083] 3.3) TA uses his own private key s to the user ID u The public key pk u Sign and form a certificate Cert u :

[0084] Cert u =sign(s,(pk u ,hash(pk u ))

[0085] Among them, Sign(s,(pk u ,hash(pk u ))) means that TA uses private key s to u ,hash(pk u )) to sign, hash(pk u ) refers to the user ID u The public key pk u The value obtained by performing a hash operation;

[0086] 3.4)TA will sk u and Cert u Send securely to ID u , and pk u and ID u Stored in the parameter list IDList as associated data.

[0087] Step 4: Use certificate authentication to enable RSU to verify the legitimacy of the user's identity.

[0088] 4.1) User ID u After entering a certain RSU area, send the certificate you hold to the RSU. After the RSU verifies the legitimacy of the certificate, it will be issued to the ID u Generate signature key gsk u , Temporary Identity Identifier TID u , the forward key used to calculate the verification key vsk and the backward key And the bivariate polynomial f(TID u ,y), where y is a variable and uses ID u The public key pku Encrypt the above information and send it to ID u ;

[0089] 4.2) RSU uses TA’s public key Pub to encrypt the digital certificate Cert u Decrypt and obtain the information in the digital certificate (pk u ,hash(pk u ));

[0090] 4.3) RSU checks the pk in the certificate u Perform hash operation to obtain the hash value hash′(pk u ), and based on this, determine whether the user's digital certificate is valid:

[0091] If hash′(pk u )=hash(pk u ), then the digital certificate is valid, and go to step 5;

[0092] Otherwise, the digital certificate is invalid.

[0093] Step 5: User ID u Use the signing key gsk u Generate multiple one-time key pairs.

[0094] 5.1) ID u Choose a compression parameter ω (ω∈N, ω>1) that is related to the one-time signature size and signature generation time;

[0095] 5.2) ID u Choose an iteration function: Use this iterative function to calculate the user's one-time public key. When performing iterative calculations, the output value of each iterative calculation is used as the key value for the next iterative calculation, such as Where k is the key value of the iterative function f, i is the number of iterations of the iterative function f, and a is the input of the iterative function f;

[0096] 5.3) ID u Choose a random value x←{0,1} n , and then use your signature private key gsk u As the key seed, it is generated by a pseudo-random number generator PRNG2 h-1 One-time signature keys, each of which contains l random bit strings of length n bits, namely OTS.sk=(sk1,……,sk l )←{0,1} (n,l) ,

[0097] Where n is the output length of f, and l is calculated as:

[0098] l=l1+l2,

[0099] m is the output length of the Hash function, log(*) is the logarithmic function with base 2;

[0100] 5.4) ID u Use the l-bit string in the one-time key OTS.sk as the key value of the iterative function f, use the random number x as the input of the iterative function f, iterate ω-1 times, and get the one-time public key OTS.pk:

[0101]

[0102] Step 6: RSU builds a signature subtree based on the user's multiple one-time key pairs, and then links the signature subtree to the main tree.

[0103] 6.1) ID u Your public key pk u With ID u Temporary identity identifier TID u Perform cascade operations and hash operations in sequence to obtain the authentication value hash (pk u ||TID u );

[0104] 6.2) ID u The one-time public key set OTS.pks and the authentication value hash (pk u ||TID u ) is sent to RSU;

[0105] 6.3) RSU receives ID u After receiving the message, first hash the authentication value (pk u ||TID u ) is used for verification. After verification, OTS.pks is used as the leaf node of the signature subtree to construct a Merkle tree with a height of h, and the root node of the Merkle tree is recorded as r SMT ;

[0106] 6.4) RSU calculates the internal node F of the main tree n The verification path path1 to the main tree root node gpk and to the subtree root node r SMT Link value: That is, the signature subtree is linked to the group main tree;

[0107] 6.5) RSU will link value F k and verify path path1 with ID u The public key pk uEncrypted and sent to user ID u .

[0108] Step 7: The user uses his own signature private key to generate a one-time signature for the message.

[0109] 7.1) User ID u Perform a hash operation on the message message to obtain the message digest hash(message), and divide it into l1 groups denoted as M:

[0110]

[0111] Among them, M i ∈{0,…,ω-1} is the i-th message digest hash(message) with each log(ω) bit string of "0", "1", and converts the bit string into the corresponding decimal number, i=1,…,l1, ω is the compression parameter, m is the output length of the Hash function;

[0112] 7.2) User ID u Calculate the checksum C based on the group:

[0113]

[0114] 7.3) Convert the checksum C into binary and convert it into decimal number with each log(ω) bit string of "0" and "1" as a group. Then express C as

[0115] 7.4) According to the results of steps 7.2) and 7.3), the number of iterations used to generate the one-time signature is obtained. Denoted as (b1,…,b l );

[0116] 7.5) Based on the calculation result of step 7.4), user ID u Generate a one-time signature OTS.σ for the message message:

[0117]

[0118] in, It represents an iterative function with key value sk1, input x, and number of iterations b1;

[0119] Indicates that the key value is sk l , input is x, number of iterations is b l Iteration function of .

[0120] Step 8: User IDu Calculate the public key corresponding to the selected one-time private key to the signature subtree root node r SMT The authentication path path2 is obtained and the group signature of the message message is calculated.

[0121] 8.1) Select h node values ​​(a0, a1, ..., a n-1 ) as the verification path path2, where the value of h is the height of the signature subtree;

[0122] 8.2) The sibling node value of the leaf node corresponding to the one-time public key is used as the value of a0 in path2, the value of the sibling node of a0's parent node is used as the value of a1, and the value of the sibling node of a1's parent node is used as the value of a2, and a3...,a4 are obtained in sequence. n-1 The value of .

[0123] 8.3) Based on the one-time signature of the message message calculated in step 7 and the verification path path2 in step 8.2), use your own verification key vsk to calculate the HMAC value of the one-time signature OTS.σ: hmac = HMAC vsk (OTS.σ), get the group signature σ of the message message:

[0124] σ={OTS.σ,hmac,OTS.pk,path1,path2,F k}.

[0125] Step 9: The verifier anonymously authenticates the signing user through the received group signature σ and group public key gpk.

[0126] 9.1) After the verifier receives the group signature σ of the message message from other users in the group, he uses his verification key vsk to calculate the HMAC value hmac′=HMAC of OTS.σ in the group signature vsk (OTS.σ), and verify that the user has been revoked:

[0127] If hmac′=hmac, the user has not been revoked, and continue to step 9.2);

[0128] Otherwise, discard the signature;

[0129] 9.2) The verifier uses the one-time public key OTS.pk in the group signature and the one-time signature verification algorithm OTS.verify(OTS.σ,message) to verify whether the one-time signature in the group signature is correct:

[0130] 9.2.1) The verifier calculates B = (b1,…,b l ) value;

[0131] 9.2.2) The verifier calculates the verification signature formula based on the calculation result of step 9.2.1):

[0132]

[0133] in, represents an iterative function with key value σ1, input pk0, and number of iterations ω-1-b1;

[0134] Indicates that the key value is σ l , the input is pk0, the number of iterations is ω-1-b l Iteration function of

[0135] 9.2.3) The verifier compares the calculation result of step 9.2.2) with the one-time public key OTS.pk:

[0136] like If the one-time signature is correct, proceed to step 9.3);

[0137] Otherwise, the one-time signature is incorrect and is discarded.

[0138] 9.3) The verifier continues to verify the correctness of the group signature σ through OTS.pk, path1 and path2 in the group signature:

[0139] 9.3.1) The verifier uses OTS.pk and path2 in the group signature to calculate the root node value r′ of the signature subtree SMT ;

[0140] 9.3.2) The verifier uses r′ SMT and F in the group signature k Calculate the value of the main tree internal node linked to the signature subtree

[0141] 9.3.2) According to F′ n The value of path1 is calculated by the Merkle path verification algorithm to obtain the value of the root node gpk′ of the main tree, as shown in Figure 4 As shown;

[0142] 9.3.4) The verifier compares the calculated gpk′ value with the group public key gpk value:

[0143] If gpk′=gpk, the signature is a valid signature and the signing user has passed the identity authentication of the verifier;

[0144] Otherwise, the signature is invalid, the signing user fails to pass the identity authentication of the verifier, and the group signature σ is discarded, thus completing the anonymous identity authentication between users in the Internet of Vehicles environment.

[0145] The effect of the present invention can be further illustrated by the following simulation experiment.

[0146] 1. Simulation conditions: The experiment of the present invention is run in a 64-bit Linux server (Debian 10.x), AMD Ryzen 7-5800H CPU and 16GB memory. The experiment uses the Crypto++700 cryptographic library.

[0147] 2. Simulation content:

[0148] Under the above conditions, the computational overhead simulation of the verification group signature phase is performed using the present invention and the existing hash function-based group signature methods DGM and GMMT. The results are as follows: Figure 6 shown.

[0149] from Figure 6 It can be seen that the computational overhead of the present invention in the group signature verification stage is 3.4ms, the computational overhead of the existing group signature method DGM based on the hash function is 5.23ms, and the computational overhead of the existing group signature method GMMT based on the hash function is 6.455ms. The computational overhead of the present invention is reduced by about 30% compared with the DGM method, and the computational overhead of the present invention is reduced by about 50% compared with the GMMT method, indicating that the present invention can greatly improve the efficiency of verifying group signatures, accelerate anonymous identity authentication between vehicles, and improve vehicle authentication efficiency.

[0150] It should be noted that the step numbers in the specification and claims of the present invention are only for a clear description of the implementation scheme of the present invention to facilitate understanding, and the sequence of the step numbers is not limited.

Claims

1. An anonymous authentication method based on Hash function group signature in a vehicle networking environment, characterized in that: The steps include: (1) Adopting a "multi-tree architecture" to realize dynamic joining and exit of group members: (1a) Each roadside unit RSU in the Internet of Vehicles acts as a group administrator and maintains a group. During the initial setting, the RSU constructs a Merkle tree as the main tree through the main tree generation algorithm, and uses the root node value of the main tree as the public key gpk of the entire group; (1b) When a user applies to join a group, the user uses his / her one-time public key set as the leaf node of the Merkle tree to build a Merkle tree upward as a signature subtree. The RSU completes the link between the main tree and the signature subtree, that is, in addition to the root node of the main tree, the internal node F that is closer to the root node n Prioritize linking with subtrees. Each member joining the group links a signature subtree of its own on the main tree for dynamic joining. (1c) If some members in the group behave dishonestly, they will be revoked by the RSU, and the signature subtree of the revoked member or the member that has left the communication range of the RSU will be cleared from the main tree to achieve dynamic exit of group members; (2) Use certificate authentication to verify the legitimacy of the user's identity by RSU: (2a)ID u The user sends his / her real identity to the trusted center TA through a secure channel. After obtaining the user's real identity, TA checks the ID from the parameter list IDList. u Is the user revoked? If yes, it is determined that no new digital certificate is issued for it; Otherwise, it is determined that a digital certificate is to be issued to the user, and step (2b) is executed; (2b)TA uses its own private key s to issue digital certificates to legitimate users; (2c) User ID u After entering a certain RSU area, send the certificate you hold to the RSU. After the RSU verifies the legitimacy of the certificate, it will be issued to the ID u Generate signature key gsk u , Temporary Identity Identifier TID u , the forward key used to calculate the verification key vsk and the backward key And the bivariate polynomial f(TID u ,y), where y is a variable and uses ID u The public key pk u Encrypt the above information and send it to ID u ; (3) User ID u Generate multiple one-time key pairs, each of which includes a one-time private key OTS.sk and a one-time public key OTS.pk, and use OTS.pk to form a signature subtree, which is then linked to the main tree by the RSU; (4) The user uses his own signature private key to generate a group signature for the message: (4a) User ID u Select an unused one-time private key OTS.sk and generate a one-time signature OTS.σ for the message message; (4b)ID u Calculate the public key corresponding to the selected private key to the signature subtree root node r SMT The authentication path path2 is used, and the HMAC value of the one-time signature OTS.σ is calculated using its own verification key vsk: hmac = HMAC vsk (OTS.σ); (4c) Generate the complete group signature σ based on the results of (4a) and (4b): σ={OTS.,hmax,OTS.pk,path1,path,F k } Among them, path1 is the internal node F n Verification path to the root node of the main tree, F k For internal node F n With the signature subtree root node r SMT The link value of (5) The verifier anonymously authenticates the signing user using the received group signature σ and group public key gpk: (5a) After receiving the group signature σ of the message message from other users in the group, the verifier uses its own verification key vsk to calculate the HMAC value hmac′=HMAC of OTS.σ in the group signature vsk (OTS.σ) and verify whether the user has been revoked: if hmac′=hmac, the user has not been revoked, and continue to step (5b); otherwise, discard the signature; (5b) The verifier uses the one-time public key OTS.pk in the group signature and the one-time signature verification algorithm OTS.verify(OTS.σ,message) to verify whether the one-time signature in the group signature is correct: If the one-time signature is correct, execute step (5c); otherwise, discard the group signature σ; (5c) The verifier continues to verify the correctness of the group signature σ through OTS.pk, path1 and path2 in the group signature: If the signature is correct, the signing user passes the identity authentication of the verifier; Otherwise, the signing user fails to pass the identity authentication of the verifier and the group signature σ is discarded.

2. The method according to claim 1, characterized in that: Step (1a) The roadside unit RSU constructs a Merkle tree as the group main tree through the main tree generation algorithm, which is implemented as follows: (1a1) Each RSU selects any 2 H-1 A random number is used as the value of the Merkle tree child node, and then the values ​​of every two adjacent leaf nodes are sequentially cascaded and hashed to obtain the value of its parent node; (1a2) Perform cascade operations and hash operations on the calculated values ​​of every two adjacent parent nodes to obtain the value of the parent node in the previous layer; (1a3) Repeat step (1a2) and build a Merkle tree with a height of H as the main tree of the group.

3. The method according to claim 1, characterized in that In step (1c), the RSU revokes the dishonest behavior of some members in the group, which is implemented as follows: (1c1) RSU determines that dishonest behavior includes posting false information, etc., and lists users who engage in such behavior as revoked members; (1c2) RSU broadcasts key update information B to all users in the group j+1 : B j+1 ={r j+1 (x)}∪{p j+1 (x)} Among them, r j+1 (x) = (x-TID r1 )(x-TID r2 )…(x-TID rw ) TID r1 …TID rw is the temporary identifier of the group member that is revoked in this round, and x is a variable; (1c3) All users in the group receive the update information B j+1 After that, the key vsk used to calculate the new round of verification is calculated. j+1 The forward key and the backward key Values: Among them, TID i A temporary identifier for each group member; (1c4) According to and The value of , all the group members who have not been revoked calculate the new round of verification key vsk j+1 : (1c5) Based on the new round of verification key vsk j+1 Continue to generate the correct group signature for identity authentication, and all revoked group members due to r j+1 (TID r ) is 0, the new round of verification key vsk cannot be calculated j+1 , that is, it cannot generate the correct group signature and its signing qualification is revoked.

4. The method according to claim 1, characterized in that: In step (2b), the trusted center TA uses its own private key s to issue a digital certificate to the legitimate user, which is implemented as follows: (2b1) For User ID u , TA chooses a random number As User ID u The private key sk u Used to communicate with RSU and generate the corresponding public key pk u =vP; (2b2) ​​TA uses his own private key s to access user ID u The public key pk u Sign and form a certificate Cert u : Cert u =Sign(s,(pk u ,hash(pk u ))), Among them, Sign(s,(pk u ,hash(pk u ))) means that TA uses private key s to u ,hash(pk u )) to sign, hash(pk u ) refers to the user ID u The public key pk u The value obtained by performing a hash operation; (2b3)TA will sk u and Cert u Send securely to ID u , and pk u and ID u Stored in the parameter list IDList as associated data.

5. The method according to claim 1, characterized in that In step (2c), the roadside unit RSU sends the user's digital certificate Cert u Perform a legality check, which is implemented as follows: (2c1) RSU uses TA's public key Pub to encrypt the digital certificate Cert u Decrypt and obtain the information in the digital certificate (pk u ,hash(pk u )); (2c2) RSU to pk in the certificate u Perform hash operation to obtain the hash value hash′(pk u ), and based on this, determine whether the user's digital certificate is valid: If hash′(pk u )=hash(pk u ), then the digital certificate is valid; Otherwise, the digital certificate is invalid.

6. The method according to claim 1, characterized in that User ID in step (3) u Generate multiple one-time key pairs to build a signature subtree, and then the RSU links the signature subtree to the main tree, as follows: (3a)ID u Choose a compression parameter ω (ω∈N, ω>1) that is related to the one-time signature size and signature generation time; (3b)ID u Choose an iteration function: k is the key value of the iterative function f, i is the number of iterations of the iterative function f, and a is the input of the iterative function f. When performing iterative calculations, the output value of each iterative calculation is used as the key value of the next iterative calculation, such as (3c)ID u Choose a random value x←{0,1} n , and then use your signature private key gsk u As the key seed, it is generated by a pseudo-random number generator PRNG2 h-1 One-time signature keys, each of which contains l random bit strings of length n bits, namely OTS.sk=(sk1,……,sk l )←{0,1} (n,l) , Where n is the output length of f, and l is calculated as: l=l1+l2, Where m is the output length of the Hash function, and log(*) is the logarithmic function with base 2; (3d)ID u The l-bit string in the one-time key OTS.sk is used as the key value of the iterative function f. The input of the iterative function f is x. After iterative calculation ω-1 times, the one-time public key OTS.pk is obtained: (3e)ID u Your public key pk u With ID u Temporary identity identifier TID u Perform cascade operations and hash operations in sequence to obtain the authentication value hash (pk u ||TID u ); (3f)ID u The one-time public key set OTS.pks and the authentication value hash (pk u ||TID u ) is sent to RSU; (3g) RSU receives ID u After the information is sent, the authentication value hash (pk u ||TID u ) is used for verification. After verification, OTS.pks is used as the leaf node of the signature subtree to construct a Merkle tree with a height of h, and the root node of the Merkle tree is recorded as r SMT ; (3h) RSU calculates the internal node F of the main tree n and the subtree root node r SMT Link value And the main tree internal node F n Verification path path1 to the main tree root node gpk; (3i) RSU will link the value F k and verify path path1 with ID u The public key pk u Encrypted and sent to ID u .

7. The method according to claim 1, characterized in that User ID in step (4a) u Select an unused one-time private key OTS.sk and sign the message message once, as follows: (4a1) User ID u Perform a hash operation on the message message to obtain the message digest hash(message), and divide hash(message) into l1 groups denoted as M: Among them, M i ∈{0,…,ω-1} is the i-th message digest hash(message) with each log(ω) bit string of "0" and "1" as a group, and converts the group of bit strings into the corresponding decimal number, i=1,…,l1, ω is the compression parameter, m is the output length of the Hash function; (4a2) User ID u Calculate the checksum C: (4a3) Convert the checksum C into binary and convert it into decimal number with each log(ω) bit "0" and "1" string as a group, and then express C as (4a4) Based on the results of steps (4a1) and (4a3), the number of iterations used to generate the one-time signature is obtained. Denoted as (b1,…,b l ); (4a5) Based on the calculation result of step (4a4), user ID u Generate a one-time signature OTS.σ for the message messgae: in, It represents an iterative function with key value sk1, input x, and number of iterations b1; Indicates that the key value is sk l , input is x, number of iterations is b l Iteration function of .

8. The method according to claim 1, characterized in that ID in step (4b) u Calculate the public key corresponding to the selected private key to the signature subtree root node r SMT The authentication path path2 is implemented as follows: (4b1) Select h node values ​​(a0, a1, ..., a n-1 ) as the verification path path2, where the value of h is the height of the signature subtree; (4b2) The sibling node value of the leaf node corresponding to the one-time public key is used as the value of a0 in path2, the value of the sibling node of the parent node of a0 is used as the value of a1, and the value of the sibling node of the parent node of a1 is used as the value of a2, and a3…,a are obtained in sequence. n-1 The value of .

9. The method according to claim 1, characterized in that: In step (5b), the verifier uses the one-time public key OTS.pk in the group signature and the one-time signature verification algorithm OTS.verify(OTS.σ,message) to verify whether the one-time signature in the group signature is correct, which is implemented as follows: (5b1) The verifier calculates B=(b1,…,b l ) value; (5b2) The verifier calculates the verification signature formula based on the calculation result of step (5b1): in, represents an iterative function with key value σ1, input pk0, and number of iterations ω-1-b1; Indicates that the key value is σ l , the input is pk0, the number of iterations is ω-1-b l Iteration function of (5b3) The verifier compares the calculation result of step (5b2) with the one-time public key OTS.pk: like Then the one-time signature is correct; Otherwise, the one-time signature is incorrect.

10. The method according to claim 1, characterized in that In step (5c), the verifier continues to verify the correctness of the group signature σ through OTS.pk, path1 and path2 in the group signature, as follows: (5c1) The verifier uses OTS.pk and path2 in the group signature to calculate the root node value r′ of the signature subtree SMT ; (5c2) The verifier uses r′ SMT and F in the group signature k Calculate the value of the main tree internal node linked to the signature subtree And use F′ n Calculate the value of the root node of the main tree gpk′ with path1; (5c3) The verifier compares the calculated gpk′ value with the group public key gpk value: If gpk′=gpk, the signature is a valid signature; Otherwise, the signature is invalid.

Citation Information

Patent Citations

  • Group signature method with efficient revocation in vehicle networking

    CN104753683A

  • Anonymous authentication method based on certificateless group signature in Internet of Vehicles

    CN111092732A

  • Internet of vehicles anonymous identity authentication improvement method based on group signature

    CN115942300A

  • Digital signature method and device, storage medium and electronic equipment

    CN117201034A

  • Strengthened entity identity for digital record signature infrastructure

    US20180139057A1