© 2026 The authors. This article is published by IIETA and is licensed under the CC BY 4.0 license (http://creativecommons.org/licenses/by/4.0/).
OPEN ACCESS
The growing complexity of electric vehicle (EV) systems and their reliance on real-time communication call for frameworks that jointly optimize performance, energy efficiency and security. Conventional model-based calibration (MBC) tunes vehicle parameters such as State of Charge (SoC), speed and load. Security is treated as a separate layer, which leads to suboptimal system behavior. This paper presents a Cyber-Physical Model-Based Calibration framework with Adaptive Security (CPMBC-AS). The framework places cryptographic parameters inside the calibration loop. An adaptive decision engine (ADE) selects one of three configurations lightweight, hybrid or high-security configuration based on SoC, threat level, channel conditions and vehicle mobility. Each configuration defines the elliptic curve cryptography (ECC) curve strength (P-256 or P-384), the key-rotation interval and the authentication-tag length. The proposed framework protects data with ChaCha20-Poly1305 after a single elliptic-curve Diffie–Hellman (ECDH) key exchange per session. It performs rekeying with a hash-based message authentication code (HMAC)-based key derivation function (HKDF). In a simulation of 150 vehicles over an IEEE 802.11p link, CPMBC-AS met the security requirement for 100% of vehicles, with a latency of 1.147 ms and an energy cost of 542.4 µJ per message. This is about 260 times faster and 277 times less energy-consuming than pure ECC (301.1 ms, 150,515 µJ). Compared with the best fixed configuration that also meets the requirement for every vehicle (Fixed High-Security), proposed adaptation lowers latency by 5.98%, energy by 6.28% and overhead by 9.68%. Compared with ECC combined with post-quantum cryptography (PQC) key exchange (ECC–PQC), CPMBC-AS reduced latency by 7.9% and achieved a higher packet delivery ratio (PDR, 99.75% against 83.87%). However, CPMBC-AS does not provide quantum-safe key exchange. A provisioned-key ChaCha20-Poly1305 baseline was about 2.7% faster (1.117 ms) but provided neither forward secrecy nor adaptation. Overall, CPMBC-AS balances security compliance, forward secrecy, latency, energy consumption and communication overhead. It is therefore suitable for next-generation EV communication and intelligent transportation systems (ITS).
adaptive security, cyber-physical systems, elliptic curve cryptography, electric vehicle, hybrid cryptography, model-based calibration, secure vehicular communication
Electric vehicles (EVs) increasingly rely on real-time communication for Vehicle-to-Vehicle (V2V) and Vehicle-to-Infrastructure (V2I) applications and for intelligent transportation systems (ITS). In such dynamic environments, secure, low-latency and energy-efficient communication remains a significant challenge. Traditional model-based calibration (MBC) methods optimize model and operational parameters to maximize performance and efficiency. These parameters include the State of Charge (SoC), speed, thermal states and load characteristics. However, such methods do not treat security as an optimization parameter. This omission separates the control layer from the communication layer. Existing cryptographic mechanisms trade security against efficiency. Public-key schemes such as elliptic curve cryptography (ECC) provide strong security but are computationally expensive and energy-intensive. Lightweight ciphers such as ChaCha20-Poly1305 offer low latency and low energy consumption but provide limited support for key management and adaptability. Hybrid methods combine ECC with a lightweight cipher to improve speed. However, they usually rely on fixed configurations, which are poorly suited to EV scenarios with varying mobility, threat levels and channel conditions.
Current systems also lack four capabilities: (i) cross-layer integration between calibration and security mechanisms; (ii) adaptive security tuning based on real-time system parameters; (iii) energy-aware cryptographic operation, which is critical for battery-constrained EV systems; and (iv) multi-parameter optimization that jointly considers performance, communication and security.
A unified cyber-physical framework is therefore required. Such a framework should combine MBC with adaptive cryptography to balance security, energy consumption and system performance in EV communication. This paper proposes the Cyber-Physical Model-Based Calibration framework with Adaptive Security (CPMBC-AS), which performs multi-parameter optimization in EVs using adaptive ECC–ChaCha20 security. Unlike prior hybrid systems that simply combine ECC with a lightweight cipher, CPMBC-AS makes the following contributions tailored to EV communication:
1. A cyber-physical framework that links vehicle operating conditions with adaptive secure communication. Security parameters are included in the calibration loop, so the configuration of the communication layer follows the vehicle state (Section 3).
2. An adaptive hybrid ECC–ChaCha20 scheme. The scheme uses elliptic-curve Diffie–Hellman (ECDH) key exchange once per session and ChaCha20-Poly1305 for authenticated data transmission. It performs rekeying within each session using a hash-based message authentication code (HMAC)-based key derivation function (HKDF).
3. A context-aware multi-parameter adaptive decision engine (ADE). The ADE selects a lightweight, hybrid or high-security configuration based on SoC, threat level, channel conditions and vehicle mobility. Each configuration defines the ECC curve strength (P-256 or P-384), the key-rotation interval and the authentication-tag length.
4. An energy-aware key-rotation strategy. The strategy sets the rotation frequency according to the security requirement of each vehicle. This reduces computational overhead while still meeting that requirement.
5. A comparative evaluation against pure ECC, ChaCha20-Poly1305, ECC combined with post-quantum cryptography (PQC) key exchange (ECC–PQC) and a lightweight symmetric framework Hybrid Security Framework (HSF). The evaluation also includes denial-of-service (DoS), man-in-the-middle (MITM) and replay attack analysis. In a simulated 150-vehicle IEEE 802.11p scenario, CPMBC-AS met the security requirement for all vehicles at 1.147 ms and 542.4 µJ per message, with 5.98% lower latency and 6.28% lower energy than the best fixed configuration that meets the same requirement. A provisioned-key ChaCha20-Poly1305 baseline remains about 2.7% faster but provides neither forward secrecy nor adaptation.
These contributions make CPMBC-AS suitable for real-time EV communication, ITS and other resource-constrained vehicular nodes.
The rapid advancement of ITS, vehicular ad hoc networks (VANETs), and EV communication technologies has significantly increased the demand for secure, scalable, and low-latency communication frameworks. V2V communication enables vehicles to exchange critical information such as traffic congestion, road conditions, nearby charging stations, and emergency alerts, thereby improving transportation safety and driving efficiency [1, 2]. However, the increasing interconnection of vehicular environments also exposes these systems to cybersecurity threats, including spoofing attacks, replay attacks, data interception, DoS attacks, and privacy leakage [3, 4]. Due to the rapid advancement in vehicular technology, the potential for cyber threats to these systems increases [5]. A VANET establishes communication between vehicles and surrounding infrastructure through wireless technologies such as Wi-Fi, and dedicated short-range communications (DSRC) for communication [6]. The major risk in V2V communication is the data hacking, that leads to issue in driver’s privacy and vehicle’s security.
Different security challenges and cyber-attacks of VANET are discussed by Ullah et al. [7] and Kim and Shrestha [8] and specifically Chowdhury et al. [9] described mitigation measures to be followed to maintain reliable performance under various cyber-attacks. Security is essential for the safe operation of intelligent transportation system, because successful attacks on them can have major incurable crisis [10]. It reported that group security mode is more reliable and safe.
Cryptographic solutions for vehicular communication trade-off protection against computation, latency and scalability, and this cost is sharpest on resource-constrained V2V and Vehicle to Everything (V2X) nodes [11]. Three studies show where this trade-off is usually fixed. Liu et al. [12] lowered authentication load with cooperative ECC-based verification that supports batch authentication and group session keys, but they do not consider energy-constrained operation. Hridoy [13] obtained high throughput at low computational cost with ChaCha20 authenticated encryption for the vehicle controller area network, but uses static key-rotation intervals. Weerasinghe et al. [14] distributed trust with threshold cryptography for 5G-enabled V2X communication, which improves authentication, privacy and fault tolerance but adds computational and communication overhead. The first two designs are efficient because they are narrow, and the third is robust because it is expensive. In none of them can the vehicle change its position on this trade-off when its battery, mobility or threat level changes. This fixing of the security-cost trade-off at design time in most of the work discussed below.
Block chain-based VANET architectures replace the central authority with distributed agreement [15, 16]. Two reviews of this line, Saad et al. [15] and Dwivedi et al. [16], agree on its benefits (decentralization, transparency, trust management) and on its cost: consensus overhead and latency, limited scalability and, for proof-of-work (PoW) and proof-of-stake (PoS) in particular, unsuitability for real-time V2V messaging [17-23]. Asim et al. [21] shorten that path with proof-of-authority (PoA) and proof-of-position (PoP) consensus and add ML-KEM (module-lattice key encapsulation mechanism) key encapsulation for quantum resistance, which improves throughput but still carries higher overhead and does not vary with vehicle state. The failure that belongs to this line is therefore structural: trust is bought with an agreement step whose cost scales with the network, not with the needs of the individual vehicle. CPMBC-AS does not inherit this cost because it needs no consensus, but it also does not provide the decentralized trust and auditability these designs offer; identity establishment is outside its scope. It assumes a certificate-based V2X public-key infrastructure (PKI) with a trusted certification authority (CA), as stated in the system model.
Three recent studies take a different route: instead of strengthening the channel, they detect attacks on it using an intrusion detection system (IDS). They differ in where the cost lands. Nakayiza et al. [17] combined block chain with feature-engineered detection for in-vehicle networks and report 99.9% detection accuracy with detection times of 0.24 to 1.32 s, so the cost is a ledger and a detection delay of the order of a second. Li et al. [18] (FEXGBIDS) trained a federated XGBoost detector, so raw data stay on the vehicle, and use batched Paillier homomorphic encryption to cut computation and communication overhead; the cost is gradient exchange and homomorphic encryption. Venkatasamy et al. [19] paired machine-learning detection with cryptographic protocols for V2X (ML-CPIDSS) and report lower latency, better privacy and authentication and stronger threat detection, at the price of increased computational complexity. What they share matters more than how they differ: each reports detection accuracy, detection time or privacy, none reports per-message encryption latency or energy, and in all three the cryptographic layer is a fixed component. They therefore cannot be placed on the axes used in the Results section, and we compare them with CPMBC-AS by what each assumes about the cryptographic layer rather than by numbers. They are complementary rather than competing: a detector of this kind could supply the threat-level input that the calibration mechanism consumes, whereas detection alone acts after an attempt and leaves the key lifetime and cipher choice unchanged.
Quantum-resilient designs raise the cost in the other direction. Sangeetha et al. [23] layered hybrid post-quantum mechanisms for 5G networks and report better confidentiality, authentication and key-exchange security, throughput and latency than classical baselines, but the added layers increase computational and communication burden, and battery-constrained vehicular devices are not optimized for. Two further works come from other domains, and each is included for a specific reason. This study [20] is the nearest published precedent for context- and energy-aware selection of lightweight ciphers, with a lightweight post-quantum layer for Unmanned Aerial Vehicle (UAV)-to-gateway links and a hybrid post-quantum layer for gateway-to-cloud; its context is a UAV link, not an EV, and its post-quantum layers add energy and communication overhead that an EV node would also have to carry. Kıyak et al. [22] proposed an ASCON-based HSF with energy-aware encryption to protect embedded software against code theft; it was not designed for message exchange between vehicles. We retain it as a baseline because it is the only energy-aware lightweight authenticated-encryption scheme in the set, so it represents that class in the Results section, and it is not presented as a V2V protocol.
Three conclusions follow from this comparison. First, the failure common to the field is that the security-cost trade-off is fixed at design time: ECC authentication [12], ChaCha20 encryption for the controller area network [13], threshold cryptography [14], consensus [15, 16, 21], machine-learning detection [17-19] and layered post-quantum protection [20, 23] each fix one point on that curve. Only Aljamal et al. [20] adapted to context, and it does so for UAV links with post-quantum layers whose energy and overhead cost is itself a limitation. Second, each line adds a failure of its own: consensus latency and scalability in the block chain line, no reported encryption cost and a fixed cryptographic layer in the IDS line, and multi-layer overhead in the post-quantum line. Third, CPMBC-AS inherits the properties of the primitives it combines. It uses ECC key establishment, as in Liu et al. [12], and ChaCha20 data protection [13], so it offers neither the post-quantum resistance by previous studies [20, 21, 23] nor the decentralized trust in these study [15, 16, 21], and because its evaluation is model-based it requires confirmation on vehicle hardware. What it addresses is the static configuration shared by previous studies [12-14], including the fixed key-rotation interval by Hridoy [13], by selecting the mode, rotation interval and tag length for each vehicle from its battery, mobility, channel and threat state. Summary of different security mechanisms used in V2V and V2X communication is presented in Table 1.
Table 1. Summary of security and optimization techniques of Vehicle to Everything (V2X) communication
|
Author (s) |
Year |
Proposed Methodology |
Benefits |
Limitations |
|
Ullah et al. [7] |
2025 |
Comprehensive survey on solutions to cybersecurity challenges in secure vehicle-to-vehicle communications |
Provides baseline understanding of cybersecurity challenges and associated best practices for addressing the critical challenges in V2V communication. |
Theoretical focus; lacks real time system evaluation. |
|
Liu et al. [12] |
2025 |
ECC based authentication for VANET |
Distributes workload to cooperative vehicles without compromising security guarantees and supports batch authentication. Reduced computational load. |
Energy constraints not addressed and network attacks were not discussed. |
|
Hridoy [13] |
2020 |
Lightweight authenticated encryption for vehicle controller area network |
Performs high speed encryption with minimum computational complexity and maximum throughput. |
Fixed encryption, static key-rotation interval and non-adaptive; no adaptive context-aware security. |
|
Weerasinghe et al. [14] |
2023 |
Threshold cryptography-based secure V2X communication in 5G-enabled ITS |
Enhances authentication and secure key sharing among vehicular entities. Supports secure and reliable V2V, V2I, and V2X communication; improves secure data dissemination in dynamic vehicular networks. |
Higher computational complexity; energy consumption may increase in resource-constrained vehicular nodes. |
|
Saad et al. [15] |
2022 |
Block chain-enabled VANET security architecture |
Improved trust management and data integrity. |
High consensus overhead and latency; no adaptive optimization. |
|
Dwivedi et al. [16] |
2022 |
Block chain-based VANET frameworks for security |
Used PoW/PoS consensus mechanisms for vehicular security and achieved enhanced decentralization and authentication. |
Poor scalability and unsuitable for real-time V2V communication. |
|
Nakayiza et al. [17] |
2025 |
Block chain optimized feature engineered IDS for in-vehicle network |
Achieves 99.9% detection accuracy and minimal computation time of 0.24 s to 1.32 s. |
Poor scalability and unsuitable for real-time V2V communication; energy constraints and attack analysis not addressed. |
|
Li et al. [18] |
2025 |
Federated XG boost-based IDS for in-vehicle network |
By integrating federated learning (FL) framework with cryptographic optimization techniques it addressed data and security challenges in the vehicular network environment. Reduced computational and communication overhead. |
Lack of lightweight adaptive security; adaptation based on energy constraint not addressed. |
|
Venkatasamy et al. [19] |
2024 |
Intrusion detection system for V2X communication in VANET networks using machine learning-based cryptographic protocols |
ML based cryptographic protocols were used for ID (Intrusion Detection) and achieved better privacy and authentication, lower latency, and stronger threat detection. |
Increased computational complexity and energy aware adaptation not addressed. |
|
Aljamal et al. [20] |
2026 |
Dual-layer quantum-resilient encryption strategy for UAV–cloud communication using adaptive lightweight ciphers and hybrid ECC–PQC |
Provides resistance against future quantum computing attacks. Supports adaptive lightweight encryption for resource-constrained UAV systems. Includes energy-aware and context-aware communication protection. Provides improved security robustness compared with conventional cryptographic schemes. |
Increased computational complexity; higher communication overhead and energy consumption due to multi-layer cryptographic processing. |
|
Asim et al. [21] |
2026 |
ML-KEM with PoA and PoP consensus |
Improved throughput and quantum security. |
Higher overhead and no adaptive optimization. |
|
Kıyak et al. [22] |
2025 |
Hybrid security framework (HSF) with energy-aware encryption for protecting embedded system |
Supports lightweight cryptographic implementation, provides balanced trade-off between security and energy consumption. Useful for IoT and low-power cyber-physical systems. |
Does not address highly dynamic vehicular mobility conditions; lacks context-aware adaptive security orchestration. |
|
Sangeetha et al. [23] |
2025 |
Quantum-resistant cryptographic framework for secure 5G communication |
Integrates hybrid cryptographic techniques for enhanced security robustness. Provides stronger protection against cyber threats in 5G environments. Enhances overall network security reliability. |
Higher communication overhead and encryption / decryption latency due to multiple security layers; limited energy-aware optimization for battery-constrained vehicular devices. |
Although several studies have investigated hybrid ECC–ChaCha20 security frameworks for vehicular communication, most existing approaches employ fixed cryptographic configurations with limited adaptability to dynamic vehicular environments. The proposed CPMBC-AS framework differs fundamentally by introducing a cyber-physical MBC mechanism integrated with an ADE that continuously calibrates security operations according to real-time vehicular context. Instead of proposing a new encryption algorithm, the novelty lies in the intelligent orchestration of cryptographic mechanisms based on multiple runtime parameters, including vehicle mobility, battery condition, communication latency, channel quality, network congestion, and threat level. This adaptive calibration enables dynamic optimization of encryption strategy, key-rotation, authentication policies, and communication scheduling, thereby simultaneously improving energy efficiency, packet delivery ratio (PDR), latency, scalability, and resilience against cyber-attacks. To the best of our knowledge, such a context-aware cyber-physical calibration framework has not been reported for adaptive ECC–ChaCha20 based secure EV communication.
Based on the literature survey carried out in Section 2, this paper proposes a novel conceptual framework that addresses the security gaps identified in V2V and V2X communication for EVs. CPMBC-AS is an efficient and scalable solution for secure communication of EVs in a cyber-physical transportation system. It uses ECC for secure key exchange and ChaCha20-Poly 1305 for fast authenticated data transmission. This combination balances security and speed. The framework is an adaptive security protocol designed to dynamically select the cryptographic configuration that defines ECC curve strength, the key-rotation interval, authentication-tag length, according to real-time cyber-physical state of EV communication system. Unlike conventional security models with a predefined cryptographic configuration, CPMBC-AS adapts these parameters to context. Each vehicle therefore receives a configuration that meets its security requirement with low latency, low energy consumption and low communication overhead.
Figure 1 shows the architecture of CPMBC-AS, an adaptive and energy-aware security architecture for next generation EV communication systems. The framework comprises four layers: (i) context-aware input acquisition, (ii) a MBC mechanism, (iii) the ADE and (iv) hybrid cryptographic adaptation.
Figure 1. Proposed Cyber-Physical Model-Based Calibration framework with Adaptive Security (CPMBC-AS)
3.1 Context-aware input acquisition
It begins with a sensor input layer, which constantly monitors critical operational parameters of EVs, including (i) SoC that reflects the availability of the battery and energy constraints, (ii) vehicle mobility patterns that capture the vehicle speed and topology dynamics, (iii) wireless channel quality that is used to indicate the strength of the signal, interference, and the loss of packets, (iv) threat level that quantifies the security risk of the system. All of these parameters form the system state vector, which determines both physical and network states. In contrast to traditional non-adaptive systems, the proposed solution builds on the context awareness to make intelligent and adaptive security decisions. The context is modeled in the system as a multi-parameter vector and is specified in Eq. (1).
$\begin{gathered}C(\mathrm{t})= \{{ SoC(t), Mobility(t), Channel\ Quality(t), Threat(t)\} }\end{gathered}$ (1)
where, C(t) is the context vector. In which all the parameters change with time and defines the overall system state. This method enables the proposed framework to reflect spatio-temporal changes in vehicular environments and allows fine-grained control over security operations. The SoC parameter determines the energy budget available for cryptographic operations favours the lightweight configuration under low battery conditions and supports adaptive key-rotation frequency control. The mobility parameter captures the dynamic movement characteristics of the vehicle like speed, acceleration, direction and topology changes using GPS, Inertial Measurement Unit (IMU), and onboard sensors. Higher mobility means higher stress index and more likely to use the lightweight configuration (longer key interval, shorter tag), lower mobility means stronger configuration and more likely to use the hybrid configuration (shorter key interval, longer tag). Channel quality parameter is retrieved from V2X interfaces and the lightweight configuration is favoured when the channel quality is low, to keep frames short, and the hybrid configuration when the channel is good. Under attack conditions, based on threat level the high-Security mode is used (P-384 and a key refresh every 5 messages) and supports proactive defense mechanisms.
3.2 Model-based calibration mechanism
The MBC mechanism is the fundamental intelligence and control layer of the proposed CPMBC-AS framework that can be dynamically adjusted to changes in real-time cyber-physical conditions to calibrate the security settings. Contrary to the traditional fixed security methods, which use a fixed combination of cryptographic parameters regardless of system dynamics, the MBC mechanism models security adaptation as a context-driven multi-objective selection problem, solved by a rule-based mapping, and thus it attains an efficient trade-off between the level of security, system latency, system energy consumption and system communication overhead. Mathematically, the calibration process can be defined as in Eq. (2).
$S c=f(SoC, Mobility, Channel, Threat)$ (2)
where, Sc is the selected security configuration (Lightweight, Hybrid or High-Security), and input parameters represent real-time context information obtained from the vehicular environment. The goal of the calibration function is to minimize the latency (L), energy consumption (E), and overhead (O), and to maximize the security (Sec) and throughput (Th) and is expressed in Eq. (3).
$\operatorname{Min}(\mathrm{L}, \mathrm{E}, \mathrm{O}), \quad \max (\mathrm{Sec}, \mathrm{Th})$ (3)
The input parameters are normalized to [0, 1] and combined into a context stress index and is given by Eq. (4).
$\begin{aligned} \text { Stress index } & =0.5 *(1-\mathrm{SoC})+0.3 * \mathrm{Mo} +0.2 *(1-\mathrm{CQ})\end{aligned}$ (4)
where, Mo represents mobility and CQ refers channel quality. The threat level takes priority over the stress index. A high threat selects the high-security mode, a medium threat selects the hybrid mode, and for a low threat the lightweight mode is selected when stress index > 0.5 (low battery, high mobility or poor channel) and the hybrid mode otherwise. The selected mode fixes the ECC curve strength, the key-rotation interval and the authentication-tag length and are given in Table 2. In every mode the session key is established once by ECDH and refreshed by HKDF at the selected interval, and the data are protected with ChaCha20-Poly1305. The mapping therefore shortens the key lifetime and strengthens the curve when the threat is high, and relaxes both when the battery is low, the mobility is high or the channel is poor, so that computation and overhead stay small for vehicles that do not need more. This adaptation makes efficient use of computational and energy resources while meeting the security requirement of each vehicle, which improves scalability and quality of service in dense vehicular settings.
The proposed MBC mechanism therefore replaces a fixed cryptographic setup with a context-driven selection of the ECC curve strength, key interval and tag length, which offers a flexible and efficient way of securing communication in next-generation cyber-physical transportation systems.
Table 2. Cyber-Physical Model-Based Calibration framework with Adaptive Security (CPMBC-AS) mode selection
|
Mode |
ECC Curve |
Key Interval (Messages) |
Tag (Bytes) |
Condition |
|
Lightweight |
P-256 |
100 |
8 |
low threat and Stress index > 0.5 |
|
Hybrid |
P-256 |
20 |
16 |
medium threat, or low threat and Stress index ≤ 0.5 |
|
High-Security |
P-384 |
5 |
16 |
high threat |
Note: ECC = elliptic curve cryptography.
|
Algorithm 1. Model-based calibration (MBC) |
|
Require: State of Charge (SoC), Mobility (Mo), Channel Quality (CQ), Threat Level (T) (All 3 inputs normalized to [0,1]) T ∈ {low, medium, high}; τ=0.5 Ensure: Selected configuration Sc = {Mode, Curve, KeyInterval, TagLen} Context normalization 1: SoCn ← SoCt / 100 2: Mon ←Mot / Momax 3: CQn ← CQt / CQmax Stress index computation 4: Stress index ← 0.5 * (1 - SoCn) + 0.3 * Mon + 0.2 * (1- COn) Security mode selection 5: if T = high then 6: Mode ← High-Security 7: else if T = medium then 8: Mode ← Hybrid 9: else if T =low AND Stress index > τ then 10: Mode ← Lightweight 11: else 12: Mode ← Hybrid 13: end if Cryptographic configuration 14: if Mode = High-Security then 15: Curve ← P-384; KeyInterval ← 5 messages; TagLen ← 16 bytes 16: else if Mode = Hybrid then 17: Curve ← P-256; KeyInterval ← 20 messages; TagLen ← 16 bytes 18: else 19: Curve ← P-256; KeyInterval ← 100 messages; TagLen ← 8 bytes 20: end if Output 21: Establish the session key by ECDH on Curve once per session, rekey with HKDF every KeyInterval messages, and protect data with ChaCha20-Poly1305 using TagLen 22: return Sc = {Mode, Curve, KeyInterval, TagLen} |
3.3 Adaptive decision engine
The ADE is the execution layer of CPMBC-AS. It turns the configuration selected by the MBC mechanism into the cryptographic settings that are actually applied to a vehicle’s communication session. The MBC mechanism decides which configuration a vehicle needs from its context, and the ADE enforces it. Separating the two keeps the decision logic small and allows a vehicle to react quickly when its context changes. The selected configuration Sc is described by the parameter set and is given in Eq. (5).
$\Theta=\left\{\theta_{E C C}, \theta_{ {ChaCha } 20}, \theta_{K R}, \theta_{{mode }}\right\}$ (5)
where, θECC is the curve used for the ECDH key exchange (P-256 or P-384), θChaCha20 is the authentication-tag length of the ChaCha20-Poly1305 data protection, θKR is the key-rotation interval, and θmode is the selected mode: Lightweight, Hybrid or High-Security. The mapping from the context to Θ is the rule-based mapping of Eq. (2).
The ADE applies this mapping as follows. In a high-threat situation it selects the High-Security mode, with the P-384 curve, the shortest key-rotation interval (every 5 messages) and the full-length 16-byte authentication tag. For a low threat combined with a low battery, high mobility or a poor channel, it selects the Lightweight mode, which keeps the P-256 curve but rotates keys every 100 messages and uses an 8-byte tag, thereby reducing latency, energy consumption and communication overhead. In all other cases it selects the Hybrid mode (P-256, key-rotation every 20 messages, 16-byte tag). All three modes use the same ChaCha20-Poly1305 data path and differ only in the curve strength, the key-rotation interval and the tag length.
The ADE is intentionally light weight. The decision is a small set of rules, so it can be implemented as a state machine on a resource-limited EV platform, and no complex optimization algorithm is needed at runtime. The ADE also records latency, energy consumption, communication overhead and delivery status for each session. In this work these records are used only for evaluation and do not feed back into the decision.
|
Algorithm 2. Adaptive decision engine (ADE) for dynamic security enforcement |
|
Require: selected configuration Sc = {Mode, Curve, KeyInterval, TagLen}, message M Ensure: cipher text and tag Cit, updated session state Session establishment 1: if no active session then 2: Perform the authenticated ECDH key exchange on Curve (Section 3.5) 3: Derive the session key K with HKDF 4: end if Configuration enforcement 5: Set the key-rotation interval to KeyInterval and the tag length to TagLen 6: if the message counter has reached KeyInterval then 7: K ← HKDF(K, context); reset the counter; erase the previous key 8: end if Data protection 9: Cit ← ChaCha20-Poly1305(K, nonce(counter), m), tag truncated to TagLen 10: Increment the counter 11: Record latency, energy, overhead and delivery status (logging only) Output 12: return Ct, updated session state |
3.4 Hybrid cryptographic adaptation
The security layer of CPMBC-AS uses both asymmetric and symmetric cryptography. Only at the start of the session, using ephemeral ECDH, ECC is used to establish the session key and to authenticate both the peers and the session key. ECC is used to provide confidentiality and security for the session key with small size keys. Once the session is made, all application data is encrypted using ChaCha20-Poly1305, which is a low latency, low energy consumption, and high throughput. ECC operations are expensive and limiting them to one operation per session will distribute the cost of using ECC over all the messages of the session. This limitation also minimizes the overhead for communication as the public keys, certificates and signatures are only present in the handshake, while only a short counter, cipher text and authentication tag are carried on each data message. No switching is used between different mechanisms in the adaptation. The mechanisms are permanent and the chosen mode defines three parameters: the ECC curve strength, the key-rotation interval and the length of the authentication-tag. The framework in the High-Security mode is based on the curve P-384, rotating the key after 5 messages, and has a tag of 16 bytes. In the Lightweight mode, which is chosen for a low threat combined with a low battery, high mobility or a poor channel, it uses the P-256 curve, rotates the key every 100 messages and uses an 8-byte tag, which lowers the cost of key derivation and the number of bytes on the channel. The hybrid mode lies in between (P-256, 16-byte tag, every 20 messages).
Based on the same principle key management is done. Once the session key is established by ECDH, and it is locally refreshed during every session interval, thus there is no need for additional frames, and no additional ECC operation. Forward secrecy for past messages: If a key is compromised later, then previous traffic will not appear on this key's compromise, provided all previous keys have been erased from memory. However, HKDF rekeying is not resistant to compromise: if the attacker is able to guess the current keys, he will be able to generate all subsequent keys until the next ECDH exchange can be used. Also, by defining the key-rotation interval, one can only protect a certain number of messages with one key, and this is linked to the replay protection provided by the receiver, as discussed in Section 4. This is because the longer interval results in a wider exposure window in the Lightweight mode, at the expense of lower security, hence it is called as "Lightweight" mode. The selection rule applies when energy awareness comes in: When the battery level is low, and the threat low, the longer interval is used, as it yields less frequent key derivations.
Overall, the hybrid cryptographic adaptation allows CPMBC-AS to provide vehicles with settings that satisfy their security requirement with minimal latency, energy and overhead costs. The results presented in Section 4 illustrate the costs with respect to the fixed configurations, as well as the baseline schemes, and the limits of the approach.
3.5 Public key infrastructure-based mutual authentication and trust management
To avoid active MITM attacks, CPMBC-AS authenticates both parties during session establishment using a PKI. A trusted CA issues a compact digital certificate to each participating EV and to the communication gateway. Each entity holds its own private signing key and its certificate, and keeps the CA root certificate in a local trust store. Certificate issuance and initial enrolment are treated as provisioning, which takes place before operation. Session establishment consists of three message flights. In the first flight, the initiator sends its ephemeral ECDH public key. In the second flight, the responder returns its ephemeral public key, its certificate and an Elliptic Curve Digital Signature Algorithm (ECDSA) signature over the handshake transcript. In the third, the initiator sends its own certificate and transcript signature, and both parties confirm the handshake with authenticated finished messages. The transcript covers the identities of both parties, the ephemeral public keys, the nonces, the negotiated parameters, and the session context. These are the configuration, the curve, the key-rotation interval and the tag length. Each party validates the certificate of its peer, including the certification path, the validity period and the identity binding. Each party also verifies the transcript signature. Because the signatures cover the whole transcript, an attacker cannot substitute an ephemeral key or alter the negotiated parameters without invalidating a signature. A party that cannot sign with a valid identity key therefore cannot establish a session.
After successful mutual authentication, both parties compute the shared secret by ephemeral ECDH on the curve selected for the configuration. They then derive a single session key with HKDF. ChaCha20-Poly1305 uses this key for authenticated encryption, and the same HKDF chain provides rekeying within the session (Section 3.4). The finished messages are computed over the transcript using the derived key, so they confirm that both parties hold the same key. In the model, the certificates, the signatures and the authentication operations used P-256 in every configuration, and only the ECDH curve depended on the configuration (P-256 or P-384). The security of session establishment depends on two conditions: the integrity of the CA and of the certificates it issues, and on the secrecy of each entity’s private signing key. If either condition fails, an attacker can impersonate a party. Authentication also does not limit the damage of a session-key compromise within a session. This damage is bounded only by the key-rotation interval. The model assumed a probability qLong = 10⁻³ that a long-term secret or identity key is compromised.
Authentication has a computation and communication cost, which the model counted. Per handshake, authentication added a certificate of 130 bytes, a signature of 64 bytes and two finished messages of 48 bytes each. It also added ten scalar multiplications, five per side: one for signature generation, two for certificate verification and two for peer-signature verification. This cost was spread over the M = 10,000 messages of a session. For the P-256 key exchange, authentication raised the handshake cost from 200.0 ms, 100.0 mJ and 138 bytes to 700.2 ms, 350.1 mJ and 658 bytes. This corresponds to an extra 50.0 µs, 25.0 µJ and 0.052 bytes per message. For the P-384 key exchange, the handshake time rises from 675.1 ms to 1175.2 ms, which is also an extra 50.0 µs per message on top of its higher base.
The performance of the proposed CPMBC-AS is compared with existing schemes—ECC, ChaCha20, hybrid ECC–PQC, HSF (ASCON-based) in terms of energy consumption, latency, encryption/decryption time, communication overhead, throughput and PDR. The proposed CPMBC-AS was evaluated using a uniform application payload of 43 bytes (344 bits) to ensure fair comparison under realistic EV communication conditions. To ensure maximum security, performance of proposed CPMBC-AS is analyzed under different network attack scenarios. All values in this section come from a model-based evaluation (cycle-count, frame-size and channel-error model), and are reported per message as the mean over 150 vehicles. The cost of the authenticated key exchange and of key-rotation is amortized over a session of 10,000 messages. Only the link rate of IEEE 802.11p [24] and the ML-KEM-768 key and cipher text sizes of FIPS 203 [25] are taken from standards and CPMBC-AS mode parameters are the output of the procedure described in Section 3. Table 3 gives the cost model used for all schemes during evaluation.
Table 3. Parameters of the cost model used for all schemes (IEEE 802.11p link)
|
Group |
Parameter |
Value |
|
Network |
Link |
IEEE 802.11p, 27 Mbps (10 MHz channel) |
|
Propagation, contention and queuing per message |
50 µs |
|
|
MAC + LLC + FCS header per frame |
36 B |
|
|
Maximum data per frame |
2800 B |
|
|
Bit error rate (BER) |
10⁻⁶ × 10(3(1 − CQ)), CQ = channel quality |
|
|
Workload |
Vehicles |
150 |
|
Messages per session, M |
10,000 (key-exchange cost divided by M) |
|
|
Message length |
43 B |
|
|
Counter per symmetric frame |
4 B |
|
|
ECU |
Clock frequency |
100 MHz |
|
Power while computing / transmitting |
0.5 W / 0.3 W |
|
|
ML-KEM-768 |
ChaCha20 / Poly1305 / ASCON-128 |
10 / 4 / 15 cycles per byte (ASCON: +1,000 cycles per message) |
|
P-256 scalar multiplication |
5 × 10⁶ cycles; scales as (bits/256)³ for P-384 |
|
|
HKDF-SHA256 rekey |
20,000 cycles |
|
|
Pure ECC embedding |
31 B plaintext per point; cipher text 2 × 33 B per chunk |
|
|
Public key / cipher text |
1184 B / 1088 B |
|
|
CPMBC-AS modes |
Keygen + encapsulation + decapsulation |
3.4 × 10⁶ cycles |
|
Lightweight |
P-256, rekey every 100 messages, 8-byte tag |
|
|
Hybrid |
P-256, rekey every 20 messages, 16-byte tag |
|
|
High-Security |
P-384, rekey every 5 messages, 16-byte tag |
Note: ECU = electronic control unit; FCS = frame check sequence; MAC = medium access control; LLC = logical link control; BER = bit error rate; ECDH = elliptic-curve Diffie–Hellman; HKDF = HMAC-based key derivation function; ML-KEM = module-lattice key encapsulation mechanism; PDR = packet delivery ratio; CPMBC-AS = Cyber-Physical Model-Based Calibration with Adaptive Security.
4.1 Latency analysis
The mean end-to-end latency per message for the five schemes is plotted on a logarithmic axis in Figure 2.
Figure 2. Latency analysis
The slowest one was pure ECC, which required 301.10 ms per message from both the sender and receiver sides. This is approximately 260 times the latency of CPMBC-AS, and makes pure ECC unsuitable for periodic V2X messaging. The symmetric-key schemes were grouped tightly together, within a few milliseconds. The fastest of them was ChaCha20-Poly1305, because it uses a provisioned key and has no key-exchange cost. CPMBC-AS reached 1.15 ms, just 2.7% higher than ChaCha20-Poly1305. This is expected, because its data path is the same as that of ChaCha20-Poly1305 and the additional time consists of the amortized ECDH and HKDF rekeying. Compared with ECC-PQC (1.25 ms), whose ML-KEM handshake message introduces greater key-establishment overhead, CPMBC-AS was 7.9% faster, and it was 38.8% faster than HSF (1.87 ms), which had the highest per-message cost of symmetric-key schemes. CPMBC-AS therefore kept its latency close to that of the symmetric-key lower bound, while also providing forward secrecy and the threat-adaptive configuration that ChaCha20-Poly1305 and HSF do not provide.
Figures 3 and 4 show the mean and total (last-message) latency, respectively, for different numbers of vehicles. As the density increased, all five schemes slowed down, because messages are served on a first come, first served basis and later vehicles wait for earlier received messages to be processed. Pure ECC was the only scheme that was much slower than the others. Its mean latency increased from approximately 0.75 s with 10 vehicles to approximately 7.8 s with 150 vehicles, and its total latency reached approximately 15.3 s. This is more than two orders of magnitude above the other schemes, since pure ECC performs elliptic-curve scalar multiplications for each payload chunk and is therefore not a practical payload cipher. The other four schemes were in a much narrower range. At 150 vehicles, the mean latency was approximately 39.6 ms for CPMBC-AS, 39.7 ms for ChaCha20-Poly1305, 43.4 ms for ECC-PQC, and 68.7 ms for HSF (ASCON), and the total latency was approximately 78, 78.3, 85.6 and 135.4 ms, respectively. CPMBC-AS had the lowest curve, but it was practically identical to that of ChaCha20-Poly1305 (a difference of about 0.3%), so the two curves overlap on the logarithmic scale, and it was about 9% below that of ECC-PQC. HSF was always the slowest of the four lightweight schemes, which agrees with its authenticated-encryption and key-derivation steps. The ordering therefore results mainly from the per-message cryptographic cost and the shared channel queueing.
Figure 3. Mean latency for various traffic conditions
Figure 4. Total latency for various traffic conditions
4.2 Encryption / decryption time
Encryption and decryption time adds to the end-to-end delay of V2X communication, in which safety-related information must be exchanged within strict latency limits. Excessive cryptography delay can result queuing on the shared channel, decrease packet delivery during heavy traffic and cause stale information to reach vehicles before real-time driving decisions are made. This section compares the performance of all the schemes in terms of encryption and decryption time as the number of vehicles increases from 10 to 150.
Figures 5 and 6 represent the total encryption time and total decryption time, respectively, summed over all vehicles. For increase in number of vehicles, encryption/decryption time increased, because the cost per message is fixed and every vehicle that enters network adds one message to be processed. Pure ECC was much slower than the other schemes. Its total encryption time increased from approximately 2 s (10 vehicles) to about 30 s at 150 vehicles, while the decryption time increases from approximately 1s (10 vehicles) to about 15s (150 vehicles). The pure ECC encryption time was approximately twice the pure ECC decryption time as ElGamal style encryption required 2 scalar multiplication operations per message chunk while ECC decryption required only one. At 150 vehicles, the combined time of pure ECC was 45,150 ms, which is approximately 290 times that of CPMBC-AS and two to three orders of magnitude higher than that of the symmetric schemes. The four lightweight schemes were much more similar to each other than to pure ECC. The model allocated equal encryption and decryption times to the symmetric schemes, because both directions perform equivalent key stream and authentication operations.
Figure 5. Encryption time analysis
Figure 6. Decryption time analysis
At 150 vehicles, the total encryption and decryption time of CPMBC-AS was 154.8 ms or 77.4 ms in each direction. This is roughly 99.7% lower than that of pure ECC and about 42% lower than that of the ASCON-based HSF (268.9 ms combined, approximately 134.5 ms in each direction). The combined times of ChaCha20-Poly1305 with a provisioned key and of ECC–PQC were 155.4 ms and 169.8 ms, respectively. These values include cryptographic processing only. The low processing time of CPMBC-AS results from its architecture. CPMBC-AS uses ECC only to establish and refresh session keys, so no asymmetric operation is repeated per message. The ChaCha20-Poly1305 protects the payload, so the encryption and decryption time increased linearly with the number of vehicles. The payload-processing time of CPMBC-AS was basically the same as ChaCha20-Poly1305 with provisioned key. CPMBC-AS additionally provides authenticated session establishment, forward secrecy through key-rotation, and context-dependent key and mode selection. Its advantage does not come from faster cipher. It comes from a lower processing time than the asymmetric and ASCON-based alternatives, with the key-management features that a fixed provisioned-key cipher lacks.
4.3 Throughput analysis
Figure 7 compares the effective throughput of the five schemes for the 43-byte message used in the simulation, on a logarithmic axis. Throughput is the successfully delivered payload divided by the total time the vehicles occupy the shared 802.11p channel, so it combines the per-message latency with the PDR. Pure ECC reaches only 0.0011 Mbps, because each 31-byte chunk of plaintext needs several scalar multiplications at the sender and the receiver. This is more than 250 times lower than any other scheme, so pure ECC cannot support periodic V2X traffic. ChaCha20 gives the highest throughput (0.308 Mbps) because it uses a provisioned key and has no key-exchange cost. CPMBC-AS follows closely at 0.299 Mbps, only 2.8% below ChaCha20. The difference comes from the amortised ECDH and HKDF rekeying, since both schemes use the same ChaCha20-Poly1305 data path. CPMBC-AS exceeds ECC–PQC (0.231 Mbps) by 29.2% and HSF (0.183 Mbps) by 63.0%. About half of the gap to ECC–PQC arises from its lower delivery ratio (83.87% against 99.75%), because the large ML-KEM handshake frames are more likely to be corrupted, and the rest from its higher per-message cost. The throughput of HSF is the lowest of the symmetric schemes because its per-message processing and key-handling time is the highest.
Figure 7. Throughput analysis
Figure 8 shows how throughput changes with the message length from 43 to 2780 bytes (the largest single-frame payload). The four symmetric and hybrid schemes rise steadily with length and keep the same ordering at every point: ChaCha20, CPMBC-AS, ECC–PQC and HSF. The growth is less than linear, because each message carries a fixed time cost (key lookup, propagation and contention) that is shared by a larger payload only gradually. Between 43 and 2780 bytes (a 65-fold increase in length), the throughput of CPMBC-AS increases about 20-fold, from 0.299 to 5.98 Mbps, and that of ChaCha20 about 19.6-fold, from 0.308 to 6.04 Mbps. The curves approach a ceiling well below the 27 Mbps link rate, which shows that for short vehicular messages the per-message processing time, not the raw channel capacity, limits the throughput. The gap between CPMBC-AS and ChaCha20 narrows with length, from 2.8% at 43 bytes to 1.9% at 1000 bytes and 1.1% at 2780 bytes, because the extra rekeying cost is fixed per message, while the transmission time grows. The advantage of CPMBC-AS over ECC–PQC shrinks in a similar way (from 29.2% to 13.3%) and over HSF from 63.0% to 25.7%. Pure ECC stays flat at about 0.001 to 0.0016 Mbps for all lengths, because its cost grows in proportion to the number of chunks, so its throughput does not improve with larger messages.
Figure 8. Throughput for different message lengths
4.4 Communication overhead
Communication overhead is the extra bits that are sent to facilitate the transmission of the actual payload in order to provide a safe and secure communication. It contains important exchange parameters, cryptographic metadata, and authentication tags and protocol headers and is calculated using Eq. (6).
$O=S_{C T R}+S_{\text {tag }}+S_{H S} / M+S_{R E T X}$ (6)
where, SCTR – size of message counter, SHS – total size of handshake, Stag – size of authentication tag, SRETX – expected number of bytes added by retransmissions, M - number of messages per session.
For pure ECC, the overhead is the cipher text expansion, which is two compressed curve points (66 bytes) per 31-byte chunk of plaintext. Figure 9 shows the overhead of the five schemes for the 43-byte payload. Pure ECC has an overhead of 94.3 bytes per message, from the cipher text expansion (two chunks for the 43-byte message). ChaCha20 has 21.9 bytes: the 4-byte counter, the 16-byte tag and the average cost of retransmissions. HSF has the same overhead (21.9 bytes), because it uses the same counter and tag sizes. ECC–PQC has 22.2 bytes. The large ML-KEM-768 handshake (2272 bytes of public key and cipher text) adds only about 0.2 bytes per message when it is spread over a 10,000-message session, but it produces a large one-off burst at session start and reduces the delivery ratio.
Figure 9. Communication overhead analysis
CPMBC-AS has the lowest overhead, 19.8 bytes per message, which is 9.6% below ChaCha20 and HSF and 10.9% below ECC–PQC. It is 79.0% below pure ECC. The saving comes mainly from the adaptive tag length: the 38 of 150 vehicles in the Lightweight mode send an 8-byte tag, while the others send 16 bytes, whereas the baselines use a 16-byte tag for every vehicle. The compressed ECDH keys used once per session and the local HKDF rekeying add only a small amount, about 0.05 bytes per message. Normalised to the 43-byte payload, the overhead ratio is 219% for ECC, 50.9% for ChaCha20 and HSF, 51.6% for ECC–PQC and 46.0% for CPMBC-AS. Communication overhead affects EV networks through bandwidth use, transmission delay, energy consumption and scalability, so keeping it low helps V2V, V2I and real-time telemetry. The saving is not free: the shorter tag in the Lightweight mode gives a forgery probability of 2⁻⁶⁴ per frame instead of 2⁻¹²⁸, which is why that mode is used only for low-threat vehicles.
Figure 10 presents the computational complexity of the five schemes as a function of the number of vehicles. The vertical axis (logarithmic) gives the total CPU cycles needed for one burst, in which every vehicle sends one 43-byte message. The cost counts both the sender and the receiver, with the key exchange and rekeying amortised over a 10,000-message session. For all schemes the cost grows linearly with the number of vehicles, since a burst is the sum of independent per-message costs. The schemes, however, lie on very different levels. Pure ECC is clearly the most expensive, requiring about 3.0 × 10⁸ cycles for 10 vehicles and 4.5 × 10⁹ cycles for 150 vehicles. This is roughly 3 × 10⁷ cycles per message, because every 31-byte plaintext chunk needs several elliptic-curve scalar multiplications. ChaCha20-Poly1305 and HSF are the cheapest, at about 3.2 × 10³ and 3.3 × 10³ cycles per message, since each message needs only symmetric operations. ECC–PQC and CPMBC-AS, which establish keys once per session, require about 7.5 × 10³ and 7.8 × 10³ cycles per message. Their extra cost over ChaCha20 comes from the amortized key exchange and HKDF rekeying, and in CPMBC-AS from the P-384 curve and the short rotation interval of the High-Security mode, which is used by 14 of the 150 vehicles. At 150 vehicles the burst therefore costs about 4.8 × 10⁵ cycles for ChaCha20, 1.1 × 10⁶ for ECC–PQC and 1.2 × 10⁶ for CPMBC-AS. CPMBC-AS thus costs about 2.4 times as much as ChaCha20 and about 3% more than ECC–PQC, but it is nearly four thousand times cheaper than pure ECC. The result shows that the adaptive scheme retains the computational profile of a symmetric-key scheme while adding ephemeral key exchange and rekeying, and that its additional complexity over ChaCha20 is small in absolute terms.
Figure 10. Computation complexity analysis
4.5 Energy consumption
Energy consumption is a critical metric in EV communication, because it directly affects battery life and the sustainability of the system. In this study the energy spend by a node on one message is the CPU energy for encryption and decryption plus the radio energy for transmission, including the amortized key exchange and rekeying and the expected retransmissions. The CPU energy follows the processing time of the algorithm, and the radio energy follows the transmitted bytes. The energy of all schemes was evaluated for the default message and for a growing number of vehicles.
Figure 11 compares the energy per message. Pure ECC consumes by far the most, 150,515 µJ, because each 31-byte chunk of plaintext requires elliptic-curve scalar multiplications at both the sender and the receiver. ChaCha20-Poly1305 is the lowest at 527.0 µJ, since it needs only addition, rotation and XOR operations with a provisioned key and no key exchange. CPMBC-AS follows at 542.4 µJ, 2.9% above ChaCha20, because it uses the same ChaCha20-Poly1305 data path and adds the amortised cost of one ECDH exchange per session and of the HKDF rekeying. The ECC–PQC scheme uses 591.7 µJ, 12.3% above ChaCha20, as its ML-KEM-768 handshake is larger, its keys are refreshed every 20 messages and its larger frames are retransmitted more often. HSF uses 905.4 µJ, the highest of the symmetric schemes, since in the model its per-message key handling and framework processing time is longer. The ASCON cipher itself is light, but this cost comes from the key-pool and framework operations around it.
Figure 11. Energy consumption analysis
Compared with the baselines, CPMBC-AS reduces the energy per message by 99.6% relative to pure ECC, by 8.3% relative to ECC–PQC and by 40.1% relative to HSF. It does not reduce the energy relative to provisioned-key ChaCha20, which is 2.9% lower, but ChaCha20 gives no forward secrecy, no adaptation and does not meet the security requirement of any vehicle in the model (compliance 0%). The adaptation is also visible against the fixed configurations of CPMBC-AS itself. The only fixed configuration that meets the requirement for every vehicle, Fixed High-Security, uses 578.7 µJ, so the adaptive scheme saves 6.28% energy while keeping 100% compliance. The cheaper fixed configurations (535.2 µJ for Lightweight and 540.0 µJ for Hybrid) do not meet the requirement for 38.7% and 9.3% of the vehicles.
Figure 12 shows the total energy of a burst in which every vehicle sends one message, for 10 to 150 vehicles. The energy grows linearly for all schemes. At 150 vehicles it is 22,577 mJ for pure ECC, 135.8 mJ for HSF, 88.8 mJ for ECC–PQC, 81.4 mJ for CPMBC-AS and 79.0 mJ for ChaCha20. The order of the schemes is therefore the same at every traffic density, and the energy of CPMBC-AS stays within 3% of ChaCha20 as the number of vehicles increases, which shows that its additional cost does not accumulate with the load.
Figure 12. Energy consumption for various traffic conditions
4.6 Packet delivery ratio
The reliability of V2V and V2X communication is assessed by the PDR, which is the probability that a message, together with the key-exchange handshake of its session, is delivered without a bit error within the allowed number of attempts. The channel is modelled by a BER that increases as the channel quality decreases (from 10⁻⁶ for a perfect channel to about 1.3 × 10⁻⁴ for the worst vehicles), and every scheme is allowed one retransmission. Figure 13 compares the PDR of the five schemes for the 43-byte payload. ChaCha20-Poly1305 and HSF reach the highest PDR (99.91%), because they use a provisioned key, have no handshake and send short frames, whereas the PDR of CPMBC-AS includes the delivery of its ECDH handshake.
Figure 13. Packet delivery ratio (PDR) analysis
Pure ECC (99.76%) and CPMBC-AS (99.75%) are practically equal, and CPMBC-AS is only 0.16 percentage points below ChaCha20-Poly1305. ECC–PQC has by far the lowest PDR (83.87%), 15.9 percentage points below CPMBC-AS, because its ML-KEM-768 handshake needs frames of 1184 and 1088 bytes, which are much more likely to be corrupted on a noisy channel. The handshake of CPMBC-AS needs only compressed ECDH keys of 33 or 49 bytes, so it is rarely affected. Within CPMBC-AS, adaptation does not harm reliability: the adaptive scheme (99.75%) matches the Hybrid configuration and is 0.08 percentage points above Fixed High-Security (99.67%).
Figure 14 shows how the PDR depends on the number of retransmissions allowed for every scheme. Without any retransmission, the PDR of CPMBC-AS is 95.61%, below ChaCha20 (98.11%), because the delivery of the handshake is counted in every message of the session. One retransmission raises it to 99.75%, two to 99.98% and three to 99.998%, where it is practically equal to the symmetric schemes, while the extra latency and energy of a retransmission are negligible (below 0.002 ms and 0.2 µJ per message). The PDR of ECC–PQC improves more slowly (69.78%, 83.87%, 89.27% and 92.23% for 0 to 3 retransmissions), and it remains the least reliable scheme, because a failed handshake of several kilobytes has to be repeated as a whole. The comparison shows that CPMBC-AS offers reliability close to that of the best symmetric schemes while providing forward secrecy and adaptive security, which they do not provide. The PDR depends on the assumed channel model and on counting the handshake in each message, so the values should be read as relative comparisons.
Figure 14. Packet delivery ratio (PDR) for different retransmission scenario
To isolate what adaptation contributes, CPMBC-AS is also evaluated with a fixed, non-adaptive configuration applied to every vehicle. The Lightweight, Hybrid and High-Security configurations use the same ECDH key exchange and ChaCha20-Poly1305 data protection as the adaptive scheme; only the ECC curve strength, the key-rotation interval and the authentication-tag length are fixed instead of being selected per vehicle (Lightweight: P-256, 100 messages, 8-byte tag; Hybrid: P-256, 20 messages, 16-byte tag; High-Security: P-384, 5 messages, 16-byte tag). Compliance is the percentage of vehicles whose security requirement, set by their threat level, is met by the configuration. Overall performance comparison of all 5 methods is given in Table 4. From this table, it is evident that the proposed CPMBC-AS will provide maximum security for all vehicle with minimum latency, energy consumption and maximum throughput in comparison with pure ECC, ECC–PQC and HSF(ASCON). Compared with provisioned-key ChaCha20-Poly1305, CPMBC-AS is 2.7% slower, uses 2.9% more energy and has 2.8% lower throughput, but it has 9.6% lower overhead and meets the security requirement for all vehicles (100% against 0%), with forward secrecy and adaptation that ChaCha20-Poly1305 does not provide. Also, results obtained for fixed lightweight, fixed hybrid, fixed high-security and proposed CPMBC-AS is given in Table 5. From this table, it is evident that the fixed lightweight and hybrid configurations are cheaper but only meet the security requirement for a fraction of the vehicles (61.3% and 90.7% respectively). Fixed High-Security is the most expensive of the fixed configurations, but it is the only one that protects all vehicles. CPMBC-AS maintains 100% compliance and, compared with Fixed High-Security, reduces latency by 5.98%, energy by 6.28% and overhead by 9.68% because it applies P-384 and frequent rekeying only to the vehicles under high threat. Its latency and energy are slightly higher than those of the fixed Lightweight and Hybrid configurations, which do not protect all vehicles adequately. Adaptation therefore provides protection matched to the threat of each vehicle at a lower cost than maximum protection for all vehicles.
Table 4. Performance comparison of different methods (per message, mean over 150 vehicles, 43-byte payload)
|
Scheme |
Latency/Message (ms) |
Throughput (Mbps) |
Energy/Message (µJ) |
Overhead/Message (Bytes) |
PDR (%) |
Compliance |
|
ECC |
301.10 |
0.0011 |
150,515.4 |
94.3 |
99.76 |
0.0 |
|
ChaCha20-Poly1305 |
1.117 |
0.3077 |
527.0 |
21.9 |
99.91 |
0.0 |
|
Hybrid ECC–PQC |
1.246 |
0.2315 |
591.7 |
22.2 |
83.87 |
90.7 |
|
HSF (ASCON) |
1.874 |
0.1834 |
905.4 |
21.9 |
99.91 |
0.0 |
|
CPMBC-AS (proposed) |
1.147 |
0.2990 |
542.4 |
19.8 |
99.75 |
100.0 |
Note: PDR = packet delivery ratio; ECC = elliptic curve cryptography; HSF = hybrid security framework; CPMBC-AS = Cyber-Physical Model-Based Calibration with Adaptive Security.
Table 5. Adaptive Cyber-Physical Model-Based Calibration framework with Adaptive Security (CPMBC-AS) versus fixed configurations (per message, mean over 150 vehicles, 43-byte payload)
|
Metric |
Fixed Lightweight |
Fixed Hybrid |
Fixed High-Security |
CPMBC-AS (Adaptive) |
|
Latency per message (ms) |
1.1323 |
1.1428 |
1.2203 |
1.1474 |
|
Throughput (Mbps) |
0.3031 |
0.3003 |
0.2810 |
0.2990 |
|
Energy per message (µJ) |
535.23 |
539.97 |
578.72 |
542.38 |
|
Overhead per message (bytes) |
13.60 |
21.88 |
21.89 |
19.77 |
|
PDR (%) |
99.76 |
99.75 |
99.67 |
99.75 |
|
Compliance (%) |
61.3 |
90.7 |
100.0 |
100.0 |
Note: PDR = packet delivery ratio. Compliance = percentage of vehicles whose threat-level security requirement is met.
4.7 Attack analysis
Attack resistance for different algorithms for various attack conditions is represented in Table 6. From this, it is evident that the proposed CPMBC-AS outperforms in all attacking conditions with minimum energy consumption, which is a major factor for E-vehicles. Figure 15 shows the share of legitimate messages that the gateway still serves when an attacker floods it with forged session-initiation requests, using the cost model specified in Table 3 (150 vehicles sending 10 messages per second to a 100 MHz gateway). Each curve ends at the highest request rate that the 802.11p link can carry for the frame size of that scheme. ChaCha20 and HSF use pre-provisioned keys, so a forged request is only an unknown frame that is dropped at negligible cost (about 10³ cycles), and both serve all legitimate traffic up to the link limit of about 4.4 × 10⁴ requests per second.
Table 6. Network attack analysis
|
Method / Attack Type |
DoS Attack |
Replay Attack |
Man-in-the-Middle |
|
ECC |
Vulnerable - 0.7% served; overloaded even without attack |
Vulnerable - accepts every replay (no counter, no tag) |
Vulnerable - 0% protected; changes are not detected |
|
ChaCha20-Poly1305 |
Resistant - 100% served up to the link limit |
Moderately resistant - accepts withheld frames up to 63 frames old; accepts replays after a receiver restart |
Resistant - 99.9% protected; depends on the provisioned key |
|
Hybrid ECC–PQC |
Vulnerable - saturates at about 9 requests/s |
Resistant - all withheld frames rejected after 20 frames; new key after restart |
Resistant with PKI - 99.9% protected; 0% without authentication |
|
HSF (ASCON) |
Resistant - 100% served up to the link limit |
Moderately resistant - accepts withheld frames up to 63 frames old; accepts replays after a receiver restart |
Resistant - 99.9% protected; depends on the provisioned key |
|
CPMBC-AS (proposed) |
Resistant - 100% served up to the link limit; needs the pre-handshake request check |
Resistant (moderate in Lightweight mode) - about 80% rejected at 20 frames, all from 64 frames; new key after restart |
Resistant with PKI - 99.9% protected; 0% without authentication |
Note: ECC = elliptic curve cryptography; HSF = hybrid security framework; CPMBC-AS = Cyber-Physical Model-Based Calibration with Adaptive Security.
Figure 15. Denial-of-service (DoS) attack resistance analysis
CPMBC-AS follows the same curve up to its own link limit of about 3 × 10⁴ requests per second, because the gateway first checks a stateless cookie with one short keyed message authentication code (about 1.5 × 10³ cycles) and starts the key exchange only for requests that return a valid cookie. Without such a check, a key-exchange scheme is far more exposed: ECC–PQC performs an ephemeral key exchange and a lattice encapsulation (about 1.1 × 10⁷ cycles) for every forged request, so it begins to lose legitimate traffic at about 9 requests per second, serves about one third at 27 requests per second, about 7% at 130 requests per second, and almost nothing at its link limit of about 2.7 × 10³ requests per second.
Pure ECC stays at about 0.7% for every attack rate, because the legitimate traffic alone already exceeds the gateway’s capacity for elliptic-curve decryption. The figure therefore shows that CPMBC-AS can match the flood tolerance of the provisioned-key schemes while keeping forward secrecy and threat-adaptive modes, provided that the cookie is part of the protocol, and that the cookie adds one round trip to each handshake. Two limits apply. The result is model-based and counts only gateway computation, and a flood at the link limit also occupies the radio channel, which the model does not capture. An attacker with a valid address can obtain cookies, so per-sender rate limiting is also needed.
Figure 16 shows the delayed-replay (withhold) attack, in which the attacker blocks one frame, lets d later frames through, and then delivers the withheld frame, which the receiver has never seen. Pure ECC has no counter and no authentication tag, so it accepts the delayed frame at every delay (0% rejected). The schemes that carry a counter and an authentication tag reject a frame only if it is older than the replay window or was protected with a key that is no longer in use. ChaCha20 and HSF use one provisioned key that never changes, so only the window limits the attack: they accept the withheld frame for all delays below the window of 64 frames and reject it from 64 frames onward. ECC–PQC renews its key every 20 messages, so a withheld frame fails the tag check once the key has changed; it rejects about half of the delayed frames at a delay of 10 frames and all of them from 20 frames onward. CPMBC-AS shortens the exposure because its keys are renewed every 5, 20 or 100 messages in the High-Security, Hybrid and Lightweight modes. It rejects about 80% of the delayed frames at a delay of 20 frames, but it does not reach 100% before the window limit of 64 frames, because frames in the Lightweight mode (rekey every 100 messages) remain valid until the window closes. Between delays of 20 and 63 frames, ECC–PQC therefore rejects more delayed frames than CPMBC-AS, which is the cost of the Lightweight mode. For immediate duplicates and delayed frames that the receiver has already seen, all counter-based schemes reject every replay. The remaining difference concerns receiver restarts: ChaCha20 and HSF accept recorded frames again after a restart unless their counter state is kept in non-volatile memory, whereas ECC–PQC and CPMBC-AS require a new key exchange and therefore reject them. These results follow from the protocol rules and the assumed values (window of 64 frames, the key-renewal intervals, and the mode mix of 38, 98 and 14 vehicles); they are not measurements of real attacks.
Figure 16. Replay attack resistance analysis
Figure 17 shows the share of messages that stay protected, meaning neither readable nor modifiable without detection, as the share of sessions in which an active attacker is on the path increases from 0.1% to 100%. Pure ECC has no authentication tag, so a cipher text changed in transit is not detected; every session with an attacker on the path is lost, and the protected share falls from about 99% at 1% attacker presence to 0% at 100%. ChaCha20 and HSF rely on a pre-provisioned key and an authentication tag, so an on-path attacker succeeds only if the key has also been compromised; with an assumed compromise probability of 10⁻³ the protected share stays at about 99.9% even when the attacker is present in every session. ECC–PQC and CPMBC-AS establish a fresh key for each session, and their protection depends entirely on authenticating that key exchange. When the handshake is authenticated with the PKI procedure of Section 3.5, the attacker needs a valid identity key and both schemes follow the same curve as ChaCha20 and HSF; without that authentication, an on-path attacker can run one key exchange with each party and both schemes fall to the ECC curve. The ephemeral key exchange alone therefore gives no protection against a MITM, and the resistance of CPMBC-AS comes from the authentication step, at a cost of about 0.5 s of computation per handshake at the assumed 100 MHz ECU (about 50 µs per message over a 10,000-message session). For forged or modified frames, a 16-byte tag gives a forgery probability of about 3 × 10⁻²⁷ per year at the link limit, and the 8-byte tag of the Lightweight mode gives about 6 × 10⁻⁸. Comparative analysis of all attacks for various security frameworks is listed in Table 5. In conclusion, attack analysis results demonstrate that the CPMBC-AS framework has a significant improvement to enhance the attack resilience, secure communication reliability, scalability, and adaptive security orchestration in its. The framework effectively resists multiple cyber-attacks, with low latency and high communication efficiency, by using context-aware calibration, adaptive decision-making, lightweight hybrid encryption and energy-aware cryptographic optimization. Thus, the proposed framework is well suited for the next generation of cyber-physical EV communication systems that demand scalable, secure and robust V2V communication architectures that are immune to attacks. Results of network attack analysis is given in Table 6.
Figure 17. Man-in-the-Middle (MITM) attack resistance analysis
This paper proposed a CPMBC-AS for EV communication. For each vehicle, the framework takes the SoC, mobility, channel quality and threat level as input and selects one of three configurations - Lightweight, Hybrid or High-Security. The configuration specifies the ECC curve strength, the key-rotation interval and the length of the authentication tag. After the session key is established by ECDH, it is refreshed with HKDF at the selected interval, and the data are protected with ChaCha20-Poly1305. The scheme was evaluated by simulation against pure ECC, ChaCha20-Poly1305, ECC combined with post-quantum key exchange (ECC–PQC) and a lightweight symmetric framework (HSF), for 150 vehicles on an IEEE 802.11p link. CPMBC-AS meets the security requirement of all vehicles with 100% compliance at 1.147 ms of latency, 542.4 µJ of energy consumption and 19.8 bytes of overhead per message, with a packet delivery ratio of 99.75%. It is about 260 times faster than pure ECC, 7.9% faster and 8.3% more energy-efficient than ECC–PQC, and 38.8% faster than HSF, and its delivery ratio is much higher than that of ECC–PQC (99.75% against 83.87%). Compared with the cheapest fixed configuration that satisfies all the requirements (Fixed High-Security), adaptation reduces latency by 5.98%, energy by 6.28% and overhead by 9.68%. The provisioned-key ChaCha20-Poly1305 model, meets the security requirement for none of the vehicles (0% compliance) but it is slightly faster (2.7%) and more energy-efficient (2.9%) than CPMBC-AS. However, it provides neither forward secrecy nor adaptation. CPMBC-AS has 9.6% lower overhead than ChaCha20, owing to the shorter tag of the Lightweight mode. Attack analysis shows the strengths and weaknesses of the scheme. CPMBC-AS resists forged frames through its authentication tag, and it resists MITM attacks when the key exchange is authenticated with PKI. Without a defence, however, its handshake is vulnerable to a flood of forged requests. Its replay protection depends on the receiver window and the key-rotation interval, and it leaves a larger exposure in the Lightweight mode. Its ECDH key exchange is not quantum-safe. Future work will therefore include a request-validation defence for the handshake, a post-quantum option for the High-Security mode, online adaptation of the decision thresholds, and an evaluation on automotive-grade hardware.
The data that support the findings of this study are available from the corresponding author upon reasonable request.
This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors. It was conducted as part of the academic responsibilities of the authors at Rajalakshmi Engineering College.
The authors would like to thank the Department of Electronics and Communication Engineering, Rajalakshmi Engineering College, Chennai, for their support and encouragement throughout the research process.
[1] Jalowski, Ł., Zmuda, M., Rawski, M. (2022). A survey on moving target defense for networks: A practical view. Electronics, 11(18): 2886. https://doi.org/10.3390/electronics11182886
[2] El Zorkany, M., Yasser, A., Galal, A.I. (2020). Vehicle to vehicle “V2V” communication: Scope, importance, challenges, research directions and future. The Open Transportation Journal, 14: 86-98. https://doi.org/10.2174/1874447802014010086
[3] Singh, M., Carlson, A. (2024). Exploring polymorphic algorithms and their use in cryptography. In 2024 IEEE 14th Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA, pp. 0428-0434. https://doi.org/10.1109/CCWC60891.2024.10427812
[4] Rao, A., Sangwan, A., Kheran, A.A., Varghese, A., Bellur, B., Shorey, R. (2007). Secure V2V communication with certificate revocations. In 2007 Mobile Networking for Vehicular Environments, Anchorage, AK, USA, pp. 127-132. https://doi.org/10.1109/MOVE.2007.4300817
[5] Samara, G., Al-Salihy, W.A.H., Sures, R. (2010). Security analysis of vehicular ad hoc networks (VANET). In 2010 Second International Conference on Network Applications, Protocols and Services, Alor Setar, Malaysia, pp. 55-60. https://doi.org/10.1109/NETAPPS.2010.17
[6] Gupta, M., Benson, J., Patwa, F., Sandhu, R. (2022). Secure V2V and V2I communication in intelligent transportation using cloudlets. IEEE Transactions on Services Computing, 15(4): 1912-1925. https://doi.org/10.1109/TSC.2020.3025993
[7] Ullah, N., Khan, S.U., Niazi, M., Esposito, M., Khan, A.A., Nasir, J.A. (2025). Solutions to cybersecurity challenges in secure vehicle-to-vehicle communications: A multivocal literature review. Information and Software Technology, 179: 107639. https://doi.org/10.1016/j.infsof.2024.107639
[8] Kim, S., Shrestha, R. (2020). Introduction to automotive cybersecurity. In Automotive Cybersecurity, Springer, Singapore, pp. 1-13. https://doi.org/10.1007/978-981-15-8053-6_1
[9] Chowdhury, A., Karmakar, G., Kamruzzaman, J., Jolfaei, A., Das, R. (2020). Attacks on self-driving cars and their countermeasures: A survey. IEEE Access, 8: 207308-207342. https://doi.org/10.1109/ACCESS.2020.3037705
[10] Panja, B., Morrison, D., Turner, S., Meharia, P. (2014). Integration of V2V with cloud computing to provide group security through the use of 4G LTE. In ICCWS2014- 9th International Conference on Cyber Warfare and Security: ICCWS 2014, pp. 167-175. https://hero.epa.gov/reference/7346180/.
[11] Sylla, T., Chalouf, M.A., Krief, F., Samaké, K. (2021). Context-aware security in the internet of things: A survey. International Journal of Autonomous and Adaptive Communications Systems, 14(3): 231-263. https://doi.org/10.1504/IJAACS.2021.117808
[12] Liu, Z.Z., Yao, N.M., Bai, S.Y., Mai, T.Y. (2025). A cooperative ECC-based authentication protocol for VANETs. Scientific Reports, 15: 40837. https://doi.org/10.1038/s41598-025-24663-8
[13] Hridoy, S.A.A. (2020). Lightweight Authenticated Encryption for Vehicle Controller Area Network. Queen's University, Canada.
[14] Weerasinghe, N., Usman, M.A., Hewage, C., Pfluegel, E., Politis, C. (2023). Threshold cryptography-based secure vehicle-to-everything (V2X) communication in 5G-enabled intelligent transportation systems. Future Internet, 15(5): 157. https://doi.org/10.3390/fi15050157
[15] Saad, M., Khan, M.K., Ahmad, M.B. (2022). Block chain-enabled vehicular ad hoc networks: A systematic literature review. Sustainability, 14(7): 3919. https://doi.org/10.3390/su14073919
[16] Dwivedi, S.K., Amin, R., Das, A.K., et al. (2022). Block chain-based vehicular ad-hoc networks: A comprehensive survey. Ad Hoc Networks, 137: 102980. https://doi.org/10.1016/j.adhoc.2022.102980
[17] Nakayiza, H.L., Ahakonye, L.A.C., Kim, D.S., Lee, J.M. (2025). Block chain-enhanced feature engineered data falsification detection in 6G in-vehicle networks. IEEE Internet of Things Journal, 12(15): 30036-30048. https://doi.org/10.1109/JIOT.2025.3569845
[18] Li, J., Song, Y.Y., Zheng, M.G., Zhang, S., Liang, H. (2025). FEXGBIDS: Federated XGBoost based intrusion detection system for in-vehicle network. IEEE Access, 13: 89399-89410. https://doi.org/10.1109/ACCESS.2025.3569356
[19] Venkatasamy, T.K., Hossen, M.J., Ramasamy, G., Aziz, N.H.B.A. (2024). Intrusion detection system for V2X communication in VANET networks using machine learning-based cryptographic protocols. Scientific Reports, 14: 31780. https://doi.org/10.1038/s41598-024-82313-x
[20] Aljamal, M., Khassawneh, B.S., Alsarhan, A., et al. (2026). A novel dual-layer quantum-resilient encryption strategy for UAV–cloud communication using adaptive lightweight ciphers and hybrid ECC–PQC. Computers, 15(2): 101. https://doi.org/10.3390/computers15020101
[21] Asim, M., Wu, J.S., Li, W.G., et al. (2026). Quantum-resistant block chain architecture for secure vehicular networks: A ML-KEM-enabled approach with PoA and PoP consensus. Future Generation Computer Systems, 180: 108391. https://doi.org/10.1016/j.future.2026.108391
[22] Kıyak, C.B., Bilge, H.Ş., Yılmaz, F. (2025). A hybrid security framework with energy-aware encryption for protecting embedded systems against code theft. Electronics, 14(22): 4395. https://doi.org/10.3390/electronics14224395
[23] Sangeetha, S.B., Chembukkavu, J., Sneha, J.A. (2025). Quantum-resistant cryptographic framework for enhancing network security in 5G wireless communication. ICTACT Journal on Communication Technology, 16(1): 3470-3474. https://doi.org/10.21917/ijct.2025.0516
[24] IEEE. (2010). IEEE Standard for Information technology – Local and metropolitan area networks – Specific requirements – Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications – Amendment 6: Wireless Access in Vehicular Environments. In IEEE Std 802.11p-2010 (Amendment to IEEE Std 802.11-2007 as amended by IEEE Std 802.11k-2008, IEEE Std 802.11r-2008, IEEE Std 802.11y-2008, IEEE Std 802.11n-2009, and IEEE Std 802.11w-2009), pp. 1-51. https://doi.org/10.1109/IEEESTD.2010.5514475
[25] National Institute of Standards and Technology. (2024). Module-lattice-based key-encapsulation mechanism standard. Federal Information Processing Standards Publication (FIPS) 203. https://doi.org/10.6028/NIST.FIPS.203