<?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: SHE-key update protocol in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1692057#M18618</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218511"&gt;@ale_di_vi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I made this compilation from AN5401 which should answer it:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1690273356054.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233467i7C148320281D6E40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1690273356054.png" alt="lukaszadrapa_0-1690273356054.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2023 08:22:55 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2023-07-25T08:22:55Z</dc:date>
    <item>
      <title>SHE-key update protocol</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1691401#M18599</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a question regarding SHE-key update protocol. I'm using a tool to calculate M1,M2,M3,M4,M5 format of key to be stored in the corresponding SHE slot, by providing the needed input (keyID, unitID, counter, usageflags, AuthID, KEY_AuthID). Given the fact that the MASTER_ECU_KEY is used as authentication key to update all the other SHE-keys, what should be the AuthID and KEY_AuthID value to be provided as input in order to calculate the MASTER_ECU_KEY in M1,...,M5 format?&lt;/P&gt;&lt;P&gt;Seeing the AN5401, it seems that KEY_AuthID shall be all 1's, is it correct? What about AuthID?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 12:46:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1691401#M18599</guid>
      <dc:creator>ale_di_vi</dc:creator>
      <dc:date>2023-07-24T12:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: SHE-key update protocol</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1692057#M18618</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218511"&gt;@ale_di_vi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I made this compilation from AN5401 which should answer it:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1690273356054.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233467i7C148320281D6E40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1690273356054.png" alt="lukaszadrapa_0-1690273356054.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 08:22:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1692057#M18618</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-07-25T08:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: SHE-key update protocol</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1692069#M18619</link>
      <description>&lt;P&gt;Thank you for your response&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;Just one more question: what about the attribute_flags? Should I decide the value and the '0' in your screen is just an example or should it be always set to '0'?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 08:28:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1692069#M18619</guid>
      <dc:creator>ale_di_vi</dc:creator>
      <dc:date>2023-07-25T08:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: SHE-key update protocol</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1692217#M18621</link>
      <description>&lt;P&gt;The attribute flags should be set as you need.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1690282122724.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233515i8EDF4621A181E0B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1690282122724.png" alt="lukaszadrapa_0-1690282122724.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For example, if you want to set KEY_USAGE to 1 (that means the key will be used for CMAC generation/verification), the value should be 0b000100 (WRITE_PROT is MSB, VERIFY_ONLY is LSB).&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 10:51:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1692217#M18621</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-07-25T10:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: SHE-key update protocol</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1692287#M18624</link>
      <description>&lt;P&gt;Ok, but from Table 1 of AN5401 I also see that the key usage attribute cannot be defined for the MASTER_ECU_KEY and the BOOT_MAC_KEY, as well as the boot protection attribute for the BOOT_MAC_KEY.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ale_di_vi_0-1690289073109.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233535i0B11F13CDF979BB8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ale_di_vi_0-1690289073109.png" alt="ale_di_vi_0-1690289073109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, what value should I put in calculate_M1_to_M5 for these unavailable attributes?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 12:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1692287#M18624</guid>
      <dc:creator>ale_di_vi</dc:creator>
      <dc:date>2023-07-25T12:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: SHE-key update protocol</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1692667#M18629</link>
      <description>&lt;P&gt;I was talking in general, that was just an example. If such attribute is not available for a key, keep value of the attribute as zero.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 04:59:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1692667#M18629</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-07-26T04:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: SHE-key update protocol</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1693008#M18640</link>
      <description>&lt;P&gt;Ok, it's all clear now. Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 10:40:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SHE-key-update-protocol/m-p/1693008#M18640</guid>
      <dc:creator>ale_di_vi</dc:creator>
      <dc:date>2023-07-26T10:40:17Z</dc:date>
    </item>
  </channel>
</rss>

