The Growing Automotive Ethernet Security Challenge

Modern vehicles are evolving into high-bandwidth, software-defined platforms. Automotive Ethernet, running at 100 Mbps (100BASE-T1) and 1 Gbps (1000BASE-T1) over single-pair wire, now carries ADAS camera streams, LiDAR point clouds, SOME/IP service messages, OTA firmware updates, and DoIP diagnostic sessions across hundreds of ECUs.

IEEE 802.3 Ethernet was never designed for hostile in-vehicle environments. Without MACsec, every Ethernet frame travels in plaintext, unauthenticated, with no replay protection, exposing critical vehicle functions to eavesdropping, injection, and man-in-the-middle attacks that regulatory frameworks like ISO/SAE 21434 now mandate must be addressed.

An Ethernet MACsec encryption and authentication library closes this gap in software. RAPIDSEA Secure Ethernet Library delivers encryption, authentication, key management, and replay protection purpose-built for automotive Ethernet, fully compliant with the IEEE 802.1AE MACsec standard, without requiring an AUTOSAR BSW stack or RTOS.

Automotive Ethernet Security Gap
RAPIDSEA Secure Ethernet Library Architecture

RAPIDSEA Secure Ethernet Library – Overview

RAPIDSEA Secure Ethernet Library is a portable C99 software library that protects automotive Ethernet traffic end to end, covering encryption, authentication, device admission, and key management. It supports both static pre-shared keys and full dynamic key agreement, with optional hardware offload where your Ethernet PHY supports it.

It converts a plaintext Ethernet frame into a fully IEEE 802.1AE-compliant MACsec frame, interoperable with any standards-compliant hardware or software MACsec implementation, including third-party switches and PHYs.

The library is delivered two ways: as a lean, zero-dependency standalone API for bare-metal, FreeRTOS, Zephyr, or Linux-based ECUs with no AUTOSAR BSW stack, and as an optional AUTOSAR Interface Layer for OEMs and Tier-1s standardized on AUTOSAR Classic. Both paths deliver the same level of protection.

Why Choose RAPIDSEA Secure Ethernet Library?

Integrate in Under a Day

Add four C source files to your build system, include one header, and initialize a secure channel at startup. No BSW stack, no RTOS, no middleware dependencies required to get started.

Stronger Than - and Compatible With - AUTOSAR SecOC

AUTOSAR SecOC Profile 1 typically uses a short, truncated authentication check and no encryption. RAPIDSEA delivers full payload encryption plus a substantially stronger authentication check, and ships an optional AUTOSAR Interface Layer so OEMs standardized on AUTOSAR can adopt it as a compliant Mka BSW module instead of building one from scratch.

Production Proven

Validated on Renesas RH850, NXP i.MX RT1064, and STM32H7, and tested with Vector VN1610 and PEAK PCAN analysers against real SOME/IP ECU networks.

RAPIDSEA Secure Ethernet Library – Security Profiles

Not every ECU or link needs the same level of protection. RAPIDSEA Secure Ethernet Library ships with four purpose-built security profiles, so you can choose the right protection and performance trade-off for each Ethernet port rather than applying a single one-size-fits-all setting. Profiles can be mixed across ports on the same ECU.

Profile What It Provides Best Suited For
Profile 1 - Fast-Start Authentication only, no payload encryption, fastest startup and lowest overhead Boot-time liveness signals, latency-critical diagnostics, service discovery
Profile 2 - Full Security Full encryption plus authentication on every frame General ECU-to-ECU communication, OTA updates, diagnostic sessions, command channels
Profile 3 - Heavy Payload Full encryption and authentication engineered for sustained, high-volume traffic Camera, LiDAR, and RADAR sensor streams, high-bandwidth backbone links
Profile 4 - Hardware Offload Encryption and authentication performed by the Ethernet PHY hardware for zero CPU overhead High-throughput gateway ports and switches with MACsec-capable hardware

Full guidance on selecting and configuring each profile is provided in the Security Profile Guide, available under General Documents below.

Stringent Defence Against Automotive Cyber Attacks

RAPIDSEA Secure Ethernet Library provides systematic defence against the attack classes identified in ISO/SAE 21434 TARA threat catalogues for in-vehicle Ethernet networks.

