Next Article in Journal
FedLTN-CubeSat: Neuro-Symbolic Federated Learning for Intrusion Detection in LEO CubeSat Constellations
Previous Article in Journal
Dynamic Multi-Key Block Binary Ring-Compact Bootstrapping
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Quantum Secure Pairwise Key Agreement Scheme for Fog-Enabled Social Internet of Vehicles

School of Computer Engineering, Keimyung University, Daegu 42601, Republic of Korea
*
Author to whom correspondence should be addressed.
Mathematics 2026, 14(6), 1046; https://doi.org/10.3390/math14061046
Submission received: 11 February 2026 / Revised: 9 March 2026 / Accepted: 17 March 2026 / Published: 19 March 2026
(This article belongs to the Special Issue Cryptography, Data Security, and Cloud Computing)

Abstract

In Social Internet of Vehicles (SIoV) environments, fog computing plays a crucial role in supporting real-time services by reducing the latency inherent in cloud-based architectures. However, fog nodes are typically deployed in physically exposed roadside environments and can be operated by several system operators, making them vulnerable to physical compromise and unauthorized access. Despite these threats, many existing authentication schemes assume fog nodes to be fully trusted or honest-but-curious, allowing them to decrypt transmitted data using a session key shared among vehicles, fog nodes, and cloud servers. To overcome these limitations, this paper proposes a quantum-secure pairwise key agreement scheme that establishes distinct session keys for vehicle–fog, fog–cloud, and vehicle–cloud communications. This design effectively prevents the disclosure of sensitive information even in the event of fog node compromise. Furthermore, Physical Unclonable Functions (PUFs) are employed to mitigate physical capture attacks, while lattice-based cryptography based on the Module Learning with Errors (MLWE) problem is integrated to ensure resistance against quantum computing attacks. The security of the proposed protocol is rigorously validated through formal analysis using AVISPA, BAN logic, and the Real-or-Random (RoR) model, in addition to informal security analysis. Comparative performance evaluations against related schemes demonstrate that the proposed approach achieves a balance between efficiency and security, making it well suited for practical deployment in SIoV environments.

1. Introduction

Intelligent Transportation Systems (ITS) have gradually evolved into Cooperative Intelligent Transportation Systems (C-ITS) by enhancing connectivity among vehicles and diverse physical entities. This technological evolution has extended communication beyond conventional inter-vehicle interactions, giving rise to a novel paradigm known as the Social Internet of Vehicles (SIoV), which integrates concepts of social relationships and interactions into vehicular networks [1,2]. In SIoV environments, vehicles, drivers, and transportation infrastructure are seamlessly interconnected to support traffic safety and various convenience services [3,4]. The large volume of real-time data generated within SIoV systems necessitates integration with cloud-based services, which provide substantial computational power and storage capacity for global data analysis and long-term information management [5].
However, cloud servers inherently struggle to meet the stringent real-time requirements of SIoV applications due to network latency resulting from their physical distance from edge devices [5]. To address this challenge, fog computing has been introduced into SIoV environments as an intermediate layer between vehicles and the cloud, enabling low-latency service delivery closer to data sources [6,7]. By supporting data preprocessing and localized service provisioning, fog computing significantly enhances system responsiveness and overall processing efficiency [8,9].
Despite these advantages, fog nodes are typically deployed in physically exposed roadside environments and can be operated by several system operators, making SIoV systems vulnerable to physical compromise and unauthorized access [10,11]. In particular, the compromise of fog nodes can result in the exposure of sensitive information—such as vehicle location histories, identity credentials, and drivers’ private data—which may further facilitate severe security threats beyond simple data leakage.
Many existing authentication schemes for SIoV environments [11,12,13] assume fog nodes to be fully trusted or honest-but-curious. Under this assumption, fog nodes are able to decrypt transmitted data using a single session key shared among vehicles, fog nodes, and cloud servers. Such a trust model poses significant security risks, as a compromised fog node may gain unauthorized access to sensitive information beyond its intended communication scope.
To address these limitations, this paper proposes a pairwise key agreement scheme that generates distinct session keys for each communication link, namely vehicle–fog, fog–cloud, and vehicle–cloud. In the proposed scheme, independent session keys are established between each pair of entities within a single authentication session, ensuring that a fog node cannot access data beyond its authorized communication scope. As a result, even if a fog node is compromised, the exposure of sensitive information can be effectively prevented.
Furthermore, considering the characteristics of SIoV environments in which fog nodes and vehicular devices are often physically exposed, Physical Unclonable Functions (PUFs) are incorporated as a countermeasure against physical capture attacks. In addition, to address the long-term security threats posed by advances in quantum computing to conventional public-key cryptographic schemes, lattice-based cryptography based on the Module Learning with Errors (MLWE) problem is adopted to provide resistance against quantum attacks.
The security of the proposed protocol is rigorously analyzed using AVISPA, BAN logic, and the Real-or-Random (RoR) model, with comprehensive discussions covering various attack scenarios. Moreover, comparative evaluations with existing authentication schemes are conducted to assess the communication overhead, computational efficiency, and overall suitability of the proposed scheme for practical deployment in SIoV environments.

1.1. Contributions

The primary contributions of this paper are as follows:
  • A pairwise three-party authentication and key agreement scheme is proposed for SIoV environments. The scheme establishes distinct session keys for each communication link within a single authentication session, thereby preventing fog nodes from accessing sensitive information beyond their authorized scope.
  • A quantum-resistant authentication and key generation framework based on lattice-based cryptography, specifically the Module Learning with Errors (MLWE) problem, is developed. The proposed framework achieves strong security guarantees while maintaining computational efficiency suitable for resource-constrained vehicular devices.
  • A comprehensive security and performance evaluation of the proposed scheme is conducted. Formal verification is performed using AVISPA, the Real-or-Random (RoR) model, and Burrows–Abadi–Needham (BAN) logic, complemented by informal security analysis and comparative performance assessments against existing schemes.

1.2. Paper Organization

The organization of this paper is as follows. Section 2 reviews existing authentication protocols for SIoV and fog computing environments and discusses their security and efficiency limitations. Section 3 introduces MLWE and PUF, which form the foundations of the scheme, and defines the adversary model and notations used throughout the paper. Section 4 presents the fog computing-based SIoV system model and specifies the roles and trust levels of each entity. Section 5 details the protocol procedures, including system initialization, registration, and the authentication and pairwise key agreement process. Section 6 analyzes the security of the protocol through formal verification using AVISPA, the RoR model, and BAN logic, along with informal analysis. Section 7 evaluates security features and computational costs through comparisons with existing protocols. Finally, Section 8 concludes the paper and outlines future research directions.

2. Related Works

The SIoV has been introduced as an extended paradigm that integrates social relationships and user-centric services into the conventional IoV, aiming to enhance information sharing efficiency and service intelligence in intelligent transportation environments. Early studies on SIoV primarily focused on conceptual definitions and architectural designs, while security considerations were treated as secondary issues.
In 2015, Alam et al. [1] presented a VANET-based physical architecture for SIoV and defined application scenarios that exploit social relationships among vehicles. Subsequently, Maglaras et al. [2] analyzed the key technological components of SIoV and pointed out that trust and privacy issues could become critical threats in such environments. However, these studies did not provide concrete authentication or key management mechanisms. Since 2017, SIoV research has expanded toward service quality and trust management. Ning et al. [3] proposed a cooperative quality-aware recommendation system to mitigate frequent disconnections among vehicles, while Iqbal et al. [4] emphasized the importance of trust management in SIoV and discussed various trust models, including blockchain-based approaches. In the same year, Butt et al. [14] systematically analyzed privacy management issues in SIoV and highlighted the need for advanced privacy-preserving techniques. Nevertheless, these studies mainly focused on logical trust models and did not sufficiently address authentication and key agreement issues in practical communication scenarios.
As SIoV environments began to incorporate advanced applications such as federated learning and vehicular advertising, security requirements became increasingly complex. Chen et al. [6] proposed a confidentiality-based key transmission protocol and a probabilistic-selection-based federated learning scheme for SIoV, while Zhao et al. [15] introduced a similar federated learning algorithm. Ibrar et al. [16] identified the dynamic evolution of vehicular social relationships as a major challenge in SIoV, and Zheng [17] proposed a digital-twin-based social relationship model for vehicular advertising. However, most of these studies rely on conventional cryptographic schemes and fail to fully address real-time security and computational efficiency in highly mobile environments.
To meet these increasingly stringent real-time and security requirements, fog computing has been introduced as a key infrastructure in SIoV, enabling distributed processing between vehicles and the cloud to reduce latency, while also introducing new security threats. After Bononi et al. [18] introduced the concept of fog computing, Yi et al. [19,20] systematically analyzed security and privacy threats in fog-based environments. In 2018, Imine et al. [21] applied blockchain-based authentication to fog computing, but dependence on cloud brokers and latency issues were identified as limitations. Huang et al. [22] and Saleem [23] proposed PUF- and ECC-based authentication schemes, respectively; however, limited attention was paid to scenarios involving untrusted fog nodes. Subsequently, numerous studies proposed fog-based authentication and key management schemes; however, many of them rely on single-session key sharing, complex key management procedures, or high computational costs [24,25,26]. Such approaches fail to adequately reflect the heterogeneous trust levels among vehicle–fog–cloud communications and may compromise end-to-end confidentiality when fog nodes are physically exposed.
In summary, although existing SIoV and fog-based security studies have gradually evolved, lightweight security frameworks that simultaneously satisfy high mobility, low latency, and resource constraints remain insufficient. Moreover, most existing schemes rely on classical public-key cryptography such as ECC and therefore fail to address fundamental vulnerabilities in post-quantum environments. To overcome these limitations, it is necessary to develop a new security framework that separately satisfies the security requirements of each communication segment while ensuring robustness in the post-quantum era.

3. Preliminaries

3.1. MLWE

Lattice-based cryptography was primarily established upon the Learning with Errors (LWE) problem introduced by Regev [27], which provides a security reduction from average-case instances to worst-case lattice problems such as the Shortest Vector Problem (SVP). While LWE offers robust security, its practical application is often hindered by the substantial computational overhead and storage requirements associated with large matrix operations. To address these efficiency concerns, Ring-LWE (RLWE) was proposed [28], utilizing polynomial rings to reduce key sizes and accelerate computations. However, the strict algebraic structure of RLWE potentially introduces vulnerabilities to specific structural attacks and limits parameter flexibility. As a generalized framework suitable for post-quantum authentication, MLWE strikes an optimal balance between the high security of LWE and the superior efficiency of RLWE by operating over modules of polynomial rings [29]. MLWE offers a scalable architecture where the security level can be adjusted by varying the module rank k. Notably, MLWE simplifies to RLWE when k = 1 and reverts to standard LWE when the ring degree n = 1 , providing a versatile foundation for post-quantum cryptographic primitives.

