<?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: How to calculate the CMAC value used in ChangeKey command for NTAG 424 in NFC</title>
    <link>https://community.nxp.com/t5/NFC/How-to-calculate-the-CMAC-value-used-in-ChangeKey-command-for/m-p/1744347#M10892</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217291"&gt;@echai&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now I’m stuck at this step, and I’m also using JavaScript. Have you passed this step&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Any help appreciated.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2023 08:51:30 GMT</pubDate>
    <dc:creator>zahra2023</dc:creator>
    <dc:date>2023-10-23T08:51:30Z</dc:date>
    <item>
      <title>How to calculate the CMAC value used in ChangeKey command for NTAG 424</title>
      <link>https://community.nxp.com/t5/NFC/How-to-calculate-the-CMAC-value-used-in-ChangeKey-command-for/m-p/1650370#M10339</link>
      <description>&lt;P&gt;Hi everyone, I am currently trying to write the ChangeKey command implementation in Javascript. I ran into a few blockers &amp;amp; questions, and would like some clarification &amp;amp; help. I've read through both the Product Data Sheet &amp;amp; Application Note, and here is where I am stuck at:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1. How is Step 15 derived? My assumption (based on purely looking at related values) is that the Input for CMAC is made up of: &lt;EM&gt;Change Key Command (INS) || CmdCtr || TI || Value from Step 12&lt;/EM&gt;&lt;BR /&gt;Is this assumption correct? Where did C4 come from?&lt;BR /&gt;&lt;BR /&gt;2. Even using values from Table 26, I cannot get the value for Step 17. I attempted to generate a CMAC using the&amp;nbsp;&lt;EM&gt;IV for CMACing&lt;/EM&gt; as the CMAC key and the &lt;EM&gt;Input for CMAC&lt;/EM&gt; as the value itself. This is most definitely wrong, as I cannot get the correct values. What values do I CMAC together to get the value in Step 17, and how is the IV for CMACing used?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-05-15 at 9.48.35 PM.png" style="width: 587px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/223619i75FA3FB0D821B6C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-05-15 at 9.48.35 PM.png" alt="Screenshot 2023-05-15 at 9.48.35 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 13:53:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/How-to-calculate-the-CMAC-value-used-in-ChangeKey-command-for/m-p/1650370#M10339</guid>
      <dc:creator>echai</dc:creator>
      <dc:date>2023-05-17T13:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the CMAC value used in ChangeKey command for NTAG 424</title>
      <link>https://community.nxp.com/t5/NFC/How-to-calculate-the-CMAC-value-used-in-ChangeKey-command-for/m-p/1655247#M10369</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C4H is ChangeKey command's command code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielchen_0-1684818387182.png" style="width: 718px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224341iCD0A2388B96CC962/image-dimensions/718x544?v=v2" width="718" height="544" role="button" title="danielchen_0-1684818387182.png" alt="danielchen_0-1684818387182.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 05:07:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/How-to-calculate-the-CMAC-value-used-in-ChangeKey-command-for/m-p/1655247#M10369</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2023-05-23T05:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the CMAC value used in ChangeKey command for NTAG 424</title>
      <link>https://community.nxp.com/t5/NFC/How-to-calculate-the-CMAC-value-used-in-ChangeKey-command-for/m-p/1744347#M10892</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217291"&gt;@echai&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now I’m stuck at this step, and I’m also using JavaScript. Have you passed this step&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Any help appreciated.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 08:51:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/How-to-calculate-the-CMAC-value-used-in-ChangeKey-command-for/m-p/1744347#M10892</guid>
      <dc:creator>zahra2023</dc:creator>
      <dc:date>2023-10-23T08:51:30Z</dc:date>
    </item>
  </channel>
</rss>

