<?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: [Security] Get UID when load keys in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Security-Get-UID-when-load-keys/m-p/1870608#M35664</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218898"&gt;@Gideon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess that this is the problem:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1716372932058.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/280126iD82C2FB5C2CDB150/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1716372932058.png" alt="lukaszadrapa_0-1716372932058.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 10:22:35 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2024-05-22T10:22:35Z</dc:date>
    <item>
      <title>[Security] Get UID when load keys</title>
      <link>https://community.nxp.com/t5/S32K/Security-Get-UID-when-load-keys/m-p/1869479#M35605</link>
      <description>&lt;P&gt;Dear NXPs:&lt;/P&gt;&lt;P&gt;IC:S32K146&lt;/P&gt;&lt;P&gt;sample:csec_keyconfig_s32k146 in SDK S32DS&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Phenomenon:&lt;BR /&gt;/* Extracts the UID. */&lt;BR /&gt;bool getUID(uint8_t *uid) When I use this function, I step into the inside of the function and when calling&lt;BR /&gt;When stat = CSEC_DRV_GetID(challenge, uid, &amp;amp;sreg, mac);, the returned mac values are all 0, but the uid is correct. Since the mac values are all 0, execute the statement stat = CSEC_DRV_VerifyMAC(CSEC_RAM_KEY, verif, 256U, mac , 128U, &amp;amp;verifStatus, 1U);, the verifStatus value is false.&lt;BR /&gt;question:&lt;BR /&gt;Although the return value of bool getUID(uint8_t *uid) is false, it does not affect subsequent load key processing, but I would like to know why the CSEC_DRV_GetID(challenge, uid, &amp;amp;sreg, mac) interface, mac is all 0?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 May 2024 07:50:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Security-Get-UID-when-load-keys/m-p/1869479#M35605</guid>
      <dc:creator>Gideon</dc:creator>
      <dc:date>2024-05-21T07:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: [Security] Get UID when load keys</title>
      <link>https://community.nxp.com/t5/S32K/Security-Get-UID-when-load-keys/m-p/1870608#M35664</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218898"&gt;@Gideon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess that this is the problem:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1716372932058.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/280126iD82C2FB5C2CDB150/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1716372932058.png" alt="lukaszadrapa_0-1716372932058.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 10:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Security-Get-UID-when-load-keys/m-p/1870608#M35664</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-05-22T10:22:35Z</dc:date>
    </item>
  </channel>
</rss>