3.1.1. The MLWE Problem

For a polynomial ring R q = Z q [ X ] / ( X n + 1 ) , the MLWE problem is defined by the parameters ( n , q , k , χ ) . Here, n denotes the degree of the polynomial ring, q is a prime modulus that defines the finite field over which the polynomial coefficients are represented, k denotes the dimension of the polynomial vector, and χ specifies the probability distribution from which the error terms are sampled. Let A R q k × k be a matrix sampled uniformly at random. Given a secret vector s R q k and an error vector e R q k both drawn from a noise distribution χ , the MLWE sample is represented as ( A , b = A · s + e ) . The hardness of the MLWE problem lies in the computational infeasibility of distinguishing such samples from a uniformly random distribution over R q k × k × R q k .

3.1.2. CRYSTALS-Kyber Key Encapsulation Mechanism (KEM)

To construct the proposed protocol based on the security of the MLWE problem, this study employs the MLWE-based key encapsulation mechanism introduced in CRYSTALS-Kyber [30,31]. CRYSTALS-Kyber was ultimately selected as the standard KEM algorithm in the NIST post-quantum cryptography (PQC) standardization process, and its security and performance characteristics have been thoroughly analyzed.
A key encapsulation mechanism (KEM) enables two parties to establish a shared secret through an asymmetric cryptographic framework. In the CRYSTALS-Kyber design, indistinguishability under adaptive chosen-ciphertext attack (IND-CCA2) security is achieved by applying the Fujisaki-Okamoto (FO) transformation to an underlying public-key encryption scheme that satisfies indistinguishability under chosen-plaintext attack (IND-CPA).
The CRYSTALS-Kyber KEM operates through three main procedures: key generation, encapsulation, and decapsulation.
  • Key Generation: The entity samples s , e χ k and a random matrix A R q k × k to compute the public key p k = ( A , t = A · s + e ) . The corresponding secret key is s k = s .
  • Encapsulation: To establish a shared secret with the owner of p k , the sender chooses a random message m { 0 , 1 } l and samples internal noise vectors r , e 1 , e 2 χ k . The resulting ciphertext c t = ( u , v ) is generated as follows:
    u = A · r + e 1 , v = t · r + e 2 + Encode ( m )
    The session key is derived as S K = H ( m ) .
  • Decapsulation: Upon receiving c t , the recipient utilizes s k = s to isolate the encoded message:
    m = Decode ( v u · s )
    The session key is then reconstructed as S K = H ( m ) .

3.1.3. Message Encoding and Decoding

To ensure error-resilient communication, the binary message m is mapped into the ring elements using specific encoding and decoding functions. This process facilitates the reliable recovery of the shared secret even in the presence of noise without requiring additional reconciliation data.
  • Encode: Each bit m i of the binary message m { 0 , 1 } l is mapped as follows:
    Encode ( m i ) = 0 if m i = 0 q 2 if m i = 1
  • Decode: The decoding threshold q 4 is used to tolerate noise introduced during MLWE operations. For each polynomial coefficient x Z q obtained during decryption, the following threshold function is applied to recover the corresponding binary value:
    Decode ( x ) = 1 if x q 4 0 otherwise

3.2. Physical Unclonable Function

Recently, PUFs have been widely adopted as a key enabling technology to strengthen authentication and key management mechanisms in various lightweight security environments, including IoT, VANETs, drone networks, and wireless medical sensor networks.
A PUF is a hardware security primitive that leverages subtle and inherent physical variations occurring during the semiconductor manufacturing process. These microscopic variations make each PUF instance unique, rendering it practically impossible to physically clone a device or extract its internal secret values, even when devices are manufactured using the same design [32,33,34,35].
The core mechanism of a PUF is based on the concept of a Challenge–Response Pair (CRP). When a specific input, called a challenge ( C H ), is applied to the PUF circuit, a response ( R E ) reflecting the unique physical characteristics of that device is generated, which can be expressed as follows:
R E = P U F ( C H )
A PUF provides the following key security properties:
  • Unclonability: It is infeasible to manufacture another circuit that produces the same response R E for a given challenge C H .
  • One-way Evaluability: Computing the output R E for a given input C H is fast and efficient, whereas deriving the input C H or inferring the internal structure of the device from the output R E is computationally infeasible.
  • Unpredictability: Since PUF responses cannot be predicted in advance by external entities, the device can be protected against intrusive physical attacks.
However, when PUF stability is limited, environmental conditions (e.g., temperature or voltage fluctuations) may affect response reproducibility. To address this issue, several classes of so-called ideal PUFs have been proposed to improve stability across wide operating ranges. For instance, certain designs exploit the randomness of soft gate-oxide breakdown locations or deliberately introduced permanent physical defects to yield more stable responses [36,37]. By adopting such ideal PUF designs, it is possible to reduce computational and storage overhead and lessen dependence on stability-enhancement mechanisms such as helper data or fuzzy extractors, while still maintaining practical deployability [38,39].
In this study, PUFs are introduced to both the vehicle V i and the fog node F j to integrate device-specific identification information into the authentication process. Consequently, even if an attacker physically captures a node and obtains data stored in its internal memory, the attacker cannot impersonate a legitimate entity without the hardware-dependent unique response generated by the PUF.

3.3. Adversary Model

To evaluate the security of the proposed protocol, this paper adopts a threat model based on the Dolev–Yao (DY) model [40]. Since the DY model assumes that an attacker has full control over public communication channels, it is suitable for analyzing various attack scenarios.
  • An attacker can eavesdrop, modify, delete, and replay messages transmitted over wireless communication channels to bypass authentication or forge valid messages.
  • An attacker can impersonate legitimate vehicles, fog nodes, or cloud servers, or illegally participate in the authentication process by generating forged messages.
  • If a vehicle or a fog node is physically compromised, an attacker can extract data stored in the internal memory. However, it is assumed that it is impossible to clone or derive the response values of the PUF, which is a unique hardware characteristic.
  • Fog nodes are considered untrusted entities. Their access to direct secret information between the vehicle and the cloud is restricted, and they may serve as potential channels for message leakage or manipulation during message verification and relay operations.
  • An attacker may retransmit previously captured messages or attempt to guess secret parameters through repetitive computations. However, it is assumed that it is computationally infeasible for an attacker to successfully infer all secret information within polynomial time.

3.4. Notations

Table 1 summarizes the notations and symbols used throughout the proposed protocol.

4. System Model

4.1. Communication Entities

The proposed fog computing-based SIoV environment consists of four distinct entities: the cloud server C S , fog node F j , roadside unit (RSU), and vehicle V i equipped with an on-board unit (OBU). The system model of the proposed scheme is illustrated in Figure 1 and specific roles of each entity are defined as follows:

4.1.1. Cloud Server

The Cloud Server C S acts as the central management authority of the entire system. During the system initialization phase, it generates and manages global system parameters and the master key s, and processes registration requests from vehicles and fog nodes. Technically, it functions as a data center with powerful computational capabilities and large-scale storage, performing long-term analysis of data transmitted from fog nodes.
From a security perspective, the C S is assumed to be a semi-trusted entity, meaning it cannot be considered fully trustworthy. Specifically, there may exist a malicious insider with administrative privileges within the C S who could secretly access registration messages or the internal database of vehicles and fog nodes. Furthermore, the server database may be exposed to external threats such as table leakage attacks, where the entire database is compromised.
To mitigate this imperfect trust assumption, the system is designed so that sensitive user information including the original password and hardware-specific response values is not directly transmitted to the C S during the registration phase. Instead, these sensitive data are processed only within the user’s local device. In addition, when an actual session is established, the C S does not unilaterally initiate communication; rather, it must prove its legitimacy through a step-by-step mutual authentication procedure with the vehicle and fog node before participating in the session key agreement.

4.1.2. Fog Node

The fog node is a distributed computing server positioned as an intermediate layer between vehicles and cloud servers, enabling real-time local services and data preprocessing closer to data sources. Fog computing serves as a key infrastructure for supporting real-time performance by reducing the network latency caused by the physical distance between vehicles and cloud servers. However, fog nodes are deployed in physically exposed roadside environments and can be operated by several system operators, which makes them potentially vulnerable to security threats. Considering these characteristics, fog nodes should be limited to processing only the information necessary for service execution, while sensitive data exchanged between vehicles and cloud servers should not be exposed even when it passes through fog nodes. Accordingly, in the proposed scheme, fog nodes are treated as untrusted entities, and different session keys are established for each communication link to ensure that fog nodes cannot cryptographically access, infer, or induce data beyond the scope of communication explicitly authorized to them.

4.1.3. Roadside Unit

The RSU is a wireless communication device installed along the roadside infrastructure that functions as a gateway supporting physical communication between vehicles and the upper layers. A key feature of the proposed architecture is that the RSU is defined as a simple relay and a fully transparent entity, which neither performs any cryptographic operations nor participates in authentication or key agreement processes. The RSU merely forwards messages between vehicles and fog nodes. By limiting the RSU’s role to physical relaying, the protocol minimizes the attack surface; even if an RSU is physically compromised, the integrity of the entire authentication system remains intact.

4.1.4. Vehicle

The vehicle V i , equipped with an OBU, is both a producer of real-time sensor data and a consumer of system services. Despite having limited micro-controller-level resources, it executes MLWE-based quantum-resistant cryptographic algorithms to ensure high-speed security operations in high-mobility environments. To ensure privacy, vehicles utilize temporary identities T V I D i and negotiate independent session keys with both the fog node and the cloud server. As an untrusted entity, a vehicle must be authenticated as a legitimate user. Privacy protection through session keys and hardware-based security is mandatory to defend against potential physical theft and information leakage.

4.2. Communication Flow

The scheme proposed in this paper consists of three main phases: initialization, registration, and authentication and key agreement. During the key agreement phase, the Cloud server, Fog node, and Vehicle establish independent session keys for each pair of entities. This design restricts a fog node from accessing sensitive information transmitted by vehicles beyond its authorized scope. The overall workflow is illustrated in Figure 2, and the detailed descriptions for each phase are as follows:
  • System Initialization: The cloud server generates the public parameters and MLWE-based master keys required for system operation.
  • Fog Node Registration: The fog node transmits its identity information to the cloud server and receives the authentication parameters necessary for future secure communications.
  • Vehicle Registration: The vehicle registers with the cloud server to obtain the security credentials required for network participation and mutual authentication.
  • Authentication and Pairwise Key Agreement: This phase is performed when a vehicle enters the communication range of a fog node. Through a single message exchange session, three-party mutual authentication among the vehicle, fog node, and cloud server is completed. The core feature of this phase is the simultaneous generation of three independent session keys within a single authentication process.
  • Derived Session Keys: Upon successful authentication, the following keys are shared between the entity pairs:
    • Fog–Cloud session key: A key for secure data transmission and control between the fog node and the cloud server.
    • Vehicle–Fog node session key: A key for secure communication between the vehicle and the adjacent fog node.
    • Vehicle–Cloud session key: A dedicated key that ensures end-to-end confidentiality between the vehicle and the cloud server, preventing data exposure to the intermediate fog node.

