<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MPC5xxxのトピックRe: Encryption with MPC560D</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Encryption-with-MPC560D/m-p/501963#M2883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you David for clarifying the things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jan 2016 06:22:12 GMT</pubDate>
    <dc:creator>mikepinto</dc:creator>
    <dc:date>2016-01-21T06:22:12Z</dc:date>
    <item>
      <title>Encryption with MPC560D</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Encryption-with-MPC560D/m-p/501961#M2881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-family: arial, helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Hello, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-family: arial, helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;I am using MPC5602D for an automotive product which is an Electronic Control Unit (ECU) for HVAC control. I want to protect my device from reverse engineering. To clarify the requirement in detail,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-family: arial, helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;1. Once the final binary is ready for manufacturing, it will be provided to the contract manufacturer (CM).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-family: arial, helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;2. The CM will use standard tools (could be gang programmer or so) for flash programming the binary.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-family: arial, helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;3. For future device upgradation, the binary will be provided to the support or service personal for upgrading the device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-family: arial, helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Q. I want to protect the binary from illegal use at both the above levels. What are different ways to protect it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-family: arial, helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Q. I tried understanding implementing different algorithms for this. To my knowledge, I understand that the MCU also needs some form of support like having hardware crypto acceleration unit etc for using complex algorithms. Does MPC5602D supports such complex algorithms?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-family: arial, helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Q. Can I build above said algorithms without using bootloader application? I am using JTAG interface for flash programming the binary.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-family: arial, helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Your earliest help in this regard will be highly appreciated. Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-family: arial, helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 08:03:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Encryption-with-MPC560D/m-p/501961#M2881</guid>
      <dc:creator>mikepinto</dc:creator>
      <dc:date>2016-01-20T08:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption with MPC560D</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Encryption-with-MPC560D/m-p/501962#M2882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only advanced protection method MPC5602D device offers is censorship.&lt;/P&gt;&lt;P&gt;Censorship feature is a way to prevent unauthorized access to the device. It can be achieved either by disabling of internal flash accesses or/and disabling of JTAG/Nexus client (protected by private password). &lt;/P&gt;&lt;P&gt;Customer will use Serial Password for downloading of user code to the RAM or JTAG Password for enabling debug of a censored device. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details you may find under section 5.2 Boot Assist Module (BAM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must note it is very sensitive thing. It is needed to use it very carefully, because an inappropriate usage can lead in making the device useless. If user accidentally erases shadow flash/row, followed by reset, there is no chance to recover it (unless it had been though about before).&lt;/P&gt;&lt;P&gt;If the device is censored and user doesn’t have any pre-prepared recovery code located in the internal flash memory, there is no way how to unlock it and everything he can do is to order new sample device, and re-solder it instead of the censored one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q1) There is no way how to encrypt binary file over reverse engineering on this device. If third-party providers participates on the programming they will need JTAG/Serial Password allowing access to censored device as well, thus they could possibly reveal the password or original code. It is apparently needed to have signed some sort of agreement between this provider and you to avoid this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q2) I can imagine that device could have implemented some sort of flash resident bootloader, maybe it could manage some sort of decryption. Unfortunately I don’t know if some solution exists. Definitely there is no hardware support for such operation on this device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q3) No, I don’t think so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 13:37:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Encryption-with-MPC560D/m-p/501962#M2882</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2016-01-20T13:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption with MPC560D</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Encryption-with-MPC560D/m-p/501963#M2883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you David for clarifying the things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 06:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Encryption-with-MPC560D/m-p/501963#M2883</guid>
      <dc:creator>mikepinto</dc:creator>
      <dc:date>2016-01-21T06:22:12Z</dc:date>
    </item>
  </channel>
</rss>

