Replay-Protected Authenticated Encryption for CAN FD with Ascon-AEAD128 and Flash-Persisted Freshness on FPGA
Abstract
CAN FD frames are transmitted in cleartext, so any node on the bus can read, forge or replay them. We present a hardware secure layer for CAN FD that encrypts and authenticates each frame with NIST Ascon-AEAD128 and rejects replays using a 48-bit freshness counter that persists across reboots. Each 64-byte data field carries a 46-byte payload, the low 16 bits of the counter and a full 128-bit tag. The receiver reconstructs the full counter from these 16 bits and uses it to form the nonce, so tag verification also rejects replayed frames. Each endpoint reserves counter values in blocks and commits the upper bound of each block to SPI NOR flash before use. In simulation, power interruptions injected during flash writes and erases never caused nonce reuse. On an Artix-7 XC7A35T at 100 MHz, the layer occupies 2549 lookup tables (LUTs) alongside the publicly available CTU CAN FD controller. Its simulated processing overhead is about 1.3 microseconds per frame, under 1% of the frame's airtime. We evaluated it on a physical CAN FD bus with both nodes on one FPGA. An independent adapter recorded highway torque commands and replayed them during braking. The unprotected receiver acted on every replay. The secure layer rejected every replay and still accepted every genuine command.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AR
- Comments
- 17 pages, 6 figures, 5 tables
Related papers
Stress Testing Social Media Authentication Ceremonies of End-to-End Encrypted Messaging with Ephemeral Fake Accounts
Shared title terminologycs.CRMashari Alatawi, Md Shahidur Rahaman, Nitesh Saxena
BlockGuard: Serverless Selective Homomorphic Encryption for Federated Learning
Shared title terminologycs.CRAmine Barrak
Quantum Authentication: Security against Authentication and Verification Queries
Shared title terminologycs.CRShaoquan Jiang
Comparative Evaluation of CNN, CNN-LSTM, and CNN-AGRU Architectures for Encrypted Network Traffic Classification
Shared title terminologycs.CRVenu Siddapura Govindaraju, Rujjal Sada, Imadaldin Berika
Deterministic Runtime-Adaptive CAN Routing Diversity for Replay Attack Mitigation
Shared title terminologycs.CRAshwin Kulkarni, Aditi Ramadwar
VeilLens: Explainable and Granular Analysis and Protection Against Visual Privacy Risks Beyond Visible Appearance
Shared title terminologycs.CRWeihao Jin, Zuchen Li, Ke Sun