<?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: using CSEC_DRV_GenerateMACAddrMode calculate CMAC error for DFLASH data in S32K148 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/using-CSEC-DRV-GenerateMACAddrMode-calculate-CMAC-error-for/m-p/1525048#M17837</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;CSEC_DRV_GenerateMACAddrMode uses command CMD_GENERATE_MAC (pointer method) where the reference manual says:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1663678309596.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194319iEA54BA702116D12A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1663678309596.png" alt="lukaszadrapa_0-1663678309596.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, it cannot be used for DFlash. The only option is to use CSEC_DRV_GenerateMAC which uses normal CMD_GENERATE_MAC command.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 12:54:14 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2022-09-20T12:54:14Z</dc:date>
    <item>
      <title>using CSEC_DRV_GenerateMACAddrMode calculate CMAC error for DFLASH data in S32K148</title>
      <link>https://community.nxp.com/t5/S32K/using-CSEC-DRV-GenerateMACAddrMode-calculate-CMAC-error-for/m-p/1523824#M17762</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;I want to using&amp;nbsp;CSEC_DRV_GenerateMACAddrMode calculate CMAC for DFLASH data, but the return value is&amp;nbsp;STATUS_ERROR. The code is&amp;nbsp;CSEC_DRV_GenerateMACAddrMode(CSEC_KEY1, (const uint8_t *)0x10000000, 0x30d80, flash_ext_cmac_cal);&lt;/P&gt;&lt;P&gt;but I using the same KEY to calclate the PFLASH data is OK, the function can return&amp;nbsp;STATUS_SUCCESS.&lt;/P&gt;&lt;P&gt;How to using the CSEC calculate CMAC for DFLASH data?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 08:14:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/using-CSEC-DRV-GenerateMACAddrMode-calculate-CMAC-error-for/m-p/1523824#M17762</guid>
      <dc:creator>yangyong1</dc:creator>
      <dc:date>2022-09-17T08:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: using CSEC_DRV_GenerateMACAddrMode calculate CMAC error for DFLASH data in S32K148</title>
      <link>https://community.nxp.com/t5/S32K/using-CSEC-DRV-GenerateMACAddrMode-calculate-CMAC-error-for/m-p/1523825#M17763</link>
      <description>the MCU is S32K148</description>
      <pubDate>Sat, 17 Sep 2022 08:15:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/using-CSEC-DRV-GenerateMACAddrMode-calculate-CMAC-error-for/m-p/1523825#M17763</guid>
      <dc:creator>yangyong1</dc:creator>
      <dc:date>2022-09-17T08:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: using CSEC_DRV_GenerateMACAddrMode calculate CMAC error for DFLASH data in S32K148</title>
      <link>https://community.nxp.com/t5/S32K/using-CSEC-DRV-GenerateMACAddrMode-calculate-CMAC-error-for/m-p/1525048#M17837</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;CSEC_DRV_GenerateMACAddrMode uses command CMD_GENERATE_MAC (pointer method) where the reference manual says:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1663678309596.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194319iEA54BA702116D12A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1663678309596.png" alt="lukaszadrapa_0-1663678309596.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, it cannot be used for DFlash. The only option is to use CSEC_DRV_GenerateMAC which uses normal CMD_GENERATE_MAC command.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 12:54:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/using-CSEC-DRV-GenerateMACAddrMode-calculate-CMAC-error-for/m-p/1525048#M17837</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-09-20T12:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: using CSEC_DRV_GenerateMACAddrMode calculate CMAC error for DFLASH data in S32K148</title>
      <link>https://community.nxp.com/t5/S32K/using-CSEC-DRV-GenerateMACAddrMode-calculate-CMAC-error-for/m-p/1527713#M17933</link>
      <description>thank you very much.</description>
      <pubDate>Mon, 26 Sep 2022 01:20:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/using-CSEC-DRV-GenerateMACAddrMode-calculate-CMAC-error-for/m-p/1527713#M17933</guid>
      <dc:creator>yangyong1</dc:creator>
      <dc:date>2022-09-26T01:20:05Z</dc:date>
    </item>
  </channel>
</rss>