Attack Vector RAPIDSEA MACsec Defence Result
Eavesdropping / Passive Tap Full payload encryption Blocked
Frame Injection / Forgery Cryptographic authentication check on every frame Blocked
Replay Attack Sequence-based freshness check on every frame Blocked
Frame Tampering / Bit-Flip Any modification is detected before the frame is accepted Blocked
Man-in-the-Middle (MitM) Only devices with valid credentials can send frames that get accepted Blocked
Cross-Channel Injection Frames are bound to their originating channel and rejected elsewhere Blocked
Key Exhaustion / High-Volume Traffic Automatic key rotation, with Profile 3 engineered for sustained high traffic Blocked
Rogue Node / Unauthorized Device Devices are authenticated before being admitted to the network Blocked
Denial-of-Service (Frame Flood) Invalid frames are rejected before reaching the application layer Mitigated
OTA Firmware Spoofing The OTA channel is encrypted and authenticated end to end Blocked

AUTOSAR MACsec Compatibility & Standards Alignment

RAPIDSEA Secure Ethernet Library aligns with AUTOSAR FO R24-11 (Requirements on MACsec) and AUTOSAR CP R25-11 (SWS MACsecKeyAgreement). The optional AUTOSAR Interface Layer bridges the library into Classic AUTOSAR BSW, providing a compliant Mka BSW module with the required EthIf, Csm, CryIf, and RTE touchpoints, plus event counters feeding IDSM, so AUTOSAR-based ECUs can adopt it without a custom integration effort. Non-AUTOSAR ECUs use the lean standalone API directly, with the same underlying protection.

The full BSW module mapping, including function-level interfaces and requirement-by-requirement traceability, is provided in the AUTOSAR Adapter Integration Guide under Post-Purchase Documents and Gated Access Resources below.

Standards Compliance

Standard / Regulation RAPIDSEA Alignment
IEEE 802.1AE-2018 (MACsec) Full alignment with the MACsec frame format and security requirements
IEEE 802.1X-2020 (MKA) Integrated key agreement module following the automotive timing profile defined by OPEN Alliance TC17
AUTOSAR R24-11 FO_RS_MACsec Compatible with the full set of AUTOSAR Foundation requirements for MACsec-based Ethernet security
AUTOSAR R25-11 CP_SWS_MACsecKeyAgreement Supported via the optional AUTOSAR Interface Layer
OPEN Alliance TC17 Automotive timing and interoperability profile fully supported
NIST SP 800-38D / FIPS 197 Underlying cryptographic algorithms verified against NIST reference test vectors
ISO/SAE 21434 TARA-aligned threat coverage, documented in our threat mitigation reference

Fully Portable, Standards-Aligned, Royalty-Free

Fully Portable C99

No MCU-specific code in the library core. Compiles on GHS Multi, IAR, Keil MDK, GCC, and MSVC from one source base.

Standards Aligned + AUTOSAR Compatible

IEEE 802.1AE, IEEE 802.1X, AUTOSAR FO R24-11, AUTOSAR CP R25-11, OPEN Alliance TC17, NIST SP 800-38D, ISO/SAE 21434

Royalty-Free Licensing

One-time license fee per MCU part number. Deploy across unlimited products and units, with source code delivered.

Automotive Protocol Stacks

Pair Secure Ethernet Library with our UDS, DoIP, SOME/IP, and Secure CAN stacks for a complete in-vehicle communication suite.

RTOS & OS Compatibility - Seamless Integration Across Every Embedded Environment

RAPIDSEA Secure Ethernet Library contains no OS-specific calls and no dynamic memory allocation. It is pre-validated across the most widely adopted RTOS and embedded environments, from bare-metal microcontrollers to full-scale Linux ECUs and AUTOSAR Classic BSW stacks.

Environment Status
Bare-metal (no OS) Supported ✅
FreeRTOS Supported ✅
Zephyr RTOS Supported ✅
Azure RTOS / ThreadX Supported ✅
Embedded Linux (netdev) Supported ✅
Windows (testing / simulation) Supported ✅
AUTOSAR Classic BSW (Mka module) Supported ✅ (via AUTOSAR Interface Layer)

Use Cases for RAPIDSEA Secure Ethernet Library

ADAS / Autonomous Driving ECU

