<?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>NFCのトピックNtag424DNA tag issue</title>
    <link>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976633#M6260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I'm learning&amp;nbsp;the&amp;nbsp;Ntag424DNA, and I get a problem as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1.when I try to decrypt the&amp;nbsp;SDMENCFileData (page 13th of the flie AN12196) refer to the Table4 step by step, and I can get the&amp;nbsp;same data with the Table4 from the step 1 to step 15, but the last step(16), I get the different data "9254fb0561f7a8d030ee6e83487e2487" which is not same with the application note. In my&amp;nbsp;understanding, the step 16 is a&amp;nbsp;standard AES128 CBC&amp;nbsp;arithmetic, the key is&amp;nbsp;&amp;nbsp;SDMMetaReadKey ="00000000000000000000000000000000", the iv is IVe="7B3F3CFC39D3B7FF5868636E38AF7C3A", and the encrypted msg is&amp;nbsp;SDMENCFileData = "94592FDE69FA06E8E3B6CA686A22842B". Therefore, the decrypted msg should be&amp;nbsp;"9254fb0561f7a8d030ee6e83487e2487" rather than "78787878787878787878787878787878". Could you help me to confirm any mistake in my&amp;nbsp;&lt;SPAN&gt;understanding and&amp;nbsp;calculation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; 2.Leakage Resilient Primitive (LRP). We don't&amp;nbsp; kown how to achieve the LRP arithmetic even your &lt;SPAN&gt;application note AN12304 is very&amp;nbsp;in detail, could you give me the demo code (source code) to achieve the LRP for our&amp;nbsp;reference since we are not good at the arithmetic. Thank you very much!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94270i586ABFF438EADA5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Have a great day !&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long Zhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Nov 2019 14:18:01 GMT</pubDate>
    <dc:creator>long19890829</dc:creator>
    <dc:date>2019-11-27T14:18:01Z</dc:date>
    <item>
      <title>Ntag424DNA tag issue</title>
      <link>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976633#M6260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I'm learning&amp;nbsp;the&amp;nbsp;Ntag424DNA, and I get a problem as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1.when I try to decrypt the&amp;nbsp;SDMENCFileData (page 13th of the flie AN12196) refer to the Table4 step by step, and I can get the&amp;nbsp;same data with the Table4 from the step 1 to step 15, but the last step(16), I get the different data "9254fb0561f7a8d030ee6e83487e2487" which is not same with the application note. In my&amp;nbsp;understanding, the step 16 is a&amp;nbsp;standard AES128 CBC&amp;nbsp;arithmetic, the key is&amp;nbsp;&amp;nbsp;SDMMetaReadKey ="00000000000000000000000000000000", the iv is IVe="7B3F3CFC39D3B7FF5868636E38AF7C3A", and the encrypted msg is&amp;nbsp;SDMENCFileData = "94592FDE69FA06E8E3B6CA686A22842B". Therefore, the decrypted msg should be&amp;nbsp;"9254fb0561f7a8d030ee6e83487e2487" rather than "78787878787878787878787878787878". Could you help me to confirm any mistake in my&amp;nbsp;&lt;SPAN&gt;understanding and&amp;nbsp;calculation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; 2.Leakage Resilient Primitive (LRP). We don't&amp;nbsp; kown how to achieve the LRP arithmetic even your &lt;SPAN&gt;application note AN12304 is very&amp;nbsp;in detail, could you give me the demo code (source code) to achieve the LRP for our&amp;nbsp;reference since we are not good at the arithmetic. Thank you very much!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94270i586ABFF438EADA5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Have a great day !&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long Zhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 14:18:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976633#M6260</guid>
      <dc:creator>long19890829</dc:creator>
      <dc:date>2019-11-27T14:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ntag424DNA tag issue</title>
      <link>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976634#M6261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="306666" data-username="long19890829" href="https://community.nxp.com/people/long19890829"&gt;long zhu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Hope you are doing great,&amp;nbsp;&lt;/P&gt;&lt;P&gt;please check the following, I believe there is an error on the names,&amp;nbsp;&lt;/P&gt;&lt;P&gt;please use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data =&amp;nbsp;94592FDE69FA06E8E3B6CA686A22842B&lt;/P&gt;&lt;P&gt;key=&amp;nbsp;8097D73344D53F963B09E23E03B62336&lt;/P&gt;&lt;P&gt;IV =&amp;nbsp;7B3F3CFC39D3B7FF5868636E38AF7C3A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95199iCFE7F7072DFE821A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;for examples about LRP, you can check our NFCreaderlibrary the latest version have added the DESFire light and NTAG42xdna&amp;nbsp; please go to:&lt;/P&gt;&lt;P&gt;NxpRdLib &amp;gt; comps &amp;gt; phalMfNtag42XDna &amp;gt; src&amp;gt; Sw &amp;gt; phalMfNtag42XDna_Sw.c there you can find the APIs&amp;nbsp; that detect when the authentication method is LRP.&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 20:41:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976634#M6261</guid>
      <dc:creator>Jonathan_Iglesias</dc:creator>
      <dc:date>2019-12-03T20:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ntag424DNA tag issue</title>
      <link>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976635#M6262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Jonathan，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for your reply! I still&amp;nbsp;confused about the&amp;nbsp; step 14 and 15 of Table18 in Section 6.9 Change NDEF File Settings&amp;nbsp; of AN12196. I don't know how to get the data&amp;nbsp;Cmd.SetConfiguration C-APDU=905F000019022F81A62EB50A5DD4B8A003BDD10F712A0E62908FC6BAE05300&amp;nbsp;from the step 14, could you show me the&amp;nbsp;calculation process in&amp;nbsp;detail. Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Long Zhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 13:12:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976635#M6262</guid>
      <dc:creator>long19890829</dc:creator>
      <dc:date>2019-12-10T13:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ntag424DNA tag issue</title>
      <link>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976636#M6263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for your reply! I still confused about the&amp;nbsp; step 14 and 15 of Table18 in Section 6.9 Change NDEF File Settings&amp;nbsp; of AN12196. I don't know how to get the data Cmd.SetConfiguration C-APDU=905F000019022F81A62EB50A5DD4B8A003BDD10F712A0E62908FC6BAE05300&amp;nbsp;from the step 14, could you show me the calculation process in&amp;nbsp;detail. Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Long Zhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 13:17:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976636#M6263</guid>
      <dc:creator>long19890829</dc:creator>
      <dc:date>2019-12-10T13:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ntag424DNA tag issue</title>
      <link>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976637#M6264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="306666" data-username="long19890829" href="https://community.nxp.com/people/long19890829"&gt;long zhu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;this is explained in the &lt;A href="https://www.nxp.com/docs/en/data-sheet/NT4H2421Gx.pdf"&gt;datasheet&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/A&gt;section&amp;nbsp;10.7.1 ChangeFileSettings,&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96280i26CE654D1600A2A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.jpg" alt="pastedImage_3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 16:17:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976637#M6264</guid>
      <dc:creator>Jonathan_Iglesias</dc:creator>
      <dc:date>2019-12-10T16:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ntag424DNA tag issue</title>
      <link>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976638#M6265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Jonathan，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I know the format of APDU command, and the Data =022F81A62EB50A5DD4B8A003BDD10F712A0E62908FC6BAE053&amp;nbsp;is composed of 3 parts:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; cmdHeader = 02 (FileNo),&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; encrypted cmdData = 2F81A62EB50A5DD4B8A003BDD10F712A,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; cMac = 0E62908FC6BAE053.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; My&amp;nbsp;confusion is that how can I work out the encrypted cmdData and CMac refer to the Table 18 of AN12196, I need know the detail&amp;nbsp;calculation procedure from step 14 to step 15. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Long Zhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 17:01:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Ntag424DNA-tag-issue/m-p/976638#M6265</guid>
      <dc:creator>long19890829</dc:creator>
      <dc:date>2019-12-10T17:01:06Z</dc:date>
    </item>
  </channel>
</rss>