5. Proposed Scheme

5.1. Initialization Phase

In this phase, the Cloud Server C S establishes the public parameters and cryptographic foundations for the MLWE-based environment. This process is depicted in Figure 3, and the detailed explanation is as follows. The C S generates a public matrix A R q k × k and defines a cryptographic hash function h : { 0 , 1 } { 0 , 1 } λ . Subsequently, the C S samples a secret vector s and an error vector e from the discrete Gaussian distribution χ k to compute the public key P = A · s + e . Finally, the C S publishes the system parameters { A , h ( · ) , P , χ k } , enabling all entities within the network to utilize these values for subsequent registration and authentication processes.

5.2. Registration Phase

5.2.1. Fog Node Registration Phase

Prior to the authentication and key agreement process, each fog node F j must undergo a registration phase with the C S . This process is depicted in Figure 4, and the detailed explanation is as follows:
S1: 
The fog node F j selects its identifier F I D j and sends it to the cloud server C S through a secure channel to initiate the registration process.
S2: 
Upon receiving F I D j , the C S generates a challenge value C H j and random values q j , r j . The C S then computes Q j = q j h ( r j s ) , where s is the cloud server’s master secret key. The C S stores { F I D j , r j , Q j } in its database and returns the registration response { C H j , q j } to F j via the secure channel.
S3: 
After receiving the response, F j computes its physical response R E j = P U F ( C H j ) using the received challenge C H j through its PUF. F j then computes E Q j = q j h ( F I D j R E j ) and stores { F I D j , C H j , E Q j } in its local memory to complete the registration phase.

5.2.2. Vehicle Registration Phase

Prior to the authentication and key agreement process, each vehicle V i must undergo a registration phase with the C S . This process is depicted in Figure 5, and the detailed explanation is as follows:
S1: 
The vehicle V i selects its identifier V I D i and password V P W i . It then sends V I D i to the cloud server C S through a secure channel to initiate the registration process.
S2: 
Upon receiving the request, the C S generates a challenge value C H i and random values z i , r i . The C S computes Z i = z i h ( r i s ) , where s is the cloud server’s master secret key. The C S stores { V I D i , Z i , r i } in its secure database and returns the registration parameters { C H i , z i } to V i via the secure channel.
S3: 
After receiving the response, V i computes its unique physical response R E i = P U F ( C H i ) by applying the received challenge C H i to its PUF. V i then computes the authentication token A u t h i = h ( V I D i V P W i R E i ) and the obscured secret value E Z i = z i h ( R E i V I D i V P W i ) . Finally, V i stores { V I D i , C H i , E Z i , A u t h i } in its local memory to complete the registration phase.

5.3. Login Phase

To initiate the authentication and key agreement process, V i must first undergo a login phase. The user enters their identity V I D i and password V P W i into the vehicle V i . Upon input, V i retrieves the stored challenge C H i and computes the physical response R E i = P U F ( C H i ) via its PUF. The vehicle then generates the verification token A u t h i = h ( V I D i V P W i R E i ) and compares it with the A u t h i stored during the registration phase. The login is granted only if A u t h i matches A u t h i , allowing V i to proceed to the authentication and key agreement phase.

5.4. Mutual Authentication and Pairwise Key Agreement Phase

This phase establishes mutual authentication among the vehicle V i , fog node F j , and cloud server C S , while simultaneously generating independent session keys for each communication link. This process is depicted in Figure 6 following the login phase, and the detailed explanation of each step is as follows:
S1: 
V i begins the phase by generating a current timestamp T S 1 and a random number n 1 . It then computes its secret value z i = E Z i h ( R E i V I D i V P W i ) and a temporary identity T V I D i = V I D i h ( n 1 z i T S 1 ) . To ensure quantum resistance, V i samples { r i , t i 1 , t i 2 } χ k and a secret message m i { 0 , 1 } k to generate an MLWE-based ciphertext c i = ( u i , v i ) , where u i = A T · r i + t i 1 and v i = P T · r i + t i 2 + E n c o d e ( m i ) . Subsequently, it derives k i = h ( m i ) and the session key S K V C S = h ( V I D i z i n 1 k i ) . Finally, V i computes verification tokens V V C S and V V F , and a masked random value N 1 = n 1 h ( k i z i ) , then sends { T V I D i , c i , V V C S , V V F , N 1 , T S 1 } to F j .
S2: 
Upon receiving the message, F j verifies the freshness of T S 1 . It then generates a new timestamp T S 2 and a random number n 2 , and saves V V F and T S 1 . F j computes its physical response R E j = P U F ( C H j ) and reconstructs q j = E Q j h ( F I D j R E j ) . Subsequently, it computes the verification token V F C S = h ( F I D j V V C S q j n 2 T S 2 ) and the masked random value N 2 = n 2 h ( q j T S 2 ) . Finally, F j forwards { T V I D i , F I D j , c i , V V C S , V F C S , N 1 , N 2 , T S 1 , T S 2 } to the C S .
S3: 
The C S verifies the freshness of T S 2 and proceeds to compute z i = Z i h ( r i s ) . It decrypts the message m i = D e c o d e ( v i u i T · s ) and computes k i = h ( m i ) . Using these, the C S reconstructs n 1 = N 1 h ( k i z i ) and the vehicle’s identity V I D i = T V I D i h ( n 1 z i T S 1 ) . It then derives the session key S K C S V = h ( V I D i z i n 1 k i ) and the verification token V V C S = h ( V I D i S K C S V T S 1 ) , and verifies if V V C S = ? V V C S . Next, the C S computes q j = Q j h ( r j s ) and n 2 = N 2 h ( q j T S 2 ) , then checks V F C S = ? V F C S where V F C S = h ( F I D j V V C S q j n 2 T S 2 ) . After successful verification, the C S generates T S 3 and random numbers n 3 , n 4 . It computes the session key S K C S F = h ( F I D j q j n 2 n 3 T S 3 ) and the corresponding token V C S F = h ( F I D j S K C S F T S 3 ) . Finally, it computes N 3 = n 3 h ( n 2 q j ) , N Z j = h ( n 1 | | z i ) h ( n 3 S K C S F ) , V C S V = h ( V I D i S K C S V n 4 T S 3 ) , and N 4 = n 4 h ( k i S K C S V ) , then returns the response message to F j .
S4: 
F j verifies T S 3 and computes n 3 = N 3 h ( n 2 q j ) to derive S K F C S = h ( F I D j q j n 2 n 3 T S 3 ) . It then verifies V C S F = ? V C S F , where V C S F = h ( F I D j S K F C S T S 3 ) . Following this, F j reconstructs h ( n 1 z i ) = N Z j h ( n 3 S K F C S ) and verifies V V F = ? V V F using V V F = h ( T V I D i F I D j h ( n 1 z i ) T S 1 ) . After validation, F j generates T S 4 , computes the session key S K F V = h ( T V I D i F I D j h ( n 1 z i ) T S 4 ) and the token V F V = h ( T V I D i S K F V T S 4 ) , and sends { T V I D i , F I D j , V C S V , N 4 , V F V , T S 3 , T S 4 } to V i .
S5: 
V i verifies T S 4 and computes S K V F = h ( T V I D i F I D j h ( n 1 z i ) T S 4 ) to check V F V = ? V F V , where V F V = h ( T V I D i S K V F T S 4 ) . Subsequently, it reconstructs n 4 = N 4 h ( k i S K V C S ) and verifies the cloud server by checking V C S V = ? V C S V where V C S V = h ( V I D i S K V C S n 4 T S 3 ) . Upon successful completion of all verifications, secure session keys are established between all parties.

6. Security Analysis

6.1. Formal Analysis Using AVISPA

To formally verify the security of the proposed scheme, this paper utilizes Automated Validation of Internet Security Protocols and Applications (AVISPA) [41], which has been widely adopted for the formal analysis of authentication and key agreement protocols. AVISPA has been proven to be an effective tool for verifying security properties in various existing studies [42,43]. By modeling the protocol execution processes and adversary interactions, it enables the analysis of security goal violations under representative attack scenarios, such as replay and man-in-the-middle attacks.
The tool operates based on code written in HLPSL (High-Level Protocol Specification Language) and supports four backend verification engines. These engines include the constraint-logic-based attack searcher (CL-AtSe), the on-the-fly model checker (OFMC), the SAT-based model checker (SATMC), and the tree automata-based protocol analyzer (TA4SP). In the process of evaluating security properties, the HLPSL code is first translated into an intermediate format through the HLPSL2IF translator, and subsequently, the backend models analyze this format to perform formal verification.
In this study, we selected the OFMC and CL-AtSe backend modules, which are the most commonly used engines, to simulate the security of the proposed scheme. Figure 7 presents the simulation result reports, confirming that both backend models received a “SAFE” status in their summary results. These formal verification results demonstrate that the proposed scheme is secure against major security threats, including replay and man-in-the-middle attacks.

6.2. Formal Analysis Using the RoR Model

We prove the semantic security of the proposed scheme using the RoR model [44], which has been widely adopted in prior works to analyze the security of authentication protocols [45,46]. In this model, the adversary A interacts with protocol instances to distinguish the session key S K from a random value. Each participant instance is denoted by p t , where p { V i , F j , C S } represents the entity identity and t is the instance number.
In the RoR model, the adversary A is a probabilistic polynomial-time (PPT) algorithm that has complete control over the communication network. To simulate real-world threats, A can issue several oracle queries as follows.
  • Execute ( p V i t 1 , p F j t 2 , p C S ) : Simulates passive eavesdropping, where A collects all exchanged messages during the protocol run.
  • Corrupt ( p V i t 1 ) : Grants A access to the internal memory of the vehicle V i , exposing stored parameters such as { V I D i , C H i , E Z i , A u t h i } .
  • Send ( p t , M ) : Models active attacks by letting A send forged messages M to any participant instance and observe the output.
  • Test ( Π ) : Used once to challenge the security of the protocol. If c = 1 , the real session key S K is returned; if c = 0 , a random string of the same length is returned. A must guess the value of c.