ADAS / Autonomous Driving ECU

Authenticates and encrypts camera, LiDAR, and RADAR data over high-speed links, preventing injection of false object-detection data; Profile 3 is recommended for multi-gigabit sensor feeds.

Zonal Gateway / Central Compute

Zonal Gateway / Central Compute

Secures the high-bandwidth Ethernet backbone between zonal gateways and the central compute unit, so only authorized devices can join the network.

SOME/IP ECU Communication

SOME/IP ECU Communication

Encrypts and authenticates SOME/IP service messages between ECUs, replacing insecure plain UDP/IP with Layer-2 MACsec protection without modifying the SOME/IP stack.

OTA Firmware Update

OTA Firmware Update

Secures the OTA delivery channel from telematics unit to target ECU, encrypting firmware payloads and preventing injection or replay of previous firmware versions.

Audio / Video (AVTP)

Audio / Video (AVTP)

Protects surround-view camera streams and in-vehicle audio over IEEE 1722 AVTP; Profile 3 and hardware offload (Profile 4) handle continuous high-frame-rate video without interruption.

DoIP / UDS Diagnostics

DoIP / UDS Diagnostics

Authenticates Ethernet-based UDS (ISO 14229) and DoIP (ISO 13400) diagnostic sessions, preventing unauthorized ECU access through diagnostic ports.

Infotainment / HMI ECU

Infotainment / HMI ECU

Secures the link between the infotainment SoC and cluster HMI display, preventing injection of fake speedometer or warning display data.

V2X / Roadside Infrastructure

V2X / Roadside Infrastructure

Authenticates Ethernet frames on in-vehicle aggregation links carrying V2X data from roadside units and C-V2X modems, so only authenticated external data enters the vehicle network.

Validation & Interoperability - Tested Against Real-World Automotive Hardware

RAPIDSEA Secure Ethernet Library has been validated on real automotive hardware across multiple ECU platforms and Ethernet PHYs, confirming correct cryptographic operation, key agreement, frame integrity, and timing compliance with OPEN Alliance TC17.

Tool / Hardware Purpose
PEAK PCAN-USB Adapter Frame-level Ethernet capture and inspection
Vector VN1610 Ethernet bus simulation, load testing, and protocol conformance verification
Wireshark + MACsec Plugin Packet-level protocol analysis and verification
NIST Reference Test Vectors Cryptographic conformance testing against published NIST vectors
OPEN Alliance TC17 Profile Startup timing and interoperability validation
Built-in Self-Test Suite Automated verification of cryptographic correctness, tamper detection, and replay rejection
Renesas RH850/D1M1A EVB Primary bare-metal target validation
NXP i.MX RT1064 EVK High-performance platform validation, including hardware-accelerated profiles

RAPIDSEA Secure Ethernet Library Package

Explore our comprehensive library of documents and demo videos

User Manual

User Manual icon

    Get direct access to user manual via the following link

View User Manual

General Documents

General Documents icon

    Download the Design Document, Security Profile Guide, MKA Integration Guide, and AUTOSAR Adapter Integration Guide

Download

Video Demonstrations

Video Demonstrations icon

    Watch our video demonstrations directly via the following link

Access Demo Videos

Post-Purchase Document

Post-Purchase Document icon

  • QSG, Gtests
  • MISRA-C Compliance Report
  • ISO/SAE 21434 TARA mapping, Wire Protocol & Frame Construction Guide

Contact us

Gated Access Resources

Gated Access Resources icon

  • Cryptographic test vector report
  • Pricing
  • Evaluation Package

Request Access

Technical Reports

Technical Reports icon

  • Resource Utilization (ROM/RAM)
  • OPEN Alliance TC17 Compliance Report
  • Evaluation Version Binary (Windows, Linux)

Request Download Links

FAQs

RAPIDSEA Secure Ethernet Library is a portable C99 software library that adds encryption, authentication, key management, and anti-replay protection to automotive Ethernet frames, fully compliant with the IEEE 802.1AE MACsec standard.

Want MACsec security for automotive Ethernet that is AUTOSAR compatible when you need it?

Get in touch with our Secure Ethernet Library team now.

For further information on how your personal data is processed, please refer to the Rapidsea Privacy Policy.