<?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>Other NXP ProductsのトピックRe: Integrity Error on sending command with MAC</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Integrity-Error-on-sending-command-with-MAC/m-p/1868222#M22679</link>
    <description>&lt;P&gt;Hello sir,&lt;BR /&gt;There is a document called: MIFARE DESFire EV3 features and hints, which has some examples of particular use cases. Please take a look at section 4.1.3.1 which shows a similar use case of yours. &lt;BR /&gt;Unfortunately, I'm, not able to publish further information since this is a public community thread, and the information is secured.&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 17:58:40 GMT</pubDate>
    <dc:creator>Fabian_R</dc:creator>
    <dc:date>2024-05-17T17:58:40Z</dc:date>
    <item>
      <title>Integrity Error on sending command with MAC</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Integrity-Error-on-sending-command-with-MAC/m-p/1866992#M22651</link>
      <description>&lt;P&gt;Hello, I'm trying to communicate with desfire ev3 after auth using&amp;nbsp;authenticateEV2First function.&lt;BR /&gt;The key has been changed to AES, and I believe I manage to authenticate using the&amp;nbsp;authenticateEV2First.&lt;/P&gt;&lt;P&gt;However I'm stuck at sending new command with MAC. In my example I try to get version (0x60) but I keep getting Integrity Error. I have CMAC function to calculate the values needed, and according to examples i found on the internet my function does calculate correctly.&lt;/P&gt;&lt;P&gt;I'm though not sure if my sessionkeys are generated the right way or not.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://pastebin.com/uTc5pgrd" target="_blank"&gt;authenticateEV2First - Pastebin.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://pastebin.com/pjhpwV2j" target="_blank"&gt;Functions that relates to mac - Pastebin.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://pastebin.com/6AUbvejj" target="_blank"&gt;Output - Pastebin.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I include my auth function, MAC related function and whole output. All code is written in Javascript.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 08:59:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Integrity-Error-on-sending-command-with-MAC/m-p/1866992#M22651</guid>
      <dc:creator>amrin-hexondata</dc:creator>
      <dc:date>2024-05-16T08:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Integrity Error on sending command with MAC</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Integrity-Error-on-sending-command-with-MAC/m-p/1867404#M22663</link>
      <description>&lt;P lang="es-MX"&gt;This is Fabian, I've been assigned to support your case.&lt;/P&gt;
&lt;P lang="es-MX"&gt;I appreciate your interest in our products.&lt;/P&gt;
&lt;P lang="es-MX"&gt;Could you please clarify if you have an NDA and, access to the MIFARE DESFire EV3 secure files?&lt;/P&gt;
&lt;P lang="es-MX"&gt;Unfortunately, I'm not able to provide full support for a javascript-based application, but the issue you are having may be related to the endianness of the frames.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 18:57:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Integrity-Error-on-sending-command-with-MAC/m-p/1867404#M22663</guid>
      <dc:creator>Fabian_R</dc:creator>
      <dc:date>2024-05-16T18:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Integrity Error on sending command with MAC</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Integrity-Error-on-sending-command-with-MAC/m-p/1867498#M22665</link>
      <description>Hi Fabian, yup I do have access to desfire ev3 nda file DS487033.&lt;BR /&gt;In my app, i first create the app, create files, then I change the key.&lt;BR /&gt;Should I change the key first just then create the files?</description>
      <pubDate>Thu, 16 May 2024 22:55:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Integrity-Error-on-sending-command-with-MAC/m-p/1867498#M22665</guid>
      <dc:creator>amrin-hexondata</dc:creator>
      <dc:date>2024-05-16T22:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Integrity Error on sending command with MAC</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Integrity-Error-on-sending-command-with-MAC/m-p/1868222#M22679</link>
      <description>&lt;P&gt;Hello sir,&lt;BR /&gt;There is a document called: MIFARE DESFire EV3 features and hints, which has some examples of particular use cases. Please take a look at section 4.1.3.1 which shows a similar use case of yours. &lt;BR /&gt;Unfortunately, I'm, not able to publish further information since this is a public community thread, and the information is secured.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 17:58:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Integrity-Error-on-sending-command-with-MAC/m-p/1868222#M22679</guid>
      <dc:creator>Fabian_R</dc:creator>
      <dc:date>2024-05-17T17:58:40Z</dc:date>
    </item>
  </channel>
</rss>

