<?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 CSEC MAC Generation in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K-CSEC-MAC-Generation/m-p/1368674#M12709</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;yes, you should get the same result.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
    <pubDate>Tue, 09 Nov 2021 16:11:49 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2021-11-09T16:11:49Z</dc:date>
    <item>
      <title>S32K CSEC MAC Generation</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CSEC-MAC-Generation/m-p/1368143#M12687</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a question about the CSEC MAC generation: Is the result same for copy method and pointer method?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 02:48:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CSEC-MAC-Generation/m-p/1368143#M12687</guid>
      <dc:creator>wanglijun</dc:creator>
      <dc:date>2021-11-09T02:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CSEC MAC Generation</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CSEC-MAC-Generation/m-p/1368674#M12709</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;yes, you should get the same result.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 16:11:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CSEC-MAC-Generation/m-p/1368674#M12709</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-11-09T16:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CSEC MAC Generation</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CSEC-MAC-Generation/m-p/1368817#M12712</link>
      <description>&lt;P&gt;Hello Lukas,&lt;/P&gt;&lt;P&gt;The following 2 picture is for the copy method and pointer method:&lt;/P&gt;&lt;P&gt;(1) Copy method:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wanglijun_0-1636504102195.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/161733i5D8207EB6774DB6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wanglijun_0-1636504102195.png" alt="wanglijun_0-1636504102195.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(2) Pointer method&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wanglijun_1-1636504142345.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/161734i06C8CCF5C63C2FCA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wanglijun_1-1636504142345.png" alt="wanglijun_1-1636504142345.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I found the MAC generation is different. Can you help check the reson? Is it becasue little endian or big endian?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Wang Lijun&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 00:30:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CSEC-MAC-Generation/m-p/1368817#M12712</guid>
      <dc:creator>wanglijun</dc:creator>
      <dc:date>2021-11-10T00:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32K CSEC MAC Generation</title>
      <link>https://community.nxp.com/t5/S32K/S32K-CSEC-MAC-Generation/m-p/1369241#M12724</link>
      <description>&lt;P&gt;Hi Wang,&lt;/P&gt;
&lt;P&gt;there's only one corner case when CSEC_DRV_GenerateMAC doesn't work as expected - when the size is a multiple of 256KB. This limitation will be published in next errata release.&lt;/P&gt;
&lt;P&gt;But if you use size different from n*256KB, it works as expected.&lt;/P&gt;
&lt;P&gt;CSEC_DRV_GenerateMACAddrMode does not have this limitation. &lt;/P&gt;
&lt;P&gt;I tested it in the past and I got the same results when calling:&lt;/P&gt;
&lt;P&gt;error_code = CSEC_DRV_GenerateMACAddrMode(CSEC_RAM_KEY, 0x50000, size, cmacAddrMode);&lt;BR /&gt;error_code = CSEC_DRV_GenerateMAC(CSEC_RAM_KEY, 0x50000, size, cmac, 1000);&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 10:55:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-CSEC-MAC-Generation/m-p/1369241#M12724</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-11-10T10:55:20Z</dc:date>
    </item>
  </channel>
</rss>

