1. Introduction
Vehicle-to-Everything (V2X) is an intelligent transportation system [
1] which interconnects vehicles, cycles, pedestrians, and roadside infrastructure. The V2X is an evolution of Vehicular ad hoc Networks (VANETs), which aim to provide connectivity among vehicles on roads and nearby fixed equipment. The main aim of the V2X network is to enhance traffic safety by providing up-to-date information to relevant authorities, drivers, and pedestrians. Furthermore, as part of an intelligent transportation system, the V2X network aims to improve road safety, boost traffic flow, reduce congestion, and deliver multimedia content to roadside users. In recent years, the advancement of artificial intelligence (AI)-based solutions such as self-driving vehicles and machine learning (ML) based traffic management has widened the requirement of V2X network. The communication type depends on the equipment involved with communication and is broadly categorized as Vehicle-to-Sensors (V2S), Vehicle-to-Vehicle (V2V), Vehicle-to-Pedestrian (V2P), Vehicle-to-Grid (V2G), Vehicle-to-Cloud (V2C), and Vehicle-to-Infrastructure (V2I) [
2].
A V2X network consists of vehicles fitted with wireless communication devices called onboard units (OBUs). Each OBU contains a hardware security module, a tamper-proof device for storing security information. The OBU on a vehicle communicates with a roadside unit (RSU), roadside users (RU) such as pedestrians and cyclists, as well as other vehicles (OBUs) [
3].
Earlier VANET networks were proposed ad hoc Wi-Fi networks and were standardized in IEEE 802.11p [
4]. This standard enables mobile nodes to communicate in a dynamic topology with intermittent connection, supporting non-line of sight. Although this technology can be deployed with the minimum investment, it lacks scalability, quality of service (QoS), and has limited coverage due to short radio changes [
5].
Fifth generation network-based V2X is promised to provide low latency, high reliability, and high bandwidth. Moreover, 5G-based V2X can operate as a cellular-based communication [
6] where V2X devices acting as user equipment (UE) communicate with the 5G Next Generation NodeB (gNB) for uplink and downlink connectivity. Furthermore, 5G Core can provide authentication and network resource management, while cloud hosted V2X applications can provide V2X specific functionality. On the other hand, Device-to-Device communication (D2D), defined in 3GPP side-link [
7], allows two UE’s (two vehicles or vehicle to RSU) to communicate without passing data through the 5G core network.
Security is a critical challenge in V2X communication. The data are transmitted over insecure wireless channels. They can be readily intercepted or tampered with by an attacker, thereby resulting in severe threats to the safety and privacy of vehicles, e.g., illegal tracking or remote hijacking. Further, they are susceptible to unauthorized vehicles sending falsified data to disrupt the standard transmission of data and providing incorrect messages to cause traffic mismanagement or even a severe traffic accident. Thus, improving the security and integrity of vehicle data sharing has become a primary focus for researchers.
The IEEE 802.11p-based network can use IEEE P1609.2 [
8], which defines a certificate-based cryptographic algorithm to secure transaction messages between two entities and broadcast messages that do not direct to a particular entity. On the other hand, the 5G-based V2X can use the existing authentication mechanism of the 5G network [
9,
10,
11]. This generally addresses physical layer to network-layer security.
However, there is still a gap in V2X application layer security and privacy requirements. At any given time, a V2X network can have vehicles manufactured by different manufacturers and even registered in different countries or jurisdictions. While the RSU part of V2X remains static, vehicles are continuously joining and leaving the network. Especially in V2V communication, depending on their speed and direction of travel, they may be in the communication range for a few seconds. Therefore, it is required to create a trusting relationship between vehicles quickly.
Data privacy is of utmost importance in V2X data sharing, as vehicles must share accurate information about vehicle and road conditions while maintaining anonymity. Additionally, different countries may have varying data privacy laws. To address these concerns, we have summarized the key requirements for V2X data sharing, particularly for AI-driven applications, as follows:
Establishing trust quickly between vehicles and roadside units;
Maintaining anonymity of vehicle identity while providing a means for validating messages and identifying/tracking misbehaving vehicles;
Ensuring secure messages are only accessible by intended users;
Implementing a threshold cryptography system where no single intermediary can reveal secret information, but a group of authorized entities can access it.
The primary contributions of this research work include proposing a novel threshold cryptography-based key exchange protocol for V2X networks to address the outlined data sharing requirements. This proposed protocol employs a threshold secret-sharing scheme that integrates a certificateless scheme, which is based on the approach developed by Saxena et al. This approach has been discussed in a series of publications [
12,
13,
14,
15,
16] for a certificateless key management scheme using verifiable secret sharing.
Additionally, the feasibility of the proposed protocol was evaluated in a tailored hybrid V2X network testbed, leveraging the NS-3 network simulator, a commercial 5G network, and public cloud infrastructure. In this testbed, the cloud platform and 5G network were implemented in actual environments, while the RSUs and vehicles were simulated.
Finally, this research work provides recommendations for future research and development in V2X security systems.
2. Related Work
Cho et al. [
17] discussed the various security challenges in V2X communication, including authenticity, confidentiality, integrity, availability, and privacy. It emphasizes the need for secure key management, secure message exchange, and secure vehicle authentication to mitigate these challenges. Garcia-Saavedra et al. [
18] discussed the security challenges and opportunities of 5G-enabled V2X communication. They emphasize the need for secure and reliable communication, including confidentiality, integrity, and authenticity, to ensure user privacy and safety. Therefore, this section further investigates various secure key management approaches and their weaknesses.
Key management is a crucial aspect of any cryptographic security scheme. It encompasses creating, distributing, updating, and removing cryptography keys [
19]. Secure communication is established by exchanging keys through an insecure channel or using pre-existing keys. Asymmetric encryption techniques necessitate the sharing of a public key, which is done through a trusted third-party entity known as a Certificate Authority (CA) that is recognized by all parties involved in the data communication.
Symmetric encryption algorithms utilize a shared secret key for encryption and decryption [
20]. This feature makes symmetric encryption algorithms faster than asymmetric encryption algorithms. However, the drawback is that it can be challenging to establish the symmetric key without a secure channel in V2X networks.
In addition, the parties need to develop a framework of trust relationships to authenticate the ownership of the keys before starting a secure communication. The public key infrastructure (PKI)-based scheme [
21,
22,
23] is commonly used in V2X networks to validate the ownership of keys [
24]. However, these PKI-based systems require a trusted authority (TA) to store the certificates for all registered vehicles. Nevertheless, if the anonymity of vehicles is needed, the vehicle will have more than one certificate. This increases the number of certificate TA must store, which increases storage overheads, and makes it difficult to search for a certificate in a sizeable V2X network.
Trust frameworks are classified as a centralized trusted third-party or fully distributed trust. However, due to dynamic and temporary relationships between vehicles, the centralized approach is not practical or secure in networks like V2X networks. This has been discussed in detail in [
25,
26]. Therefore, recent research has tried to find distributed trust solutions. Integrity and authenticity of the key is achieved using digital signature and hash functions. In a centralized system, a public key can be signed by a certificate authority trusted by both parties. Then, the receiving party can validate the public key sent via an unsecure communication channel. In distributed systems, threshold cryptography-based algorithms can be used.
Boneh and Franklin [
27] proposed a bilinear pairing scheme that assumes the key generator is trusted. However, using a unique device ID can make it challenging to update keys and requires a secure channel for private key transfer. Self-certified public keys [
28] combine PKI with the identity-based public key, which is generated by using the unique node id and a random number. Then, the node broadcasts its witness values so others can use witness values and unique id to calculate the public key. However, this approach is not scalable, requiring a reliable broadcasting protocol and large storage to store witnesses. Certificateless public key schemes are variants of ID-based schemes [
29,
30], which allow networks to initialize with threshold-based secret sharing schemes so that the master private key is agreed upon among the nodes. A new node can join the network by contacting a threshold number of nodes. Nodes can calculate public keys by using publicly available information, hence avoiding the requirement of the certificate authority.
Shamir Secret Sharing [
31] is an early information protection threshold cryptographic scheme based on polynomial interpolation. This allows the dealer to distribute partial secrets (
) of secret
S to
n parts such that minimum
t <
n is required to reconstruct secret S. This assumes the dealer is trusted, generates valid partial secrets, and ensures that partial secrets can be securely communicated to a node. This scheme does not reveal any information to fewer than
t participants and minimizes share size. In addition, it allows update/change shares while maintaining the secret or changing the threshold. However, in this method, there is no way to validate the partial secret share received by an entity is a valid partial secret. The Verifiable Secret Sharing (VSS) schemes, first introduced by Zhou and Haas [
32], and then, by Chor et al. [
33], were further developed by Feldman [
34]. They enable participants to validate shares received from a semi-trusted dealer and detect any malicious changes during the transfer.
Identity-Based public key management schemes utilize a node’s unique identity as a part of its public key, which could be software-based such as IP address and email or hardware-based Physical Unclonable Functions (PUFs) [
35,
36]. This eliminates the need for a certificate to validate the public keys. Shamir presents a scalable solution [
37] for ID-based cryptography, which includes an ID-based encryption scheme where the sender encrypts a message using a public key derived from the recipient’s unique identity. The receiver then decrypts the message using a private key obtained from a key generation center (KGC), which corresponds to the recipient’s identity.
Nitesh Saxena proposed an ID-based certificateless public key framework [
14] based on standard (discrete logarithm) assumptions. This scheme is based on Feldman’s VSS scheme [
34] and was discussed earlier in the section. Dealers use VSS to create partial shares and commitments, which act as a private group key. The generated partial share is securely transferred to devices, and it will become the device’s private key. This will be the foundation of the proposed key exchange protocol, and these concepts will be explored further later in this work.
3. System Model
As illustrated in
Figure 1, there are four entities in the V2X network: local and cloud-based trusted authority (TA), 5G base station (5G-BS), roadside units (RSU), and vehicle (V). First, we describe the functions of these entities.
Trusted authority (TA): In the proposed V2X network architecture, we defined three types of TAs. Local TA is overall responsible for the V2X network and the authentication of RSUs. Each vehicle belongs to a particular TA called Home TA, which holds all information about the vehicle and can validate and authenticate the vehicle’s identity. In real life, Home TA could be a country, state, or council vehicle registration authority. When the network is initialized, the Local TA will connect with all available Home TAs to form the Cloud TA network. Third-party TA is in a vehicle prospective is all Cloud TA’s, excluding Home and Local ones. TAs have high computational and storage capacity and can be connected via low-latency secure networks. In an actual situation, these could be achieved using any public cloud environment such as AWS or Azure. All the TAs initialize themself with secret and commitment coefficients, while global cryptographic parameters, described in
Table 1, will be the same for all TAs. RSUs and vehicles must receive partial share and commitment coefficients from all TAs to be securely enrolled on the V2X network.
Fifth generation base station (5G-BS): 5G-BS provides a communication link to connect RSU, and 5G enables vehicles to TAs and V2X applications. This is also responsible for providing authentication services to 5G-enabled vehicles to use side links, i.e., V2V communication.
Roadside units (RSU): RSU provide connectivity to vehicles which do not have 5G. Vehicles and RSU can communicate with ad hoc Wi-Fi using IEEE 801.11 P. In addition, RU and Vehicle provide multi-hop communication, which enables V2V multi-hop communication. Additionally, RSU can help vehicles without 5G to securely enroll to the V2X network and applications.
Vehicle (V): This is the main entry that consumes the V2X application and generates a vast amount of data that must be securely transferred to other vehicles, cloud-based data analytic platforms, and AI and ML algorithms. The vehicles can have only Wi-Fi, only 5G, or both, and they can participate in V2V and V2I communication.
3.1. Network and Security Assumptions
Vehicles are already registered with the Home TA, and the vehicle and the Home TA can establish a secure communication link. In practice, this can be achieved via PKI and secure network technologies such as VPN, TLS/SSL, and HTTPS. Moreover, new vehicles entering the V2X network area have a way of identifying V2X network details, which can be achieved by broadcasting network information from RSU, especially RSUs in the edge of the V2X coverage area. An example can be from the tall plaza of a highway for motorway entries and entry locations of a city.
The V2X network provides a way to communicate with the Home TA for new vehicles. Fifth generation-enabled vehicles can directly connect to the Home TA via the 5G network, and Wi-Fi-only vehicles will use a RSU to connect to the Home TA.
It is assumed that each vehicle carries a unique identity UID, which is based on Physical Unclonable Functions (PUFs) [
35,
36] that are unique and tamper-resistant during their lifetime.
The work of Saxena used the random oracle model [
38] to validate the cryptographic scheme, and the security of the scheme is based on the computational Diffie–Hellman (CDH) assumption [
39]. That relies on the problem of computing the discrete logarithm in cyclic groups. Consider a cyclic group
of order q The CDH assumption states that, given
for a randomly chosen generator g and random
, it is computationally intractable to compute the value
. The CDH assumes this cannot be solved quickly with current computational power. However, if computing the discrete logarithm (base g) in
is straightforward (such as availability of a supercomputer or quantum computer), the CDH problem can also be solved effortlessly.
3.2. Network Initialization
The threshold-based secret sharing scheme proposed by Saxena can be initialized by a single trusted authority (TA) or a group of TAs. However, the drawback of using a single TA is that if an adversary can access the TA and retrieve the network’s private key, this will result in the whole network being compromised. An alternative to this is using multiple TAs working independently and providing multiple partial shares to a joining vehicle. Then, the combined partial share will be the vehicle’s private key, while the group private key is not known to any individual.
The local TA decides the global cryptographic parameters shown in
Table 1 and selects the cloud TAs required in the V2X network. The selection of cloud TAs will be based on the type of vehicles you want to support in the V2X network; at the minimum, all vehicles’ Home TAs should be part of cloud TAs. Then, upon sharing global cryptographic parameters, each TA (i) initializes itself by generating a large random number as its secret (
) with generated witness values as shown in Equations (1)–(7).
Let the number of dealers be
d and define
Then, TAs are ready to enroll vehicles to the V2X network. The network-wide private key is unknown to anyone. Using threshold cryptography, a collaboration of any T number of TAs could compute the network-wide private key. A summary of the network’s cryptographic information is shown in
Table 2.
PUF could be used to generate a unique id associated with a vehicle. However, direct use of PUF-generated unique id Equation(8) will break the anonymity and the uniqueness of the message in the network.
where i is the node number and
is Physical Unclonable Function
Hence, it is proposed that each vehicle generates a self-identity using a one-way hash algorithm such as SHA-256 (H) with a network name (N) and current time (T) as parameters Equation (9).
3.3. Join the Network
When the vehicle enters the V2X network, it will receive a broadcast message from RSU with network information. If the vehicle is 5G-enabled, it would directly send Join Request to Home TA with network information. If the vehicle does not have 5G connectivity, it will use Wi-Fi ad hoc to connect to RSU and send the Join request via RSU. The initial interaction between the joining Vehicle and the V2X network is shown in
Figure 2.
Home TA exposes the Join request functionality via REST API over HTTPS. Since the vehicle is registered with Home TA, it can authenticate the join request. In practice, this can be done using any API security mechanism. However, we proposed to use a PKI-based authentication scheme. Then, the Home TA securely communicates with all third-party TAs on behalf of the joining vehicle and requests partial shares and witnesses. Communication between cloud TAs could be via REST API over HTTPS and could be done in an internal cloud network. This enables the secure transfer of partial secrets to the Home TA. Then, the Home TA can respond to the joining vehicle with all partial shares and witness sets. Since communication between the vehicle and the Home TA is via HTTPS, we propose that it does not need any extra encryption. However, V2X networks such as emergency services or the military, where a higher level of security is required for the Join response, could be encrypted using any asymmetric encryption algorithm.
Figure 3 shows the sequence diagram of a vehicle joining the network via an RSU using home TA, local TA, and n number of third-party TAs.
Let
i = 0… n, where n is number of trusted authorities and
is the Home TA. JV is a new vehicle that wants to access the V2X network. The vehicle joining algorithm is shown in Algorithm 1.
Algorithm 1 REST API based network join |
JV: Join request (JV) When a Vehicle (JV) enters the V2X network, it receives a broadcast message from RSU with network information. Then, it creates a Join request (JR) using the following steps: Step 1: JV creates its id () using Equations (8) and (9) Step 2: JV creates Join request ()with . An example JSON Join request is shown below. { “id”: ID_jv, “networkId”: <V2X network Id> } Step 3: JV sends to the (Home TA) as a HTTPS POST request. |
Home TA: Join response. Home TA calls REST API provided by all third-party TAs on behalf of the joining vehicle and request partial shares and witnesses. An example JSON partial share request is shown below. { “id”: ID_jv, “networkId”: <V2X network Id>} Step 4: Home TA sends partial share request to Each as a HTTPS POST request. Step 5: Upon receipt a partial share request, each calculates partial share () using Equation (3). Step 6: Then, each sends a JSON response to the Home TA with partial share and witnesses. An example of a JSON partial share response is shown below. { “id”: ID_jv, “share”: , “witnesses”: [] } Step 5: Upon receipt of all partial share responses, the Home TA constructs a Join response (). An example of a JSON Join response is shown below. { “id”: ID_jv, “ shares”: [ { “share”: , “witnesses”: [], “share”: , “witnesses”: [], … “share”: , “witnesses”: [], } ] } Step 6: Send to JV. JV: Join response processing. Step 7: For each in , verify a validity of partial share received using verifiable secrete sharing, using Equation (10). |
|
Step 8: If verification is successful, JV adds all the partial secret to calculate its private key using Equation (11). |
|
After successfully joining the V2X network, the vehicle computes its private key for this network using Equation (11). In addition, it can calculate the public key (
) of any other vehicle (OV) in the V2X network by using OV’s Id. The network information as shown in Equation (12).
3.4. Key Establishment
Any two entities joined to the V2X network can establish a shared key (Session Key), which can then be used with any symmetric encryption algorithm. Suppose A and B want to establish a session key. Given that A knows about the unique id of B (
), it calculates the public key of B (
). Given that B knows about unique id of A (
), it calculates the public key of A (
. Then, A calculates session key (
) using Equation (13), and B also calculates the session key (
) using Equation (14). Here,
represent the partial secret shares of A and B, respectively.
From this, we confirm . Hence, given two entities, the shared key or session key can be established without any interaction.
On the other hand, a broadcast encryption scheme requires a key which the broadcaster and all receiving vehicles can compute. Assume that vehicle J wants to broadcast a message. The message can be received by any other vehicle or RSU within the wireless range. In our broadcast encryption scheme, the message is encrypted using its private key (). Then, any legitimate entity could compute the corresponding public key using network information already received when joining the network. This allows any message broadcast from a legitimate entity to be decrypted by any other legitimate entity.
In practice, a random session key (
) was generated to improve the scheme’s efficiency, and the message was encrypted using the AES algorithm with the
as an encryption key. Then, the
will be encrypted using the ElGalmal encryption algorithm with
as encryption key. Once an entity receives an encrypted message, the decryption key (
) is calculated in Equation (15) as follows.
A potential drawback of this approach is that if a legitimate entity is compromised, an intruder can retrieve network information through that entity. The intruder would be able to eavesdrop on every broadcast message. However, it will not be able to act as a legitimate entity and send messages since it did not receive a partial secret from the V2X network. Hence any message encrypted by the intruder will not be able to be decrypted by legitimate entity.
4. Simulator Design, Performance Evaluation and Results
As discussed in the system model, our proposed V2X network required cloud servers and computation, a 5G network, static RSU with ad hoc Wi-Fi, and moving vehicles with 5G/Wi-Fi ad hoc access. Building a simulator for all of them is complicated and time-consuming. Additionally, our proposed changes are only at RSU, vehicle and cloud-based servers. Therefore, we decided to set up our simulator as a hybrid system: the cloud platform and 5G network parts use the actual implementation, and RSU and Vehicles are in simulated environments. The system architecture of the proposed system is shown in
Figure 4 and described in the next subsection.
4.1. System Architecture
The NS-3 simulator is a network simulator used primarily for research and education in Wi-Fi, LTE, and 5G. It is written in C++; however, the network simulation script can be written in either C++ or python. It consists of a collection of core libraries called NS-3 modules, developed within an open-source project. It is licensed under the GNU GPLv2 license [
40].
NS-3 simulator has a 5G NR millimeter wave module [
41] and a module for the V2X network [
42]. It can simulate a V2X network with different mobility models, routing protocols and wireless communication technologies. Additionally, NS-3 supports hybrid devices where the lower part of the network stack is simulated while the upper layers can be implemented in a Linux container. In our simulator, RSU and vehicles were implemented in NS-3 with a hybrid 5G network interface using the tap bridge module [
43] of NS-3. In this hybrid 5G interface, one side is connected to NS-3 and the other end is connected to a commercial 5G network via a Linux container. Using a commercial 5G network restricts the capability of our simulator to the application’s layer protocol evaluation. However, it was enough for the scope of this research.
TA functionality is developed as Microsoft.net Core REST API and hosted in the AWS Cloud platform. To demonstrate the different locations of TAs, we hosted TAs in different AWS regions. Client functionality of key exchange and other cryptographic functionalities were developed as a .net Core application and hosted in a Linux container, and it is connected to NS3 simulated Wi-Fi ad hoc network.
4.2. Performance Evaluation of Network Initialisation
Our proposed solution should contain at least two TAs, i.e., Local TA and Home TA. As all TAs are cloud-based and can be initialized in parallel, we evaluated the initialization process of a single TA only. The time taken for network initialization is influenced by the size of the private key, the threshold value T, and the computational power of the machine executing the process. However, we did not assess different cloud servers, as server optimization is beyond the scope of our study and computational power can be easily increased in cloud computing. Thus, we conducted our simulation using AWS’s minimum available cloud server (t3a.nano) [
44].
As described in
Section 3.2, the network initializes by generating a large random number as its secret, along with randomly generated witness values, as illustrated in Equations (1)–(7). We utilized a range of simulation parameters, as shown in
Table 3, and each configuration was executed 10,000 times, with the average time taken for initialization recorded. We simulated T values from 3 to 12 and private key sizes of 64 to 512. We kept the size of P and Q as 64-bit and the ID size as 32-bit for the entire simulation.
Figure 5 depicts the network initialization time per TA for various private key sizes and threshold values.
The result shows that with the increase of private key size, initialization time increases linearly. However, even for a larger private key size of 512, it only takes 2–3 milliseconds. Considering network initialization is one operation, it is possible to use larger private key sizes without considerable overhead while significantly increasing the network’s security. In addition, notice that the threshold value T does not have much impact on network initialization. Therefore, network designers should try to use large private key sizes as well as large T values.
4.3. Performance Evaluation of Vehical Joining a V2X Network
Once the vehicle receives shares and witnesses, it must be verified as described in Equation (12). Share verification is a critical security condition in a distributed threshold-based secret-sharing scheme and is computationally intensive. However, our proposed system model defined a vehicle as having a pre-existing trust relationship with their Home TA. Therefore, we defined two verification types, client-verify, where verification is done in the vehicle, and server-verify, where the Home TA inside the cloud server does verification. Vehicle joining time will include the V2X network delay, combined share calculation time of all TAs, and network delay between the Home TA and other TAs. We used a stationary 5G-connected vehicle simulated in NS-3 in our V2X network to evaluate this and tried to join the network using two verification methods. First, we ran a simulator with a different number of TAs from 2 to 12 and a threshold value of 3 to 12. We also varied private key sizes from 64-bit to 512-bit with 64-bit increments. Other parameters are kept the same as stated in
Table 3. Each configuration was run 100 times. The share calculation time, verification time, V2X network delay, and cloud network delay were measured.
Figure 6 shows the breakdown of joining time for both verification types. Here, we exclude V2X network delay and cloud network delay in the figure. The impact of communication delay is evaluated in the next section. This concludes that using server verification reduces verification time by 15%. This was performed using the least powerful AWS server. Increasing computational power in cloud computers is easy; therefore, server verification time can be further reduced by using powerful computers available in the cloud. Hence, it reduces the overall time that the vehicle required to join the V2X network.
Figure 7a shows the impact of the number of TAs on the total join time calculation for both verification types, while
Figure 7b shows the impact based on the threshold value. In both cases, with an increase of TAs and threshold value, verification time is increasing. However, if it shows using server verification, we can reduce the overall verification time.
Another critical parameter to evaluate is the time an entity takes to calculate another entity’s public key using Equation (13). For example,
Figure 8 shows the time taken to compute a public key increase with the number of TAs and threshold values. Therefore, we need to select different parameters based on network performance and security requirements.
4.4. Communication Overhead of Joining V2X Network
As mentioned earlier, communication overhead occurs in two different locations: in V2X, where 5G-enabled vehicles connect to the Home TA via 5G network; or Wi-Fi-only vehicles which connect to the Home TA via RSU. In this case, vehicle to RSU communication will be via Wi-Fi, and RSU to Home TA is via 5G. Other network overhead occurs when the Home TA tries to communicate with the local TA and other third-party TAs. To evaluate this, we used 5G-enabled vehicles and Wi-Fi-only vehicles in the V2X network, where vehicles were randomly placed in a grid of 1000 m by 1000 m area and moving with a constant speed of 20 m/s using the NS-3 random walking module. We ran a simulator with 5 TAs, a threshold value of 8, and private key sizes of 256-bit. In addition, the size of P and Q were kept as 64-bit and the ID size was kept as 32-bit for the entire simulation. The simulation ran for 1000 s. With each second, RSU broadcasts network information, and the vehicle tried to join the network upon receiving the broadcast. We recorded V2X network delay as well as cloud network delay. In this simulation, server delay is the delay between maximum end-to-end delay between local TA and other TAs. Local TAs call all other TAs (REST API) parallelly, so we measured the average maximum delay as server delay. The V2X delay is the communication (network) delay between joining the vehicle and the local TA.
Figure 9 compares the joining time breakdown for 5G and Wi-Fi vehicles. It shows that the additional joining delay in the Wi-Fi vehicle is due to the V2X network delay, where the Wi-Fi vehicle connects to RSU via ad hoc Wi-Fi and then uses 5G. This shows the delay could be 100 ms.
Figure 10 shows the CDF of the V2X network delay for both vehicles. Therefore, more focus should be on network designers to add more RSUs near the edge of the V2X network and potentially use RSUs with high transmission power to increase range.
Figure 11 shows the cloud network delay between TA communication and its average of less than 5 ms. Selecting a dedicated cloud network could potentially reduce this delay; however, it is small compared with the V2X delay. Therefore, more focus should be on improving V2X delay.
As shown in
Figure 12, encryption and decryption time is not huge compared to network delays. For example, a 1024-byte message can be encrypted or decrypted within 1 ms. However, as shown in
Figure 8, the public key calculation is expansive. Therefore, based on network requirements, we need to select the correct security parameters.
5. Discussion
The previous section evaluated the proposed system in two ways. First, we evaluated the time taken for network initialization in
Section 4.2, which is influenced by the size of the private key, the threshold value T, and the computational power of the machine executing the process. Second, we evaluated the performance of a vehicle joining a V2X network in
Section 4.3. We used a stationary 5G-connected vehicle simulated in NS-3 in our V2X network to evaluate this and tried to join the network using two verification methods: client-verify and server-verify. In this section, we will discuss the key findings from the performance evaluations of the proposed system.
The use of larger private key sizes in V2X communication systems has been an ongoing discussion due to the potential benefits it could offer in terms of security. However, concerns regarding the potential overhead that may arise from the use of larger key sizes have been raised.
Our simulation that was discussed in
Section 4.2 demonstrates that the initialization time increases linearly with the increase of the private key size. Nevertheless, our research results in
Figure 5 have suggested using private key sizes can be larger than 512 bits without incurring considerable overhead, with an average processing time of 2–3 milliseconds. Another parameter that has been considered in the context of V2X network initialization is the threshold value T. Research has indicated that increasing the value of T does not have a significant impact on the network initialization process, allowing for larger T values to be used (greater than 12) without adverse effects. Therefore, network designers should try to use large private key sizes as well as large T values.
One approach we considered to reduce the overall time required for vehicles to join the V2X network is server verification, as shown in
Figure 6. Performance analysis has shown that server verification can reduce verification time by 15% compared to local verification. Moreover, this time can be further reduced by increasing the computational power available in cloud-based systems.
The time taken to compute a public key is another factor that can impact V2X network performance. As shown in
Figure 8, as the number of TAs and threshold values increase, the time required to compute a public key also increases.
Typically, V2X applications share information with neighbors, for example, traffic information and road conditions using message broadcast. In addition, V2X multi-hop routing protocols use the broadcast message to discover its one-hop neighbors. These messages are generated regularly and need to be delivered and consumed quickly. Therefore, we propose that broadcast messages be encrypted with a partial share received from the local TA with ElGalmal encryption. The receiving node can then compute the corresponding decryption key and decrypt the message with ElGalmal decryption. According to
Figure 8, using only one TA reduces the calculation time to 10 ms. We also propose for the node to cache the calculated public key so that subsequential broadcast messages from the same source can be decrypted quickly.
6. Conclusions and Future Work
The performance evaluations presented in this research demonstrate that the proposed V2X communication system achieves efficient and secure communication with optimal parameter settings. Specifically, larger private key sizes, higher threshold values, server verification, and computational optimization techniques can significantly reduce the time required for vehicles to join the V2X network. Additionally, improvements to the network infrastructure, such as adding high transmission power RSUs near the edge of the V2X network and optimizing the multi-hop routing protocol, can help reduce V2X network delays.
In the future, we suggest enhancing the proposed solution by utilizing parallel and graphics processing units (GPUs) commonly available in modern devices. This would significantly reduce the computational overhead, allowing V2X network operators to use high-strength cryptographic information, leading to a more secure network. Additionally, using system-on-a-chip (SoC) hardware solutions can help reduce computational overhead while increasing security.
Our proposed security scheme can be applied to different V2X scenarios which need to be further studied. One such scenario is V2C: messages can be sent to cloud servers, where vehicles and RSU will collect information about road conditions, traffic patterns, weather information, driver and vehicle performance, and other data required by AI and ML algorithms. Usually, they are collected at vehicles and RSU and transferred to cloud servers for processing. These kinds of data can be encrypted using the full public key of an entity with ElGalmal encryption. Then, cloud servers can decrypt the data later. Another potential scenario is direct messages to vehicles. In AI and ML-based V2X, applications might need to send messages to vehicles, for example, change routes or request lane change. These kinds of data can be encrypted using the full public key of an entity with ElGalmal encryption. Then, the receiving vehicle can decrypt the message with its private key.
A key challenge in implementing this protocol on a large scale is deploying V2X infrastructure in the real world, ensuring most vehicles are connected to the V2X network via 5G or Wi-Fi, and ensuring an adequate number of RSUs are installed in road infrastructure. While this challenge is outside the scope of this research, it is an essential consideration for the practical implementation of the proposed protocol. Furthermore, provided that the V2X infrastructure is in place, implementing and scaling the proposed protocol in cloud infrastructure are expected to be easy.
The proposed protocol focuses on establishing a public/private key pair for each connected device, allowing any connected node to compute and validate the public key of any other connected device. This key pair can be used to secure decentralized or centralized awareness and warning messages, either for message encryption or adding a digital signature. However, integrating decentralized or centralized awareness and warning messages into the proposed protocol requires further evaluation in future research to determine its feasibility and effectiveness.