Let A d v ( A ) denote the advantage of A in distinguishing the session key from a random string. To evaluate this advantage, we analyze a sequence of games G i for i { 0 , 1 , 2 , 3 , 4 } , where P r [ S u c c G i ] represents the probability that A successfully guesses the bit c in each game G i . The progression of these games is defined as follows:
  • G 0 : This is the initial game where A has no prior information, representing a real attack environment. By definition, the advantage of A is expressed as:
    A d v ( A ) = | 2 P r [ S u c c G 0 ] 1 | .
  • G 1 : A issues E x e c u t e queries to eavesdrop on transcripts. Since all session keys ( S K V F , S K V C S , S K F C S ) are derived from random nonces n 1 , n 2 , n 3 and the MLWE-based secret k i , A cannot deduce the keys from passive observations. Thus,
    P r [ S u c c G 1 ] = P r [ S u c c G 0 ] .
  • G 2 : A is permitted to perform S e n d and H a s h queries. The only feasible way for A to correctly guess c by forging tokens or compromising the session key is to find a hash collision in h ( · ) . According to the birthday bound:
    | P r [ S u c c G 2 ] P r [ S u c c G 1 ] | q h 2 2 | H a s h | .
  • G 3 : A invokes the C o r r u p t query to obtain parameters from V i ’s memory, such as { V I D i , C H i , E Z i , A u t h i } . However, due to the physical unclonability of the PUF, A cannot compute the exact physical response R E i = P U F ( C H i ) even with the knowledge of C H i . The advantage gained from PUF-related challenges is bounded as:
    | P r [ S u c c G 3 ] P r [ S u c c G 2 ] | q p 2 2 | P U F | .
  • G 4 : A may invoke the C o r r u p t query to obtain the parameters stored in the vehicle’s memory. However, without knowledge of the user credentials such as V I D i , V P W i , A cannot recover the secret z i , making it impossible to derive the session keys. Therefore:
    | P r [ S u c c G 4 ] P r [ S u c c G 3 ] | q s e n d | D V I D | | D V P W | .
  • G 5 : Finally, A ’s success depends on inverting the MLWE-based ciphertext c i to retrieve the secret k i , which is computationally hard under the MLWE assumption:
    | P r [ S u c c G 5 ] P r [ S u c c G 4 ] | A d v A M L W E .
By applying the triangle inequality to the above equation:
1 2 A d v ( A ) = | P r [ S u c c G 1 ] P r [ S u c c G 5 ] | | P r [ S u c c G 1 ] P r [ S u c c G 2 ] | + | P r [ S u c c G 2 ] P r [ S u c c G 3 ] | + | P r [ S u c c G 3 ] P r [ S u c c G 4 ] | + | P r [ S u c c G 4 ] P r [ S u c c G 5 ] | q h 2 2 | H a s h | + q p 2 2 | P U F | + q s e n d | D V I D | | D V P W | + A d v A M L W E .
Hence, the adversary’s total advantage is bounded as:
A d v ( A ) q h 2 2 | H a s h | + q p 2 2 | P U F | + q s e n d | D V I D | | D V P W | + A d v A M L W E .
Therefore, the proposed scheme is semantically secure under the RoR model, assuming the hardness of the MLWE problem and the physical unclonability of the PUF.

6.3. Formal Analysis Using the BAN Logic

We conduct a formal security analysis using BAN logic [47] to demonstrate that the vehicle V i , fog node F j , and cloud server C S achieve mutual authentication and establish secure session keys. Table 2 summarizes the key notations of BAN Logic employed in this study.

6.3.1. BAN Logic Rules

BAN logic rules used in this paper are as follows.
  • Message meaning rule (MMR):
    ρ 1 ρ 1 K ρ 2 , ρ 1 { σ 1 } K ρ 1 ρ 2 σ 1
  • Nonce verification rule (NVR):
    ρ 1 # ( σ 1 ) , ρ 1 ρ 2 σ 1 ρ 1 ρ 2 σ 1
  • Jurisdiction rule (JR):
    ρ 1 ρ 2 σ 1 , ρ 1 ρ 2 σ 1 ρ 1 σ 1
  • Belief rule (BR):
    ρ 1 ( σ 1 , σ 2 ) ρ 1 σ 1
  • Freshness rule (FR):
    ρ 1 # ( σ 1 ) ρ 1 # ( σ 1 , σ 2 )

6.3.2. Goals

Goal 1: 
V i V i S K V F F j
Goal 2: 
V i V i S K V C S C S
Goal 3: 
V i F j V i S K V F F j
Goal 4: 
V i C S V i S K V C S C S
Goal 5: 
F j F j S K F V V i
Goal 6: 
F j F j S K F C S C S
Goal 7: 
F j V i F j S K F V V i
Goal 8: 
F j C S F j S K F C S C S
Goal 9: 
C S C S S K C S V V i
Goal 10: 
C S C S S K C S F F j
Goal 11: 
C S V i C S S K C S V V i
Goal 12: 
C S F j C S S K C S F F j

6.3.3. Idealized Forms

In BAN logic, complex cryptographic operations are abstracted into logical relationships in order to focus on the secure exchange of message origin and belief. In the proposed protocol, the vehicle V i generates an MLWE-based ciphertext c i to securely encapsulate a random message m i , from which a shared secret k i = h ( m i ) is derived. Since the underlying CRYSTALS-Kyber KEM guarantees IND-CCA2 security, only the legitimate CS possessing the master secret key s can correctly decapsulate c i and recover k i .
From the perspective of formal verification, k i therefore functions as a securely established shared secret between V i and C S (denoted as V i k i C S in the assumptions). Accordingly, in the idealized form, the algebraically complex MLWE ciphertext c i can be abstracted as a message protected by the shared secret k i (e.g., { n 1 } k i ). In contrast, parameters derived from z i are treated as values masked using the vehicle’s local secret rather than as encryption keys. For example, the XOR-masked parameter N 1 = n 1 h ( k i z i ) is logically interpreted as a protected value associated with k i and z i .
This abstraction enables BAN logic to rigorously evaluate the soundness of mutual authentication and key agreement without being entangled in the complexity of the underlying algebraic lattice structure.
Msg1: 
V i F j : { V I D i } z i , { n 1 } k i , T S 1
Msg2: 
F j C S : M s g 1 , { n 2 } q j , T S 2
Msg3: 
C S F j : { n 3 } n 2 , { n 4 } S K C S V , T S 3
Msg4: 
F j V i : { n 4 } S K C S V , T S 3 , T S 4

6.3.4. Assumptions

A 1 :
V i # ( T S 3 , T S 4 )
A 2 :
F j # ( T S 1 , T S 3 )
A 3 :
C S # ( T S 1 , T S 2 )
A 4 :
V i V i z i , k i C S
A 5 :
F j F j q j C S
A 6 :
C S V i z i , k i C S
A 7 :
C S F j q j C S
A 8 :
V i F j ( V i S K V F F j )
A 9 :
V i C S ( V i S K V C S C S )
A 10 :
F j V i ( F j S K F V V i )
A 11 :
F j C S ( F j S K F C S C S )
A 12 :
C S V i ( C S S K C S V V i )
A 13 :
C S F j ( C S S K C S F F j )

6.3.5. BAN Logic Proof

Proof. 
The formal analysis is conducted through the detailed steps as follows.
Step 1: 
Based on M s g 1 , F j first receives the message from V i .
S 1 : F j { V I D i } z i , { n 1 } k i , T S 1
Step 2: 
F j verifies T S 1 and forwards it to C S via M s g 2 . Then C S receives the relayed message. Applying the MMR with A 6 and A 7 :
S 2 : C S V i ( V I D i , n 1 , T S 1 ) S 3 : C S F j ( n 2 , T S 2 )
Step 3: 
Applying the FR with A 3 and the NVR to S 2 and S 3 :
S 4 : C S V i ( V I D i , n 1 , T S 1 ) S 5 : C S F j ( n 2 , T S 2 )
Step 4: 
Since C S can now verify the parameters for S K C S V and S K C S F :
S 6 : C S V i C S S K C S V V i   ( Goal 11 ) S 7 : C S F j C S S K C S F F j   ( Goal 12 )
Step 5: 
Applying the JR with A 12 and A 13 to S 6 and S 7 :
S 8 : C S C S S K C S V V i   ( Goal 9 ) S 9 : C S C S S K C S F F j   ( Goal 10 )
Step 6: 
Based on M s g 3 , F j receives the session key information and verifies T S 3 . Applying the MMR with A 5 and the NVR with A 2 :
S 10 : F j C S ( n 3 , S K C S F , T S 3 )
Step 7: 
F j accepts C S ’s jurisdiction. Applying the JR with A 11 :
S 11 : F j F j S K F C S C S   ( Goal 6 ) S 12 : F j C S F j S K F C S C S   ( Goal 8 )
Step 8: 
F j computes S K F V using the verified h ( n 1 | | z i ) . Since it confirmed V i ’s fresh participation:
S 13 : F j F j S K F V V i ( Goal 5 )
S 14 : F j V i F j S K F V V i ( Goal 7 )
Step 9: 
Based on M s g 4 , V i receives the response and verifies T S 4 . Applying the MMR with A 4 and the NVR with A 1 :
S 15 : V i C S ( n 4 , S K C S V , T S 3 )
Step 10: 
V i accepts C S ’s authority. Applying the JR with A 9 :
S 16 : V i V i S K V C S C S ( Goal 2 )
S 17 : V i C S V i S K V C S C S ( Goal 4 )
Step 11: 
Finally, V i verifies V F V using the computed S K V F :
S 18 : V i V i S K V F F j ( Goal 1 )
S 19 : V i F j V i S K V F F j ( Goal 3 )

6.4. Informal Analysis

6.4.1. Replay Attack

A malicious adversary A may capture transmitted messages and attempt to replay them. However, each transmitted message includes a timestamp T S n , and a fresh random nonce n n is generated for every session to be used in verification messages and key generation. Therefore, even if A captures and replays a message, it will fail the verification process (e.g., due to the freshness check | T S c u r r T S n | < δ ). Thus, the proposed scheme is resilient to replay attacks.

6.4.2. Man-in-the-Middle Attack

A malicious adversary A may attempt to intercept and manipulate messages exchanged between V i , F j , and C S . However, all critical parameters are protected by MLWE-based ciphertexts c i and hash-based authentication tokens. To forge a valid message, A would need to know the shared secrets z i , q j , or the master secret key s of the C S , which is computationally infeasible. Consequently, A cannot gain any advantage within the session, making the proposed scheme resilient to man-in-the-middle attacks.

