
AUTOSAR SecOC hardware offload — AES-128 CMAC + freshness anti-replay for authenticated CAN / CAN-FD / automotive-Ethernet PDUs, ASIL-B. It is delivered as a licensable soft-IP block engineered as an ASIL-B Safety Element out of Context — not just RTL, but the complete functional-safety work package needed to carry it into an ISO 26262 program:
secoc is an AUTOSAR SecOC (Secure Onboard Communication) MAC engine, delivered as synthesizable SystemVerilog soft-IP with an APB4-lite control interface and built-in ISO 26262 (ASIL-B) safety instrumentation.
AUTOSAR SecOC; AES-128 CMAC (NIST SP 800-38B / RFC 4493); APB4-lite config slave; ISO 26262 ASIL-B SEooC (SPFM 98.73%, LFM 100.00%, PMHF 4.44×10⁻⁹/h); ISO 21434 cybersecurity (message authenticity/freshness)
ASIL-B target (SEooC) · SPFM 98.73% · LFM 100.00% · Informational — not gated
Informational FMEDA — this IP is reported but NOT gated. The SPFM/LFM figures above are engineering estimates from a model that is not held to the ASIL metric gates (QM, safety-by-composition, a vendor-core overlay, or a pre-sign-off Technology Preview, depending on the IP). They are not a certification claim and must not be relied on as one. See the safety manual for this IP’s exact status, assumptions of use, and any open items.
ISO 26262:2018 · FMEDA available · Safety Manual included
| Offset | Register | Description |
|---|---|---|
0x00 | CTRL | [0]=START (kick the CMAC engine) [1]=VERIFY (1=RX/verify, 0=TX/generate) [2]=LAST_K2 (final block was zero-padded ->… |
0x04 | STATUS | RO [0]=BUSY [1]=DONE [2]=MAC_OK (last verify matched) [3]=FRESH_OK [4]=MAC_FAIL (last verify mismatch) [5]=REPLAY_FAI… |
0x08..0x14 | KEY0..3 | 128-bit CMAC key (KEY0=MSW) |
0x18 | DATA_ID | 16-bit SecOC data identifier (low half-word used) |
0x1C | MACLEN | truncated MAC length in bits (24 / 28 / 32 supported; clamped 1..32) |
…7 more registers — see datasheet for the full table.
// Minimal instantiation
secoc #(
.ADDR_W(6)
) u_secoc (
.clk (clk),
.rst_n (rst_n),
// APB4
.p_paddr (paddr),
.p_psel (psel),
.p_penable (penable),
.p_pwrite (pwrite),
.p_pwdata (pwdata),
.p_prdata (prdata),
.p_pready (pready),
// Safety
.err_clear (1'b0),
.err_valid (err_valid),
.err_code (err_code)
);Configure via the CTRL register after reset to enable the IP and set operating parameters. Monitor err_valid / err_code for any safety faults reported by the built-in safety monitor.
Typically deployed in secure boot, firmware authentication, key storage, and confidential on-board communication.
Pricing, the per-IP FMEDA, safety manual, and RTL data room are shared under a mutual NDA.
Figures are pre-silicon engineering-grade estimates for a Safety Element out of Context (SEooC); final ASIL sign-off is the integrator’s, supported under NDA. FMEDA and Safety Manual available under NDA.
circuit-design.space · +1-971-357-1400 · anovickis@circuit-design.space