<?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: csec CMAC check in S32K</title>
    <link>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1509609#M17248</link>
    <description>&lt;P&gt;the problem had been solved, the result is same as.&lt;/P&gt;&lt;P&gt;thanks！&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2022 15:19:16 GMT</pubDate>
    <dc:creator>lyz</dc:creator>
    <dc:date>2022-08-22T15:19:16Z</dc:date>
    <item>
      <title>csec CMAC check</title>
      <link>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1509151#M17209</link>
      <description>&lt;P&gt;I caculate MAC in CSEc mocule by&amp;nbsp;CSEC_DRV_GenerateMACAddrMode function as follows,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lyz_0-1661139420064.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190783iCB9AB8A03CA2D4BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="lyz_0-1661139420064.png" alt="lyz_0-1661139420064.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but it compare with the value that caculated by&amp;nbsp;mbedtls Algorithm library as follows,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lyz_1-1661139760113.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190785i5B1F287FC08C45F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lyz_1-1661139760113.png" alt="lyz_1-1661139760113.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the result is diffent, check failed.&lt;/P&gt;&lt;P&gt;we can caculate the mac by other methods? and, we need add 128 bits datas? like this, as follow&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lyz_2-1661140354520.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190788i128470FC440532BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lyz_2-1661140354520.png" alt="lyz_2-1661140354520.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and checkking it caculated by&amp;nbsp;CSEC_DRV_GenerateMACAddrMode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 03:54:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1509151#M17209</guid>
      <dc:creator>lyz</dc:creator>
      <dc:date>2022-08-22T03:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: csec CMAC check</title>
      <link>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1509585#M17247</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201182"&gt;@lyz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you provide me the information below from your development environment please?&lt;BR /&gt;IDE / Version:&lt;BR /&gt;Specific Target:&lt;BR /&gt;SDK / RTD Version:&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 14:25:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1509585#M17247</guid>
      <dc:creator>JRoberto</dc:creator>
      <dc:date>2022-08-22T14:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: csec CMAC check</title>
      <link>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1509609#M17248</link>
      <description>&lt;P&gt;the problem had been solved, the result is same as.&lt;/P&gt;&lt;P&gt;thanks！&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 15:19:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1509609#M17248</guid>
      <dc:creator>lyz</dc:creator>
      <dc:date>2022-08-22T15:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: csec CMAC check</title>
      <link>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1535607#M18226</link>
      <description>&lt;P&gt;楼主你好，&lt;/P&gt;&lt;P&gt;最近也在使用CSEc模块，在生成和校验MAC的时候发现有字节长度限制，数据长点就会生成和校验失败，完全达不到帖子里的16K大小。能请教下这个长度限制的问题怎么解决的吗？&lt;/P&gt;&lt;P&gt;盼复。&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 11:37:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1535607#M18226</guid>
      <dc:creator>Keane</dc:creator>
      <dc:date>2022-10-11T11:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: csec CMAC check</title>
      <link>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1550873#M18763</link>
      <description>&lt;P&gt;使用这两个接口计算，&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lyz_0-1667981543871.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/199669iE3F07DFB331625F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lyz_0-1667981543871.png" alt="lyz_0-1667981543871.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;一个是4字节4字节取的数据，一个是一字节一字节取的数据。保证字节序一致，两个算出来的MAC值是一样的&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 08:14:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1550873#M18763</guid>
      <dc:creator>lyz</dc:creator>
      <dc:date>2022-11-09T08:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: csec CMAC check</title>
      <link>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1552295#M18814</link>
      <description>&lt;P&gt;问题已经在早些时候解决了，感谢楼主的回复！&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 01:24:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/csec-CMAC-check/m-p/1552295#M18814</guid>
      <dc:creator>Keane</dc:creator>
      <dc:date>2022-11-11T01:24:18Z</dc:date>
    </item>
  </channel>
</rss>