6.4.3. Impersonation Attack

  • Vehicle impersonation: To impersonate V i , A must generate V V C S = h ( V I D i     S K V C S     T S 1 ) . This requires S K V C S , which depends on z i and the MLWE secret k i . Without the physical PUF device and V P W i , it is impossible to calculate these values.
  • Fog node impersonation: An adversary must construct V F C S = h ( F I D j     V V C S     q j     n 2     T S 2 ) . This is impossible without q j , which is derived through the physical response R E j unique to F j .
  • Cloud Server impersonation: Impersonating the C S requires the master secret key s to decrypt c i and calculate S K C S V . Since V i performs a final verification of the C S ’s legitimacy through V C S V , A cannot forge a valid response.

6.4.4. Insider Attack

A legally registered malicious user A possesses their own { C H A , E Z A , A u t h A } , but cannot derive the secret keys ( s , z i , q j ) of other users or the server. Since MLWE-based KEM and PUF-based secrets are uniquely assigned to each hardware and identifier, A gains no advantage in compromising other users’ sessions even if they possess protocol parameters.

6.4.5. Privileged Insider Attack

Assuming A is an insider with administrative privileges at the C S , they may access registration messages { V I D i , F I D j } and the database { V I D i , Z i , r i } . However, sensitive credentials such as passwords ( V P W i ) and unique hardware responses ( R E i , R E j ) are never transmitted to the server; they are processed locally within the user’s device. Since C H i and z i are hashed with local secrets ( V P W i , R E i ) before storage, the insider cannot derive the original password or hardware secrets without the C S master key. Thus, the scheme is resilient to privileged insider attacks.

6.4.6. Vehicle Theft Attack

Even if a vehicle is stolen and the stored data { V I D i , C H i , E Z i , A u t h i } is extracted, A cannot obtain V P W i . The secret value z i is protected within E Z i by the hash of R E i and V P W i . Without the correct password, the A u t h i verification cannot be passed, nor can z i be reconstructed, preventing the initiation of a session. Thus, the proposed scheme is resilient to vehicle theft attacks.

6.4.7. Table Leakage Attack

The system remains secure even if the C S database or the local memory of F j is leaked. Stored values are secured through the hashes of the master secret key s or the PUF response R E . Without s or the physical hardware, the leaked table entries cannot be used to forge authentication tokens. Therefore, the proposed scheme is resilient to table leakage attacks.

6.4.8. Session Key Disclosure Attack

The final session keys ( S K V C S , S K F C S , S K V F ) are generated through a combination of V I D , z i , q j , nonces, and the value k i derived from MLWE. Even an adversary A who captures all public messages cannot obtain k i without solving the MLWE problem (decrypting the lattice-based ciphertext) which requires s. Since k i is an essential component of the session key hash, the session key remains secure. Thus, the proposed scheme is resilient to session key disclosure attacks.

6.4.9. Key Compromise Impersonation Attack

Even if the long-term secret z i of V i is exposed, an adversary cannot impersonate the C S to V i . Generating S K V C S requires k i , which is derived from the master secret key s of the C S . Consequently, V i will not accept a forged V C S V sent by A . Therefore, the proposed scheme is resilient to KCI attacks.

6.4.10. Key Freshness

In this protocol, V i , F j , and C S each generate new independent nonces ( n 1 , n 2 , n 3 , n 4 ) for every session to participate in the session key ( S K V C S , S K F C S , S K V F ) generation. Furthermore, through the MLWE-based KEM structure, a fresh random vector r i and error vector t i are sampled each time to derive the shared value k i . Due to this dynamic combination of parameters, all generated session keys are statistically independent of previous keys, preventing vulnerabilities related to key reuse. Thus, the scheme guarantees strong key freshness.

6.4.11. Known Session Key Attack Resistance

Even if an adversary A obtains a session key S K used in a specific session, they cannot derive the keys for previous or subsequent sessions. This is because each entity generates independent fresh nonces ( n 1 , n 2 , n 3 , n 4 ) in every session, and the MLWE-based random structure operates independently each time, ensuring key un-linkability.

6.4.12. Quantum Resistance

Traditional ECC or RSA-based authentication protocols are vulnerable to Shor’s algorithm, which can solve discrete logarithm and integer factorization problems in polynomial time on a quantum computer. However, this protocol is designed based on the MLWE problem, a standard in PQC. The ciphertext c i = ( u i , v i ) generated by V i is based on computationally hard lattice problems, which are currently evaluated as being unsolvable even by known quantum algorithms. Thus, the proposed protocol provides strong quantum resistance.

6.4.13. Anonymity

The proposed protocol ensures that the real identity V I D i of the vehicle is never exposed over public channels. During the authentication process, the vehicle V i utilizes a one-time pseudonym T V I D i instead of V I D i , which is generated by masking the real identity with a hash function involving the secret value z i and a random nonce n 1 . Only the C S , which possesses the legitimate master secret key s, can recover the real identity from T V I D i . An adversary A cannot discern the user’s actual identity even if they intercept the transmitted messages. Thus, the proposed scheme fully guarantees user anonymity.

6.4.14. Untracability

Untraceability implies that an adversary cannot link multiple messages originating from different sessions to the same user. In the proposed protocol, since the random nonce n 1 and the timestamp T S 1 used to generate T V I D i are refreshed in every session, a different T V I D i is transmitted each time, even for the same vehicle. An adversary A cannot computationally derive any correlation between T V I D i from different sessions based solely on public parameters. Consequently, it is impossible to trace the vehicle’s movement trajectory or communication history, thereby satisfying the requirement for untraceability.

6.4.15. Mutual Authentication

The proposed protocol supports step-by-step mutual authentication between the three communicating parties.
  • Authentication between Vehicle and CS: The C S authenticates V i by comparing the received V V C S with its calculated V V C S , while V i confirms the legitimacy of the C S by verifying V C S V received from the C S .
  • Authentication between Fog and CS: The C S verifies V F C S from F j , and F j authenticates the C S through V C S F sent by the C S .
  • Authentication between Vehicle and Fog:  F j confirms the intent of V i through V V F , and V i finally verifies V F V generated by F j .
As a result, all entities verify each other’s legitimacy using shared secrets ( z i , q j , s ) and session keys, ensuring secure mutual authentication.

7. Performance Analysis

To evaluate the performance of the proposed scheme, we compare it with related studies [11,12,13,48] that employ similar system model environments. Table 3 summarizes, for each study, the number of session keys generated per authentication session, the trust model in the system architecture, and whether resistance against quantum computing attacks is provided. Here, X indicates that the corresponding feature is not supported, whereas O indicates that the feature is securely provided.

7.1. Comparison of Security Features

In this section, we provide a comparative analysis of the security properties between the proposed protocol and existing key related studies [11,12,13,48], which are summarized in Table 4. The results indicate that the proposed protocol satisfies all security requirements, demonstrating resilience not only against common network attacks but also against physical attacks and threats in a quantum computing environment.
The proposed protocol provides differentiated security excellence by utilizing the PUF to effectively block impersonation attacks against all entities, including vehicles, fog nodes, and cloud servers, as well as data leakage attacks in vehicle theft scenarios. Furthermore, unlike existing studies based on ECC, our protocol introduces the lattice-based cryptographic scheme, MLWE, to maintain the confidentiality of session keys even in future attack scenarios involving quantum computers. Additionally, the protocol fully supports untraceability by using a dynamic temporary identity (TVID) that ensures anonymity and is updated every session, preventing adversaries from tracking a user’s movement trajectory.

7.2. Computation Costs Analysis

To evaluate the computational efficiency of the proposed protocol, the execution times of the cryptographic operations used in the protocol were measured. To better reflect realistic environments, a virtualization-based experimental setup was constructed using Oracle VM VirtualBox with two different hardware configurations. The configurations are defined as follows.
  • Cloud Server/Fog Node: 4 GB memory, six processor cores, and a CPU Execution Cap set to 100%.
  • Vehicle: 4 GB memory, four processor cores, and a CPU Execution Cap set to 40%.
In the Vehicle configuration, the number of processor cores was reduced from six to four and the CPU Execution Cap was limited to 40% compared with the Cloud Server/Fog Node configuration. By combining the reduced core allocation with the execution cap constraint, the Vehicle environment was modeled to provide approximately 27% of the effective processing capability of the Cloud Server/Fog Node environment.
This configuration reflects the practical characteristics of vehicular onboard units (OBUs), which typically rely on low-power ARM-based System-on-Chip (SoC) architectures. Compared with server-grade or infrastructure nodes, such platforms generally provide lower computational performance in terms of core count, clock frequency, and cache capacity [49,50,51]. In addition, prior IoV and vehicular network studies report that vehicular devices operate under strict size, weight, and power constraints, which results in significantly lower computational capability compared to cloud servers or infrastructure nodes [51,52,53].
To quantitatively capture the performance degradation in the Vehicle environment, the SHA-256 hash operation was benchmarked separately. The measured execution time increased from approximately 0.0004 ms in the Cloud Server/Fog Node configuration to approximately 0.0011 ms in the Vehicle configuration, corresponding to an approximately 2.7× slowdown. Since the primary cryptographic operations considered in this study exhibit CPU-bound characteristics, the empirically derived degradation factor was conservatively applied to estimate the execution times of the remaining primitives under the Vehicle configuration.
The implementation was performed using the MIRACL library and the Kyber KEM library. We adopt the parameter set corresponding to CRYSTALS-Kyber512, where n = 256 , q = 3329 , and k = 2 . In accordance with the conventions of existing literature, the execution times for XOR, concatenation operations, and PUF, which have negligibly low computational costs, were ignored [54,55]. Additionally, the fuzzy extractor operation was assumed to be equivalent to an ECC multiplication [56,57]. Table 5 summarizes the notations used for each cryptographic operation and their average execution times.
Although the benchmark experiments were conducted on a desktop environment, the actual execution performance may vary in practical deployments on resource-constrained vehicular OBUs or fog nodes. Nevertheless, these results provide a useful baseline for evaluating the computational overhead of the proposed protocol.
The comparative results summarized in Table 6 and Figure 8 demonstrate that the proposed protocol achieves superior efficiency across all participating entities. The total computation cost of the proposed scheme is 0.1304 ms, representing a reduction of approximately 85.9% compared to the execution time of 0.9226 ms in Geranfar et al. [12], which exhibits the highest cost among the compared schemes. Even when compared with Chen et al. [13], previously the most efficient scheme with a total cost of 0.2381 ms, the proposed protocol achieves an improvement of approximately 45.2%.
In terms of the vehicle V i , the proposed scheme requires 11 T h + T e n c = 0.0860 ms of computation time, which is lower than that of all the compared protocols. For the fog node F j , the authentication process only incurs 10 T h = 0.0040 ms, indicating high suitability for real-time edge processing. The computational overhead at the cloud server C S is 14 T h + T d e c = 0.0405 ms, which maintains the scalability of the overall system. By replacing computationally expensive ECC-based operations with efficient MLWE-based lattice cryptography and PUF mechanisms, the proposed protocol significantly reduces the computational burden while maintaining strong security guarantees, making it well suited for resource-constrained vehicular network environments.

