Security
Security
Security
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Step 1: Application asks CSE module to verify<br />
MAC of stored mileage (using key #x)<br />
Step 2: CSE module reads mileage and MAC.<br />
CSE module uses key #x to calculates MAC.<br />
CSE module compares both MACs. If identical:<br />
CSE module sets bit in host interface.<br />
Step 3: Application checks bit and asks other<br />
ECUs for mileage (via secure communication).<br />
If bit is set and other ECUs reports same<br />
mileage: stored mileage is ok.<br />
Step 4: ECU gets new mileage. Application<br />
asks CSE module to generate MAC of new<br />
mileage (using key #x).<br />
Step 5: CSE module reads new mileage. CSE<br />
module uses key #x to calculates MAC. CSE<br />
module writes MAC to system RAM.<br />
Step 6: Host writes new mileage and its MAC<br />
into flash. Host sends new mileage to other<br />
nodes (secure communication)<br />
• MAC protects mileage against modification.<br />
• Distributing mileage on other ECUs protects against replay-attacks (i.e., overwriting mileage and MAC with read old<br />
mileage and its MAC).<br />
TM<br />
2d<br />
MAC<br />
Random<br />
number<br />
generator<br />
Bus master<br />
Flash<br />
Stored mileage + MAC<br />
14<br />
2c<br />
2a<br />
MPC5646C<br />
CSE module<br />
Unique ID<br />
AES-128<br />
3b<br />
2a<br />
5a<br />
5c<br />
5a<br />
3a<br />
mileage<br />
Keys<br />
Key #x<br />
Host Interface<br />
5c<br />
System RAM<br />
Calculated MAC<br />
Bit for valid<br />
New mileage<br />
MAC<br />
MPC5646C<br />
Other<br />
CSE module ECUs<br />
Flash<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.<br />
2b<br />
2e