<?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 SDK API GenerateMAC and GenerateMACAddrMode Quetion. in S32K</title>
    <link>https://community.nxp.com/t5/S32K/SDK-API-GenerateMAC-and-GenerateMACAddrMode-Quetion/m-p/1159726#M8300</link>
    <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;When call the API CSEC_DRV_GenerateMAC() and CSEC_DRV_GenerateMACAddrMode() calculates the same mesage, why is the result different? and We try to modify the alignment of the message,as shown in the figure below, looking forward to your reply, thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CSEC_DRV_GenerateMACAddrMode():&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MAC2.JPG" style="width: 714px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126266i79B01A860A226A5B/image-dimensions/714x392?v=v2" width="714" height="392" role="button" title="MAC2.JPG" alt="MAC2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CSEC_DRV_GenerateMAC() &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MAC1.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126267iFCF068CDBBADFF8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="MAC1.JPG" alt="MAC1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 27 Sep 2020 10:04:49 GMT</pubDate>
    <dc:creator>814420552</dc:creator>
    <dc:date>2020-09-27T10:04:49Z</dc:date>
    <item>
      <title>SDK API GenerateMAC and GenerateMACAddrMode Quetion.</title>
      <link>https://community.nxp.com/t5/S32K/SDK-API-GenerateMAC-and-GenerateMACAddrMode-Quetion/m-p/1159726#M8300</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;When call the API CSEC_DRV_GenerateMAC() and CSEC_DRV_GenerateMACAddrMode() calculates the same mesage, why is the result different? and We try to modify the alignment of the message,as shown in the figure below, looking forward to your reply, thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CSEC_DRV_GenerateMACAddrMode():&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MAC2.JPG" style="width: 714px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126266i79B01A860A226A5B/image-dimensions/714x392?v=v2" width="714" height="392" role="button" title="MAC2.JPG" alt="MAC2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CSEC_DRV_GenerateMAC() &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MAC1.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126267iFCF068CDBBADFF8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="MAC1.JPG" alt="MAC1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 10:04:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SDK-API-GenerateMAC-and-GenerateMACAddrMode-Quetion/m-p/1159726#M8300</guid>
      <dc:creator>814420552</dc:creator>
      <dc:date>2020-09-27T10:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: SDK API GenerateMAC and GenerateMACAddrMode Quetion.</title>
      <link>https://community.nxp.com/t5/S32K/SDK-API-GenerateMAC-and-GenerateMACAddrMode-Quetion/m-p/1160696#M8334</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;there are two possible reasons for such behavior:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1601383539777.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126456i643401326D6425E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1601383539777.png" alt="lukaszadrapa_0-1601383539777.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Make sure that both conditions are met.&amp;nbsp;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:47:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SDK-API-GenerateMAC-and-GenerateMACAddrMode-Quetion/m-p/1160696#M8334</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-09-29T12:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: SDK API GenerateMAC and GenerateMACAddrMode Quetion.</title>
      <link>https://community.nxp.com/t5/S32K/SDK-API-GenerateMAC-and-GenerateMACAddrMode-Quetion/m-p/1443689#M14975</link>
      <description>&lt;P&gt;Hello. I encounter the same problem. Still can not find the reason why.&lt;/P&gt;&lt;P&gt;the API "CSEC_DRV_GenerateMACAddrMode" seems do not work.&lt;/P&gt;&lt;P&gt;That's strange.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 02:25:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SDK-API-GenerateMAC-and-GenerateMACAddrMode-Quetion/m-p/1443689#M14975</guid>
      <dc:creator>FrankPan</dc:creator>
      <dc:date>2022-04-14T02:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: SDK API GenerateMAC and GenerateMACAddrMode Quetion.</title>
      <link>https://community.nxp.com/t5/S32K/SDK-API-GenerateMAC-and-GenerateMACAddrMode-Quetion/m-p/1444346#M14991</link>
      <description>&lt;P&gt;Now I know the reason.&lt;/P&gt;&lt;P&gt;Because the ARM core MCU consider a 32-bit number as little-endian.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;0x12345678 is considered as [0x78, 0x56, 0x34, 0x12].&lt;/P&gt;&lt;P&gt;The two API does not consider the number as same persperctive.&lt;/P&gt;&lt;P&gt;So the resulting calcuted results are different, which is strange.&lt;/P&gt;&lt;P&gt;NXP should tell the programmer to consider this subtle things.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 01:29:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SDK-API-GenerateMAC-and-GenerateMACAddrMode-Quetion/m-p/1444346#M14991</guid>
      <dc:creator>FrankPan</dc:creator>
      <dc:date>2022-04-15T01:29:17Z</dc:date>
    </item>
  </channel>
</rss>