7.3. Communication Cost Analysis

This subsection evaluates the communication overhead of the proposed protocol under practical vehicular network conditions. We assume a DSRC-based communication environment in which the PHY and MAC layers follow the IEEE 802.11p standard. In this standard, a 10 MHz channel supports transmission rates ranging from 3 Mbps to 27 Mbps [58].
According to the IEEE 802.11 specification, the maximum MAC frame body size is 2304 bytes. In the proposed scheme, identifiers and verification values require 32 bytes each, timestamps occupy 4 bytes, and the CRYSTALS-Kyber KEM ciphertext has a size of 768 bytes. Based on these parameters, the message sizes are calculated as follows: { T V I D i , c i , V V C S , V V F , N 1 , T S 1 } is 900 bytes, { T V I D i , F I D j , c i , V V C S , V F C S , N 1 , N 2 , T S 1 , T S 2 } is 964 bytes, { T V I D i , F I D j , V C S F , N 3 , N Z j , V C S V , N 4 , T S 3 } is 228 bytes, and { T V I D i , F I D j , V C S V , N 4 , V F V , T S 3 , T S 4 } is 168 bytes. The largest message is therefore 964 bytes, which is well below the MAC frame body limit. Consequently, MAC-layer fragmentation is not required, preventing additional overhead and retransmission delays.
In terms of transmission latency, the largest message (964 bytes) corresponds to 7712 bits. At a PHY data rate of 3 Mbps, the transmission time is approximately 2.57 ms, while it decreases to about 1.29 ms at 6 Mbps. Even when MAC headers and PHY preambles are considered, the overall transmission delay remains within a few milliseconds.
To approximate realistic traffic conditions, we consider a medium-density VANET scenario in which 50 vehicles broadcast authentication-related messages at a frequency of 10 Hz. Under this assumption, each vehicle generates approximately 964 × 10 = 9640 bytes per second, corresponding to about 77.1 kbps. The aggregate channel load produced by 50 vehicles is therefore approximately 3.86 Mbps. This corresponds to about 64.3% channel occupancy at a 6 Mbps PHY rate and about 32.1% at a 12 Mbps PHY rate.
In practical deployments, IEEE 802.11p vehicular networks employ congestion control mechanisms such as SAE J2945.1 and ETSI DCC [59], which dynamically adjust transmission rates under high channel load conditions. In addition, the effective channel load perceived by an RSU or fog node may be lower than the theoretical aggregate traffic due to propagation effects and obstacles [60,61]. Therefore, channel utilization is unlikely to reach saturation in realistic environments. Overall, the communication overhead of the proposed scheme remains within the feasible bandwidth capacity of IEEE 802.11p-based DSRC systems in medium-density vehicular scenarios.

7.4. End-to-End Latency

To evaluate the practical applicability of the proposed authentication protocol, we analyze the end-to-end latency required for the entire authentication procedure. The proposed protocol performs mutual authentication among a vehicle V i , a fog node F j , and a cloud server C S , while simultaneously establishing session keys between the participating entities. The protocol operates through sequential message exchanges among the vehicle–fog, fog–cloud, cloud–fog, and fog–vehicle entities. Consequently, both the computational delay caused by cryptographic operations and the communication delay due to message transmission contribute to the overall authentication latency. The detailed authentication and key agreement procedure among the vehicle, fog node, and cloud server is described in Section 5.
The end-to-end latency can be estimated by considering both the computation time required for cryptographic operations at each node and the communication delay incurred during message transmission. The computation cost of cryptographic operations is analyzed in Section 7.2, while the communication delay was partially evaluated in Section 7.3. However, the previous analysis only considered the largest message size. Therefore, in this section, we calculate the transmission delay for all messages exchanged in the protocol and combine them with the computation cost in order to quantitatively estimate the overall end-to-end authentication latency.
According to the message exchange procedure described in Section 5, the authentication process consists of four communication stages: message transmission from the vehicle to the fog node, forwarding from the fog node to the cloud server, the response from the cloud server to the fog node, and finally the delivery of the response from the fog node back to the vehicle.
Accordingly, the total end-to-end latency T E 2 E can be approximated as
T E 2 E T V F + T F C S + T C S F + T F V + T V p r o c + T F p r o c + T C S p r o c .
Here, T X Y represents the communication delay for transmitting a message from node X to node Y, and T p r o c denotes the processing delay caused by cryptographic computations at each node.
Based on the message size analysis presented in this paper, the message sizes are 900 bytes for V i F j , 964 bytes for F j C S , 228 bytes for C S F j , and 168 bytes for F j V i . The transmission delay of each message can be calculated as
T X Y = 8 × bytes R ,
where R denotes the data transmission rate [62].
Assuming an IEEE 802.11p data rate of 6 Mbps, the transmission delay of each communication stage is given as
T V F = 8 × 900 6 × 10 6 1.20 ms , T F C S = 8 × 964 6 × 10 6 1.285 ms ,
T C S F = 8 × 228 6 × 10 6 0.304 ms , T F V = 8 × 168 6 × 10 6 0.224 ms .
Furthermore, applying the computation costs presented in Table 6, the processing times of the vehicle, fog node, and cloud server are 0.031735 ms, 0.003960 ms, and 0.040478 ms, respectively. Therefore, under an IEEE 802.11p data rate of 6 Mbps, the overall end-to-end authentication latency is estimated as
T E 2 E 1.20 + 1.285 + 0.304 + 0.224 + 0.031735 + 0.003960 + 0.040478 3.09 ms .
For a more conservative scenario, assuming the minimum IEEE 802.11p data rate of 3 Mbps, the total communication delay becomes T comm 6.027 ms, which leads to
T E 2 E 6.027 + 0.076 6.10 ms .
The proposed protocol provides a structural advantage by enabling the simultaneous establishment of three independent session keys (Vehicle–Fog, Fog–Cloud, and Vehicle–Cloud) within a single authentication session without requiring multiple handshake rounds. In SIoV environments, vehicles interact with nearby fog nodes for only a limited time due to high mobility, and authentication procedures must therefore be completed quickly to support real-time services. Since the proposed protocol completes the entire authentication process within a few milliseconds, the introduced delay is negligible compared with typical vehicular communication intervals, thereby satisfying the low-latency requirements of practical SIoV systems [6,7,8,9].

8. Conclusions

This paper examined the security challenges inherent in fog-enabled SIoV environments, particularly considering that fog nodes are typically deployed in physically exposed roadside locations. Existing authentication schemes often assume fog nodes to be fully trusted or honest-but-curious entities and rely on a single shared session key for all participating parties. Under such assumptions, a compromised fog node may decrypt all communications between vehicles and the cloud, resulting in unnecessary exposure of sensitive information.
To overcome these limitations, a post-quantum secure mutual authentication and pairwise key agreement scheme was proposed for fog computing–based SIoV environments. The proposed scheme establishes distinct session keys for vehicle–fog, fog–cloud, and vehicle–cloud communications within a single authentication session. This key separation mechanism prevents sensitive information disclosure even if a fog node is compromised. Consequently, fog nodes are restricted to processing only the data required for localized service execution, while direct vehicle–cloud communications remain confidential.
Furthermore, PUFs were applied to protect physical capture attacks, and lattice-based cryptography based on the MLWE was employed to ensure resistance against quantum computing threats. The security of the proposed scheme was rigorously validated through formal verification using AVISPA, BAN logic, and the RoR model, in addition to comprehensive informal security analysis. Comparative performance evaluations demonstrate that the proposed scheme achieves competitive computational and communication efficiency, confirming its suitability for deployment in latency-sensitive SIoV environments.

Author Contributions

