Design and Experimental Validation of Secure Controller Area Network Messaging with the Advanced Encryption Standard
Controller Area Network (CAN) lacks native cryptography, yet many embedded control loops impose millisecond-level deadlines. We implement software-only AES-128 on commodity Cortex-M devices and quantify its real-time cost on classic CAN without changing identifiers, frame lengths, or bus occupancy. Using a purpose-built bench with one STM32F4 master and three STM32F1 slaves, protecting a 16-byte payload increases request–response latency from 540 μs to 829 μs, remaining within a 5 ms application budget. The approach preserves the physical layer, sustaining disturbances up to 15.3 V<sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">pp</sub>, and fits within 11.2 kB flash and 1.8 kB RAM. These results provide a standards-compliant migration path to confidentiality (and replay freshness) on legacy CAN networks, establishing a compute/latency baseline that supports subsequent adoption of authenticated encryption and production key management.
Authors
- Francesco Dell’Olio (ORCID: https://orcid.org/0000-0001-9874-5008)
- Teresa Natale (ORCID: https://orcid.org/0009-0005-1042-7424)
- Michele Dibenedetto
Institutions
- Polytechnic University of Bari (IT)
Publication Details
- Journal
- IEEE Embedded Systems Letters
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/les.2025.3617865
- Primary Topic
- Internet of Things and Social Network Interactions
- Type
- article
- Field-Weighted Citation Impact
- 0.00