<?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>topic Re: S32K CESc in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950193#M5210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi lei&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;We have a Chinese version application guide about S32k1xx CSEc for Chinese customer, please refer it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Aug 2019 10:09:16 GMT</pubDate>
    <dc:creator>Yunchuan</dc:creator>
    <dc:date>2019-08-08T10:09:16Z</dc:date>
    <item>
      <title>S32K CESc</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950190#M5207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;Refer to the code when using the S32K CESc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/* Load MASTER_ECU_KEY */&lt;BR /&gt; calculate_M1_to_M5(M1, M2, M3, M4, M5, BLANK_KEY_VALUE, MASTER_ECU_KEY_VALUE, MASTER_ECU_KEY, MASTER_ECU_KEY, 1, 0); /* Calculate M1 to M5 in Software */&lt;BR /&gt; csec_error = LOAD_KEY(M4_out, M5_out, M1, M2, M3, MASTER_ECU_KEY); /* Load the key using SW calculated M1 to M3, and it returns M4 and M5 */&lt;BR /&gt; result = compare_results(M4, M4_out); /* Compare M4 generated by SW with the M4_out returned by CSEc */&lt;/P&gt;&lt;P&gt;/* Load KEY_1 */&lt;BR /&gt; calculate_M1_to_M5(M1, M2, M3, M4, M5, MASTER_ECU_KEY_VALUE, KEY_1_VALUE, MASTER_ECU_KEY, KEY_1, 1, 0); /* Calculate M1 to M5 in Software, Authorizing Key = Master ECU Key */&lt;BR /&gt; csec_error = LOAD_KEY(M4_out, M5_out, M1, M2, M3, KEY_1); /* Load the key using M1 to M3, returns M4 and M5 */&lt;BR /&gt; result = compare_results(M4, M4_out); /* Compare M4 generated by SW with the M4_out returned by CSEc */&lt;/P&gt;&lt;P&gt;/* Load KEY_11 */&lt;BR /&gt; calculate_M1_to_M5(M1, M2, M3, M4, M5, MASTER_ECU_KEY_VALUE, KEY_11_VALUE, MASTER_ECU_KEY, KEY_11, 1, 0b000100); /* Calculate M1 to M5 in Software, Authorizing Key = Master ECU Key, Key Usage=1(for CMAC operations) */&lt;BR /&gt; csec_error = LOAD_KEY(M4_out, M5_out, M1, M2, M3, KEY_11); /* Load the key using M1 to M3, returns M4 and M5 */&lt;BR /&gt; result = compare_results(M4, M4_out); /* Compare M4 generated by SW with the M4_out returned by CSEc */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #f7f8fa; color: #333333; font-size: 14px; "&gt;I don't understand what M1 minus M5 does here?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 13:02:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950190#M5207</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-08-05T13:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CESc</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950191#M5208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please refer to AN5401.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86237i36565CFB497531B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Appendix A Generating M1 to M5, describes M1 - M5 in more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 15:08:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950191#M5208</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-08-07T15:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CESc</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950192#M5209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I don't understand how to write this BOOT_MAC value into CSEc module. When S32K does not write to BOOT, what means does S32K try to write to implement the operation of CSEc module?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 09:20:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950192#M5209</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-08-08T09:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CESc</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950193#M5210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi lei&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;We have a Chinese version application guide about S32k1xx CSEc for Chinese customer, please refer it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 10:09:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950193#M5210</guid>
      <dc:creator>Yunchuan</dc:creator>
      <dc:date>2019-08-08T10:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CESc</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950194#M5211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. I have browsed the document to solve my problem. I will ask you if there are any problems in the future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 11:52:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950194#M5211</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-08-08T11:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CESc</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950195#M5212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I still have some that I don't understand. Regarding the Secure BOOT, the document requires that the BOOT be written to PFLASH (0x0000-BOOT_SIZE) before writing BOOT_MAC_KEY. Then, where is the code for writing BOOT_MAC_KEY after I write it? According to the mass production suggestion, first program a code. The program that enters the key is written to BOOT after erasing, so that my BOOT will definitely not pass the authentication. Please help me solve this problem.\&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86762iE1E418228ACECCB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 06:44:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950195#M5212</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-08-09T06:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CESc</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950196#M5213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually,&amp;nbsp;It's a better solution that add code in your bootloader for update key and BOOT_MAC. any other questions about that, you can ask FAE or&amp;nbsp;&lt;SPAN style="color: #333333; background-color: #f9f9f9;"&gt;agencies for help.&amp;nbsp;i have sent a&amp;nbsp;direct message for you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 07:54:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950196#M5213</guid>
      <dc:creator>Yunchuan</dc:creator>
      <dc:date>2019-08-09T07:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CESc</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950197#M5214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;According to you, I put BOOT_MAC and BOOT_MAC_KEY operations in BootLoader, which is equivalent to self-verification, and this will repeat the operation of CSEc key updates, I want to achieve a secure boot is automatic, do not need to think of interference, what is the solution?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 01:32:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950197#M5214</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-08-14T01:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CESc</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950198#M5215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you will not change bootloader anytime, you can use automatic mode. any question, you can send me email, i can support you more quickly. thinks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:49:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950198#M5215</guid>
      <dc:creator>Yunchuan</dc:creator>
      <dc:date>2019-08-19T08:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CESc</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950199#M5216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;你好，我给您发邮件了，您那边收不到吗？&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2019 10:42:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950199#M5216</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-08-19T10:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CESc</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950200#M5217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;我在自动模式下，我 不明白我写入BOOT_MAC_KEY和BOO_MAC的代码放在上面区域呢？在什么时候运行这块代码呢？怎么校验BootLoader呢？&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2019 10:45:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CESc/m-p/950200#M5217</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-08-19T10:45:57Z</dc:date>
    </item>
  </channel>
</rss>