Conceptualization, H.P. and Y.P.; Methodology, H.P.; Validation, Y.P.; Formal analysis, H.P.; Investigation, H.P.; Writing—original draft, H.P. and Y.P.; Writing—review & editing, Y.P.; Supervision, Y.P.; Project administration, Y.P.; Funding acquisition, Y.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original data presented in the study are openly available in GitHub at https://github.com/wonny0124/AVISPA_Quantum-Secure-Pairwise-Key-Agreement-Scheme-for-Fog-enabled-Social-Internet-of-Vehicles.git, accessed on 18 March 2026.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Alam, K.M.; Saini, M.; El Saddik, A. Toward social internet of vehicles: Concept, architecture, and applications. IEEE Access 2015, 3, 343–357. [Google Scholar] [CrossRef]
  2. Maglaras, L.A.; Al-Bayatti, A.H.; He, Y.; Wagner, I.; Janicke, H. Social internet of vehicles for smart cities. J. Sens. Actuator Netw. 2016, 5, 3. [Google Scholar]
  3. Ning, Z.; Hu, X.; Chen, Z.; Zhou, M.; Hu, B.; Cheng, J.; Obaidat, M.S. A cooperative quality-aware service access system for social Internet of vehicles. IEEE Internet Things J. 2017, 5, 2506–2517. [Google Scholar] [CrossRef]
  4. Iqbal, R.; Butt, T.A.; Afzaal, M.; Salah, K. Trust management in social internet of vehicles: Factors, challenges, blockchain, and fog solutions. Int. J. Distrib. Sens. Netw. 2019, 15, 1550147719825820. [Google Scholar]
  5. Apat, H.K.; Nayak, R.; Sahoo, B. A comprehensive review on Internet of Things application placement in Fog computing environment. Internet Things 2023, 23, 100866. [Google Scholar] [CrossRef]
  6. Chen, C.M.; Li, Z.; Kumari, S.; Srivastava, G.; Lakshmanna, K.; Gadekallu, T.R. A provably secure key transfer protocol for the fog-enabled social internet of vehicles based on a confidential computing environment. Veh. Commun. 2023, 39, 100567. [Google Scholar]
  7. Wu, T.Y.; Guo, X.; Chen, Y.C.; Kumari, S.; Chen, C.M. SGXAP: SGX-based authentication protocol in IoV-enabled fog computing. Symmetry 2022, 14, 1393. [Google Scholar]
  8. Ma, M.; He, D.; Wang, H.; Kumar, N.; Choo, K.K.R. An efficient and provably secure authenticated key agreement protocol for fog-based vehicular ad-hoc networks. IEEE Internet Things J. 2019, 6, 8065–8075. [Google Scholar]
  9. Wazid, M.; Bagga, P.; Das, A.K.; Shetty, S.; Rodrigues, J.J.; Park, Y. AKM-IoV: Authenticated key management protocol in fog computing-based Internet of vehicles deployment. IEEE Internet Things J. 2019, 6, 8804–8817. [Google Scholar]
  10. Alsadie, D. Artificial intelligence techniques for securing fog computing environments: Trends, challenges, and future directions. IEEE Access 2024, 12, 151598–151648. [Google Scholar] [CrossRef]
  11. Hegde, M.; Rao, R.R.; Bhat, R. Design of an efficient and secure authentication scheme for cloud-fog-device framework using key agreement and management. IEEE Access 2024, 12, 78173–78192. [Google Scholar] [CrossRef]
  12. Geranfar, H.; Abolhassani, B.; Bagheri, N.; Javadi, A.; Peris-Lopez, P.; Camara, C.; Kumari, S. An Enhanced Security Protocol for Vehicular Ad hoc Networks. IEEE Internet Things J. 2025, 12, 35207–35225. [Google Scholar] [CrossRef]
  13. Chen, C.M.; Li, Z.; Das, A.K.; Chaudhry, S.A.; Lorenz, P. Provably secure authentication scheme for fog computing-enabled intelligent social internet of vehicles. IEEE Trans. Veh. Technol. 2024, 73, 13600–13610. [Google Scholar] [CrossRef]
  14. Butt, T.A.; Iqbal, R.; Salah, K.; Aloqaily, M.; Jararweh, Y. Privacy management in social internet of vehicles: Review, challenges and blockchain based solutions. IEEE Access 2019, 7, 79694–79713. [Google Scholar] [CrossRef]
  15. Zhao, P.C.; Huang, Y.H.; Zhang, D.X.; Xing, L.; Wu, H.H.; Gao, J.P. CCP-federated deep learning based on user trust chain in social IoV. Wirel. Netw. 2023, 29, 1555–1566. [Google Scholar] [CrossRef]
  16. Akbar, A.; Ibrar, M.; Jan, M.A.; Wang, L.; Shah, N.; Song, H.H. SeAC: SDN-enabled adaptive clustering technique for social-aware internet of vehicles. IEEE Trans. Intell. Transp. Syst. 2023, 24, 4827–4835. [Google Scholar] [CrossRef]
  17. Zheng, J.; Shi, J.; He, Q.; Zhang, E.; Hawbani, A.; Zhao, L. An influence maximization-based hybrid advertising dissemination for internet of vehicles. IEEE Netw. Lett. 2023, 5, 218–222. [Google Scholar] [CrossRef]
  18. Bonomi, F.; Milito, R.; Zhu, J.; Addepalli, S. Fog computing and its role in the internet of things. In Proceedings of the First Edition of the MCC Workshop on Mobile Cloud Computing, Helsinki, Finland, 17 August 2012; pp. 13–16. [Google Scholar]
  19. Yi, S.; Qin, Z.; Li, Q. Security and privacy issues of fog computing: A survey. In Proceedings of the International Conference on Wireless Algorithms, Systems, and Applications; Springer: Berlin/Heidelberg, Germany, 2015; pp. 685–695. [Google Scholar]
  20. Ni, J.; Zhang, K.; Lin, X.; Shen, X. Securing fog computing for internet of things applications: Challenges and solutions. IEEE Commun. Surv. Tutor. 2017, 20, 601–628. [Google Scholar] [CrossRef]
  21. Imine, Y.; Kouicem, D.E.; Bouabdallah, A.; Ahmed, L. MASFOG: An efficient mutual authentication scheme for fog computing architecture. In Proceedings of the 2018 17th IEEE International Conference on Trust, Security and Privacy in Computing and Communications/12th IEEE International Conference on Big Data Science and Engineering (TrustCom/BigDataSE), New York, NY, USA, 31 July–3 August 2018; pp. 608–613. [Google Scholar]
  22. Huang, B.; Cheng, X.; Cao, Y.; Zhang, L. Lightweight hardware based secure authentication scheme for fog computing. In Proceedings of the 2018 IEEE/ACM Symposium on Edge Computing (SEC), Bellevue, WA, USA, 25–27 October 2018; pp. 433–439. [Google Scholar]
  23. Salem, F.M. A secure privacy-preserving mutual authentication scheme for publish-subscribe fog computing. In Proceedings of the 2018 14th International Computer Engineering Conference (ICENCO), Giza, Egypt, 29–30 December 2018; pp. 213–218. [Google Scholar]
  24. Wazid, M.; Das, A.K.; Kumar, N.; Vasilakos, A.V. Design of secure key management and user authentication scheme for fog computing services. Future Gener. Comput. Syst. 2019, 91, 475–492. [Google Scholar] [CrossRef]
  25. Jia, X.; He, D.; Kumar, N.; Choo, K.K.R. Authenticated key agreement scheme for fog-driven IoT healthcare system. Wirel. Netw. 2019, 25, 4737–4750. [Google Scholar] [CrossRef]
  26. Chen, C.M.; Huang, Y.; Wang, K.H.; Kumari, S.; Wu, M.E. A secure authenticated and key exchange scheme for fog computing. Enterp. Inf. Syst. 2021, 15, 1200–1215. [Google Scholar] [CrossRef]
  27. Regev, O. On lattices, learning with errors, random linear codes, and cryptography. In Proceedings of the Thirty-Seventh Annual ACM Symposium on Theory of Computing, Baltimore, MD, USA, 22–24 May 2005; pp. 84–93. [Google Scholar]
  28. Peikert, C. A decade of lattice cryptography. Found. Trends Theor. Comput. Sci. 2016, 10, 283–424. [Google Scholar] [CrossRef]
  29. Langlois, A.; Stehlé, D. Worst-case to average-case reductions for module lattices. Des. Codes Cryptogr. 2015, 75, 565–599. [Google Scholar] [CrossRef]
  30. Bos, J.; Ducas, L.; Kiltz, E.; Lepoint, T.; Lyubashevsky, V.; Schanck, J.M.; Schwabe, P.; Seiler, G.; Stehlé, D. CRYSTALS-Kyber: A CCA-secure module-lattice-based KEM. In Proceedings of the 2018 IEEE European Symposium on Security and Privacy (EuroS&P), London, UK, 24–26 April 2018; pp. 353–367. [Google Scholar]
  31. Avanzi, R.; Bos, J.; Ducas, L.; Kiltz, E.; Lepoint, T.; Lyubashevsky, V.; Schanck, J.M.; Schwabe, P.; Seiler, G.; Stehlé, D.; et al. CRYSTALS-Kyber algorithm specifications and supporting documentation. NIST PQC Round 2019, 2, 1–43. [Google Scholar]
  32. Gao, Y.; Al-Sarawi, S.F.; Abbott, D. Physical unclonable functions. Nat. Electron. 2020, 3, 81–91. [Google Scholar] [CrossRef]
  33. Yu, S.; Park, K.; Park, Y. A Machine Learning Attack-Resistant PUF-based Robust and Efficient Mutual Authentication Scheme in Fog-enabled IoT Environments. IEEE Internet Things J. 2025, 12, 20652–20669. [Google Scholar] [CrossRef]
  34. Yu, S.; Park, Y. A robust authentication protocol for wireless medical sensor networks using blockchain and physically unclonable functions. IEEE Internet Things J. 2022, 9, 20214–20228. [Google Scholar] [CrossRef]
  35. Yu, S.; Das, A.K.; Park, Y.; Lorenz, P. SLAP-IoD: Secure and lightweight authentication protocol using physical unclonable functions for internet of drones in smart city environments. IEEE Trans. Veh. Technol. 2022, 71, 10374–10388. [Google Scholar] [CrossRef]
  36. Chuang, K.H.; Bury, E.; Degraeve, R.; Kaczer, B.; Linten, D.; Verbauwhede, I. A physically unclonable function using soft oxide breakdown featuring 0% native BER and 51.8 fJ/bit in 40-nm CMOS. IEEE J. Solid-State Circuits 2019, 54, 2765–2776. [Google Scholar] [CrossRef]
  37. Wang, W.C.; Yona, Y.; Diggavi, S.N.; Gupta, P. Design and analysis of stability-guaranteed PUFs. IEEE Trans. Inf. Forensics Secur. 2017, 13, 978–992. [Google Scholar] [CrossRef]
  38. Alruwaili, O.; Alotaibi, F.M.; Tanveer, M.; Chaoui, S.; Armghan, A. PSAF-IoT: Physically secure authentication framework for the Internet of Things. IEEE Access 2024, 12, 78549–78561. [Google Scholar] [CrossRef]
  39. Sarbishaei, G.; Modarres, A.M.A.; Jowshan, F.; Khakzad, F.Z.; Mokhtari, H. Smart home security: An efficient multi-factor authentication protocol. IEEE Access 2024, 12, 106253–106272. [Google Scholar] [CrossRef]
  40. Dolev, D.; Yao, A. On the Security of Public Key Protocols. IEEE Trans. Inf. Theory 1983, 29, 198–208. [Google Scholar] [CrossRef]
  41. Armando, A.; Basin, D.; Boichut, Y.; Chevalier, Y.; Compagna, L.; Cuéllar, J.; Drielsma, P.H.; Héam, P.C.; Kouchnarenko, O.; Mantovani, J.; et al. The AVISPA tool for the automated validation of internet security protocols and applications. In Proceedings of the International Conference on Computer Aided Verification; Springer: Berlin/Heidelberg, Germany, 2005; pp. 281–285. [Google Scholar]
  42. Park, H.; Park, Y. Formal Security Analysis of the Authentication Protocol in Smart Cities Using AVISPA. In Proceedings of the International Conference on Computational Science; Springer: Berlin/Heidelberg, Germany, 2025; pp. 3–17. [Google Scholar]
  43. Ju, S.; Park, H.; Son, S.; Kim, H.; Park, Y.; Park, Y. Blockchain-Assisted Secure and Lightweight Authentication Scheme for Multi-Server Internet of Drones Environments. Mathematics 2024, 12, 3965. [Google Scholar]
  44. Abdalla, M.; Fouque, P.A.; Pointcheval, D. Password-Based Authenticated Key Exchange in the Three-Party Setting. In Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2005; pp. 65–84. [Google Scholar] [CrossRef]
  45. Park, H.; Son, S.; Park, Y.; Park, Y. Provably Quantum Secure Three-Party Mutual Authentication and Key Exchange Protocol Based on Modular Learning with Error. Electronics 2024, 13, 3930. [Google Scholar] [CrossRef]
  46. Lee, C.; Oh, M.; Kwon, D.; Park, Y.; Park, Y. PLAKA-MD: PUF-Based Lightweight Authentication and Key Agreement Scheme for Medical Devices in IoHT. IEEE Internet Things J. 2025, 12, 19338–19353. [Google Scholar]
  47. Burrows, M.; Abadi, M.; Needham, R. A logic of authentication. ACM Trans. Comput. Syst. 1990, 8, 18–36. [Google Scholar] [CrossRef]
  48. Eftekhari, S.A.; Nikooghadam, M.; Rafighi, M. Security-enhanced three-party pairwise secret key agreement protocol for fog-based vehicular ad-hoc communications. Veh. Commun. 2021, 28, 100306. [Google Scholar]
  49. Gupta, K.; Sharma, T. Changing trends in computer architecture: A comprehensive analysis of arm and x86 processors. Int. J. Sci. Res. Comput. Sci. Eng. Inf. Technol. 2021, 7, 619–631. [Google Scholar] [CrossRef]
  50. Mejias, L.; Diguet, J.P.; Dezan, C.; Campbell, D.; Kok, J.; Coppin, G. Embedded computation architectures for autonomy in unmanned aircraft systems (UAS). Sensors 2021, 21, 1115. [Google Scholar] [CrossRef] [PubMed]
  51. Ahmed, F.; Jenihhin, M. A survey on UAV computing platforms: A hardware reliability perspective. Sensors 2022, 22, 6286. [Google Scholar] [CrossRef]
  52. Madhuvanthi, T.; Revathi, A. A survey on UAV network for secure communication and attack detection: A focus on Q-learning, blockchain, IRS and mmWave technologies. KSII Trans. Internet Inf. Syst. (TIIS) 2024, 18, 779–800. [Google Scholar]
  53. Haidar, F.; Makassikis, M.; Sall, M.; Bakhti, H.; Kaiser, A.; Lonc, B. Experimentation and assessment of pseudonym certificate management and misbehavior detection in C-ITS. IEEE Open J. Intell. Transp. Syst. 2021, 2, 128–139. [Google Scholar] [CrossRef]
  54. Karmakar, R.; Kaddoum, G.; Akhrif, O. A PUF and fuzzy extractor-based UAV-ground station and UAV-UAV authentication mechanism with intelligent adaptation of secure sessions. IEEE Trans. Mob. Comput. 2023, 23, 3858–3875. [Google Scholar] [CrossRef]
  55. Zhou, X.; Wang, S.; Wen, K.; Hu, B.; Tan, X.; Xie, Q. Security-enhanced lightweight and anonymity-preserving user authentication scheme for IoT-based healthcare. IEEE Internet Things J. 2023, 11, 9599–9609. [Google Scholar] [CrossRef]
  56. Son, S.; Kwon, D.; Lee, S.; Jeon, Y.; Das, A.K.; Park, Y. Design of secure and lightweight authentication scheme for UAV-enabled intelligent transportation systems using blockchain and PUF. IEEE Access 2023, 11, 60240–60253. [Google Scholar] [CrossRef]
  57. Choi, J.; Kwon, D.; Son, S.; Park, Y.; Das, A.K.; Park, Y. A PUF-Based Lightweight Authentication Scheme for UAV-Assisted Internet of Vehicles. IEEE Trans. Intell. Transp. Syst. 2025, 26, 13782–13798. [Google Scholar] [CrossRef]
  58. Kenney, J.B. Dedicated short-range communications (DSRC) standards in the United States. Proc. IEEE 2011, 99, 1162–1182. [Google Scholar] [CrossRef]
  59. Bazzi, A. Congestion control mechanisms in IEEE 802.11 p and sidelink C-V2X. In Proceedings of the 2019 53rd Asilomar Conference on Signals, Systems, and Computers, Pacific Grove, CA, USA, 3–6 November 2019; pp. 1125–1130. [Google Scholar]
  60. Sepulcre, M.; Gonzalez-Martin, M.; Gozalvez, J.; Molina-Masegosa, R.; Coll-Perales, B. Analytical models of the performance of IEEE 802.11 p vehicle to vehicle communications. IEEE Trans. Veh. Technol. 2021, 71, 713–724. [Google Scholar] [CrossRef]
  61. Gozálvez, J.; Sepulcre, M.; Bauza, R. IEEE 802.11 p vehicle to infrastructure communications in urban environments. IEEE Commun. Mag. 2012, 50, 176–183. [Google Scholar] [CrossRef]
  62. Kurose, J.F.; Ross, K.W. Computer Networking: A Top-Down Approach Edition; Addision Wesley: Boston, MA, USA, 2007; Volume 12. [Google Scholar]
