2022 MIPI DevCon CSI 2 Security Framework
2022 MIPI DevCon CSI 2 Security Framework
Qualcomm Inc.
Security WG Co-Chairs
Integrity (required)
• Ensures sensor data is unaltered between Sensor & ECU
• Security Consideration: Manipulating sensor ADAS data
• Ensures sensor control data is unaltered between ECU & Sensor
• Security Consideration: Manipulating sensor function
• Provided by Message Authentication Code (MAC)
Confidentiality (optional)
• Protects sensor data against unauthorized access between Sensor & ECU
Key Data Plane
• Security Consideration: Privacy: location-revealing images Control Plane
• Provided by Message encryption
Single cable
16/32/64 bits
PAL/CSI-2
APPI
CSIA-SNK
16/32/64 bits
– Data-Type aware
Data + Control Data + Control
• CSESM Specification
A-PHY
CSI-2®
SEP/ SEP/
Data Plane FSED SEP/FSED FSED
Messages
Agent Agent
CCI SM CCISE CCISE
Control Plane
Messag es Agent CCISE Agent
SEP: FSED: CCISE:
Service Extensions Packet Frame-Based Command and Control
Granularity: Message-based Service Extensions Data Interface Service Extensions
Sensor/Bridge -to- Granularity: Frame Based Granularity: I2C Transaction (StartàStop)
Controller/Bridge Sensor-to-Controller Sensor-to-Controller
© 2022 MIPI Alliance, Inc. 5
MIPI CSI-2 Frame Partitions
The sequence of CSI-2 Packets comprising a Frame
• A Sensor can transmit data in FP-1 Frame Start SP
multiple Virtual Channels FP-2
PH
PH
Embedded Data
Embedded Data
PF
PF
• Each Virtual Channel is a Top Block
sequence of Frames PH
PH
Embedded Data PF
Image Data PF
• Frame is a sequence of MIPI FP-3
Middle
PH
PH
Image Data
Image Data
PF
PF
CSI-2 packets Block
Sensor Pixel Data
• Security Variant selected separately for FP- SV-1 SV-2 SV-3 SV-4 SV-5
2, FP-3, FP-4 within a given Frame Full Int,
Enc ON
Full Int,
Enc OFF
Line Partial Int,
Enc OFF
Byte Partial Int,
Enc OFF
No Int,
Enc OFF
4 Options: SV-1/2/3/5
– Which Security Variants are applied in Top,
Middle and Bottom Block FP-5 Frame End SEP Only
Always use SV-2
– Stride Pattern for Middle Block SV-3 & SV-4 No Security Data is Integrity-protected (MAC) Data is Encrypted
Key
Example selected SVs for a given Frame
• Available now/soon
– MIPI CSI-2 Security Technical Overview (ppt)
• Coming in December for MIPI Member Review
– MIPI Security v1.0 Specification
– MIPI CSE v2.0 Specification
– MIPI CCISE v1.0 Specification
• MIPI Security Working Group
– https://members.mipi.org/wg/Security/dashboard
• Security Update at MIPI Automotive Workshop, 15 Nov 2022, 07:00-10:30 PDT
– https://www.mipi.org/knowledge-library/webinars/events/2022-automotive-workshop