Figure 1. System model of the proposed scheme.
Figure 1. System model of the proposed scheme.
Mathematics 14 01046 g001
Figure 2. Communication flow of the proposed scheme.
Figure 2. Communication flow of the proposed scheme.
Mathematics 14 01046 g002
Figure 3. Cloud server initialization phase.
Figure 3. Cloud server initialization phase.
Mathematics 14 01046 g003
Figure 4. Fog node registration phase.
Figure 4. Fog node registration phase.
Mathematics 14 01046 g004
Figure 5. Vehicle registration phase.
Figure 5. Vehicle registration phase.
Mathematics 14 01046 g005
Figure 6. Login, mutual authentication and pairwise key agreement phase.
Figure 6. Login, mutual authentication and pairwise key agreement phase.
Mathematics 14 01046 g006
Figure 7. Result of AVISPA simulation.
Figure 7. Result of AVISPA simulation.
Mathematics 14 01046 g007
Figure 8. Comparison of computation cost. Refs. [11,12,13,48].
Figure 8. Comparison of computation cost. Refs. [11,12,13,48].
Mathematics 14 01046 g008
Table 1. Notations.
Table 1. Notations.
NotationDescription
V i The i-th vehicle
F j The j-th fog node
C S Cloud server
V I D i , V P W i Identity and password of vehicle V i
F I D j Identity of fog node F j
T V I D i Temporary pseudonym identifier of V i
P , s Public key and secret key of C S
A Public matrix A R q k × k
h ( · ) Hash function
E n c o d e ( · ) Encoding function
D e c o d e ( · ) Decoding function
c i = ( u i , v i ) Ciphertext
k i Shared secret derived through the KEM
S K V C S , S K C S V Session key between vehicle and cloud server
S K V F , S K F V Session key between vehicle and fog node
S K F C S , S K C S F Session key between fog node and cloud server
T S 1 , T S 2 , T S 3 , T S 4 Timestamps
P U F ( · ) Physical Unclonable Function
Bitwise XOR operation
| | Concatenation operator
Table 2. BAN logic notations.
Table 2. BAN logic notations.
NotationDescription
ρ 1 , ρ 2 Two principals
σ 1 , σ 2 Two statements
ρ 1 | σ 1 ρ 1  believes  σ 1
ρ 1 | σ 1 ρ 1 once said  σ 1
ρ 1 σ 1 ρ 1  controls  σ 1
ρ 1 μ 1 ρ 1  receives  σ 1
# σ 1 σ 1 is fresh
{ σ 1 } K σ 1 is encrypted with K
ρ 1 K   ρ 2 ρ 1 and ρ 2 have shared key K
S K The session key
Table 3. Comparison of system model.
Table 3. Comparison of system model.
Number of KeysTrust ModelQuantum Resistance
VehicleFog NodeCloud Server
Geranfar et al. [12]1UntrustTrustTrustX
Hegde et al. [11]1UntrustUntrustTrustX
Chen et al. [13]1UntrustUntrustSemi-trustX
Eftekhari et al. [48]3UntrustSemi-trustTrustX
Proposed3UntrustUntrustSemi-trustO
Table 4. Comparison of security properties.
Table 4. Comparison of security properties.
Security PropertyGeranfar et al. [12]Hegde et al. [11]Chen et al. [13]Eftekhari et al. [48]Proposed
Replay Attack××
Man-in-the-Middle Attack×
Vehicle Impersonation×××
Fog node Impersonation×××
Cloud server Impersonation××
Insider Attack×××
Privileged Insider Attack××
Vehicle Theft××
Table Leakage attack×××
Session Key Disclosure××
Guessing Attack×××
Anonymity
Untracability××
Post-Quantum Security××××
Mutual Authentication×××
✓: guarantees the security feature, ×: does not guarantee the security feature.
Table 5. Execution time of cryptographic primitives.
Table 5. Execution time of cryptographic primitives.
OperationSymbolVehicle Execution Time (ms)Cloud Server/Fog Node Execution Time (ms)
Hash T h 0.00110.0004
Fuzzy extractor T f 0.09560.0354
ECC multiplication T e m 0.09560.0354
ECC addition T e a 0.00170.0006
Encapsulation T e n c 0.07390.0274
Decapsulation T d e c 0.09430.0349
Table 6. Computation cost comparison.
Table 6. Computation cost comparison.
SchemesVehicle (ms)Fog Node (ms)Cloud Server (ms)Total Costs (ms)
Geranfar et al. [12] 4 T h + 4 T e m 0.3868 8 T h + 9 T e m 0.3218 4 T h + 6 T e m 0.2140 0.9226
Hegde et al. [11] T f + 14 T h + 3 T e m 0.3978 T h + 5 T e m 0.1774 6 T h + 4 T e m 0.1440 0.7192
Chen et al. [13] 4 T h + 2 T e m 0.1956 10 T h + T e m 0.0394 8 T h 0.0032 0.2381
Eftekhari et al. [48] 14 T h + 3 T e m + T e a 0.3039 14 T h + 3 T e m + T e a 0.1124 17 T h + 3 T e m + 2 T e a 0.1142 0.5306
Proposed 11 T h + T e n c 0.0860 10 T h 0.0040 14 T h + T d e c 0.0405 0.1304
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Park, H.; Park, Y. Quantum Secure Pairwise Key Agreement Scheme for Fog-Enabled Social Internet of Vehicles. Mathematics 2026, 14, 1046. https://doi.org/10.3390/math14061046

AMA Style

Park H, Park Y. Quantum Secure Pairwise Key Agreement Scheme for Fog-Enabled Social Internet of Vehicles. Mathematics. 2026; 14(6):1046. https://doi.org/10.3390/math14061046

Chicago/Turabian Style

Park, Hyewon, and Yohan Park. 2026. "Quantum Secure Pairwise Key Agreement Scheme for Fog-Enabled Social Internet of Vehicles" Mathematics 14, no. 6: 1046. https://doi.org/10.3390/math14061046

APA Style

Park, H., & Park, Y. (2026). Quantum Secure Pairwise Key Agreement Scheme for Fog-Enabled Social Internet of Vehicles. Mathematics, 14(6), 1046. https://doi.org/10.3390/math14061046

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop