<?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>Secure AuthenticationのトピックRe: SE050 - cardCryptogram don't match</title>
    <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1387497#M645</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This keys you have provided me are the ones the I am using during the whole process. I ran this &lt;SPAN&gt;the demo of "Delete and Test Provision" and it didn't work, it stopped in the same place.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Attached to this message are a document that I relate all my environment and test I did with "Get Info", also is attached the "cmake_option.txt" file for more information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Dec 2021 17:17:28 GMT</pubDate>
    <dc:creator>ElielderBMelo</dc:creator>
    <dc:date>2021-12-15T17:17:28Z</dc:date>
    <item>
      <title>SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1383567#M627</link>
      <description>&lt;P&gt;I'm working with OpenSSL Engine + SE050 in a Embedded Linux. In SCP Authentication, I cannot initialize the device, when I reach:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;// Verify whether the 8 left most byte of cardCryptogramFullLength match cardCryptogram&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if (memcmp(cardCryptogramFullLength, cardCryptogram, SCP_GP_IU_CARD_CRYPTOGRAM_LEN) != 0)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;status = kStatus_SSS_Fail;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;cardCryptogramFullLength and&amp;nbsp;cardCryptogram don´t match and I'm already using:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;ENC is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;35C29245895EA34F6136155F8209D6CD&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;MAC is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;AF172D5D54F7C0D5C10A05B9F1207F78&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;DEK is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;A2BC8438BF77015B361A4425F239FA29&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;They are set in file by the environment variable, by command:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EX_SSS_BOOT_SCP03_PATH=/home/root/plain_scp.txt openssl engine&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;By the end, I output the DEBUG in console, they presented as following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;scp :DEBUG: Output:cardCryptogramFullLength (Len=16)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;B8 78 A9 C7 DB EE 3D 01 5A 5C 72 20 13 9E F2 74&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;scp :DEBUG: Output:cardCryptogram (Len=8)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;27 C3 C1 F6 2D 0A E8 EA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any solution? Why they don't match. I have attached console output.&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 19:50:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1383567#M627</guid>
      <dc:creator>ElielderBMelo</dc:creator>
      <dc:date>2021-12-08T19:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1384238#M630</link>
      <description>&lt;P&gt;I've found a info:&lt;/P&gt;&lt;P&gt;sss :INFO :atr (Len=35)&lt;BR /&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08&lt;BR /&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41&lt;BR /&gt;54 50 4F&lt;BR /&gt;sss :INFO :Newer version of Applet Found&lt;BR /&gt;sss :INFO :Compiled for 0x30100. Got newer 0x30600&lt;/P&gt;&lt;P&gt;Is there any problem with this?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 19:47:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1384238#M630</guid>
      <dc:creator>ElielderBMelo</dc:creator>
      <dc:date>2021-12-09T19:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1384435#M631</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193869"&gt;@ElielderBMelo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Are you using the development board?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If yes,&amp;nbsp;&lt;SPAN&gt;Did you change the SCP03 keys? Because our default keys are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_0-1639100572544.png" style="width: 621px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164705i49F6FE3281506ACF/image-dimensions/621x198?v=v2" width="621" height="198" role="button" title="Kan_Li_0-1639100572544.png" alt="Kan_Li_0-1639100572544.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please kindly refer to&amp;nbsp;simw-top/doc/appendix/platfscp.html?highlight=scp03 for more details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 01:43:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1384435#M631</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-12-10T01:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1385051#M632</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I'm using the development board.&lt;/P&gt;&lt;P&gt;No, I'm using exactly this keys:&lt;/P&gt;&lt;P&gt;ENC 35C256458958A34F6136155F8209D6CD&lt;BR /&gt;MAC AF177D5DBDF7C0D5C10A05B9F1607F78&lt;BR /&gt;DEK A1BC8438BF77935B361A4425FE79FA29&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:33:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1385051#M632</guid>
      <dc:creator>ElielderBMelo</dc:creator>
      <dc:date>2021-12-10T20:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1385181#M633</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193869"&gt;@ElielderBMelo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the info! Did you inject these keys with the demo of&amp;nbsp;SE05X Rotate PlatformSCP Keys Demo? Or the dev kit still holds the default keys? Please kindly clarify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:22:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1385181#M633</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-12-12T08:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1385182#M634</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193869"&gt;@ElielderBMelo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the version of MW on your hands? I guess it should be 3.03.00, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1385182#M634</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-12-12T08:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1385667#M638</link>
      <description>&lt;P&gt;No, I didn't use the&amp;nbsp;&lt;SPAN&gt;SE05X Rotate PlatformSCP Keys Demo. The kit holds the default keys.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm trying to authenticate with SCP03 keys, only. And I've created a file which stores the ENC, MAC and DEK keys, this file are being called by&amp;nbsp;&lt;SPAN&gt;EX_SSS_SCP03_FILE_PATH.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 13:12:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1385667#M638</guid>
      <dc:creator>ElielderBMelo</dc:creator>
      <dc:date>2021-12-13T13:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1385668#M639</link>
      <description>&lt;P&gt;Yes, it is the latest version of Middleware, 03.03.00.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 13:12:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1385668#M639</guid>
      <dc:creator>ElielderBMelo</dc:creator>
      <dc:date>2021-12-13T13:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1386365#M640</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193869"&gt;@ElielderBMelo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the dev kit still holds the default keys, so it should work with any demo code with Applet SCP03 Authentication enabled. Did you try it from your side?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To do this, you have to run cmake-gui . to enter the configuration view for cmake, and change the following options.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_0-1639476072424.png" style="width: 677px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165112iC5D079F04572BF6D/image-dimensions/677x132?v=v2" width="677" height="132" role="button" title="Kan_Li_0-1639476072424.png" alt="Kan_Li_0-1639476072424.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_1-1639476121390.png" style="width: 679px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165114iAA4B613FA11051EE/image-dimensions/679x233?v=v2" width="679" height="233" role="button" title="Kan_Li_1-1639476121390.png" alt="Kan_Li_1-1639476121390.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;then configure and generate&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_5-1639477069059.png" style="width: 599px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165119i72E285AED53DD97E/image-dimensions/599x155?v=v2" width="599" height="155" role="button" title="Kan_Li_5-1639477069059.png" alt="Kan_Li_5-1639477069059.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and run cmake --build .&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_6-1639477120330.png" style="width: 627px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165120iAC062359E86FE02D/image-dimensions/627x318?v=v2" width="627" height="318" role="button" title="Kan_Li_6-1639477120330.png" alt="Kan_Li_6-1639477120330.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you meet the following issue when running any demo,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_2-1639476201712.png" style="width: 635px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165115iF755AFD6D290550B/image-dimensions/635x332?v=v2" width="635" height="332" role="button" title="Kan_Li_2-1639476201712.png" alt="Kan_Li_2-1639476201712.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;please&amp;nbsp;execute se05x_Delete_and_test_provision.exe at first to provision the Authentication Key.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_3-1639476750291.png" style="width: 642px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165116i29990739E182BEEE/image-dimensions/642x333?v=v2" width="642" height="333" role="button" title="Kan_Li_3-1639476750291.png" alt="Kan_Li_3-1639476750291.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With the default SCP03 keys, you may run any demo starting with an Applet SCP03 authentication like below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_4-1639476879180.png" style="width: 612px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165118i2ABCA101EA68C1C2/image-dimensions/612x320?v=v2" width="612" height="320" role="button" title="Kan_Li_4-1639476879180.png" alt="Kan_Li_4-1639476879180.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you run the demo following above steps, it means the dev kit on your hands should be ok, we should focus on the host application instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that makes sense,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 10:21:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1386365#M640</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-12-14T10:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1386454#M641</link>
      <description>&lt;P&gt;Hi, Kan Li.&lt;/P&gt;&lt;P&gt;I'm not working in Windows, I'm working in Embedded Linux and I took the .bin in MCU folder in "simw-top/binaries/MCU/" and no one of them worked in my environment.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ElielderBMelo_0-1639485836300.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165133iCD622AF7B8F53B88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ElielderBMelo_0-1639485836300.png" alt="ElielderBMelo_0-1639485836300.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Attached to this message there is my C-Make configuration file. My environment configuration are shown there.&lt;/P&gt;&lt;P&gt;For your knowledge:&lt;/P&gt;&lt;P&gt;- I'm building a cross compiled library to work with OpenSSL.&lt;/P&gt;&lt;P&gt;- My library are attached to OpenSSL by the "openssl.cnf" file.&lt;/P&gt;&lt;P&gt;- The command that I'm testing is a simple engine operation, only to connect to the device by "openssl engine -t".&lt;/P&gt;&lt;P&gt;- This command above are working with no SCP03 Authentication, but when SCP03 is required it doesn't work well.&lt;/P&gt;&lt;P&gt;- I enabled the SCP03 by following manual and instructions there.&lt;/P&gt;&lt;P&gt;- And I don't what to do for that values of "cardCryptogram" to match between each other&lt;/P&gt;&lt;P&gt;Please, ask if any doubt remains, I need to hurry in trying to fix it, because my project are to be delayed because of that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 12:55:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1386454#M641</guid>
      <dc:creator>ElielderBMelo</dc:creator>
      <dc:date>2021-12-14T12:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1386473#M642</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've found the executable for Linux and I executed se05x_Minimal and se05_GetInfo, and they stopped in the same part. They cannot establish a SCP03 Secure Channel as shown below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@am335x-evm:~# ./se05x_Minimal&lt;BR /&gt;App :INFO :PlugAndTrust_v03.03.00_20210528&lt;BR /&gt;App :INFO :Running ./se05x_Minimal&lt;BR /&gt;App :INFO :If you want to over-ride the selection, use ENV=EX_SSS_BOOT_SSS_PORT or pass in command line arguments.&lt;BR /&gt;App :DEBUG:Using File: /home/root/plain_scp.txt&lt;BR /&gt;App :WARN :Using SCP03 keys from:'/home/root/plain_scp.txt' (FILE=/home/root/plain_scp.txt)&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_open_and_configure Opening port&lt;BR /&gt;smCom :DEBUG:I2CInit: opening /dev/i2c-2&lt;/P&gt;&lt;P&gt;smCom :DEBUG:I2C driver: PEC flag cleared&lt;/P&gt;&lt;P&gt;smCom :DEBUG:I2C driver supports plain i2c-level commands.&lt;/P&gt;&lt;P&gt;smCom :DEBUG:I2C driver Initialized :: fd = [12]&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_Open: First open completed&lt;BR /&gt;smCom :DEBUG:phNxpEse_clearReadBuffer Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 260 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=260)&lt;BR /&gt;43 21 01 00 70 99 37 49 00 00 00 00 74 58 EE BE&lt;BR /&gt;14 58 EE BE 1C 58 EE BE B3 76 35 49 1C 58 EE BE&lt;BR /&gt;D0 9A 37 49 04 00 00 00 78 DE F6 B6 01 00 00 00&lt;BR /&gt;00 00 00 00 01 00 00 00 70 99 37 49 00 00 00 00&lt;BR /&gt;2C 9B 37 49 2C 9B 37 49 00 00 00 00 01 80 AD FB&lt;BR /&gt;20 59 EE BE 20 59 EE BE 20 59 EE BE 20 59 EE BE&lt;BR /&gt;FF FF FF FF 1E 5A EE BE 40 A3 38 49 20 D8 F6 B6&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;00 00 00 00 05 00 00 00 01 00 00 00 04 B1 05 00&lt;BR /&gt;10 B0 F6 B6 D0 B4 F6 B6 00 00 00 00 01 00 00 00&lt;BR /&gt;00 90 37 49 00 00 00 00 DF B0 35 49 78 DE F6 B6&lt;BR /&gt;01 00 00 00 01 00 00 00 00 00 00 00 10 B0 F6 B6&lt;BR /&gt;40 A3 38 49 08 59 EE BE 00 B0 05 00 B0 58 EE BE&lt;BR /&gt;57 4C 3F 49 88 13 00 00 E8 03 00 00 40 42 0F 00&lt;BR /&gt;39 46 41 49 00 00 00 00 40 4B 4C 00 00 B0 05 00&lt;BR /&gt;42 5B EE BE 00 00 00 00 F3 D8 03 00 C4 58 EE BE&lt;BR /&gt;05 00 00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 4&lt;BR /&gt;smCom :DEBUG:S-Frame PCB: c0&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;BR /&gt;5A C0 00 FF FC&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=5)&lt;BR /&gt;5A C0 00 FF FC&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 E0&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;00&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;3F 19&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=5)&lt;BR /&gt;A5 E0 00 3F 19&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x60dd8 len ----&amp;gt; 0x5&lt;BR /&gt;smCom :DEBUG:Received CRC:0x3f19 Calculated CRC:0x3f19&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 7&lt;BR /&gt;smCom :DEBUG:S-Frame PCB: c7&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;BR /&gt;5A C7 00 F7 B1&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=5)&lt;BR /&gt;5A C7 00 F7 B1&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 E7&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;23&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 37 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=37)&lt;BR /&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08&lt;BR /&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41&lt;BR /&gt;54 50 4F 2A 8D&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=40)&lt;BR /&gt;A5 E7 23 00 A0 00 00 03 96 04 03 E8 00 FE 02 0B&lt;BR /&gt;03 E8 08 01 00 00 00 00 64 00 00 0A 4A 43 4F 50&lt;BR /&gt;34 20 41 54 50 4F 2A 8D&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x60dd8 len ----&amp;gt; 0x28&lt;BR /&gt;smCom :DEBUG:Received CRC:0x2a8d Calculated CRC:0x2a8d&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeSFrameData frameoffset=3 value=0x0&lt;BR /&gt;smCom :DEBUG:Data[0]=0x0 len=35 Data[34]=0x50 Data[79]=0x23&lt;BR /&gt;smCom :DEBUG:Trying to Acquire Lock thread: -1225347056&lt;BR /&gt;smCom :DEBUG:LOCK Acquired by thread: -1225347056&lt;BR /&gt;smCom :DEBUG:APDU Tx&amp;gt; (Len=22)&lt;BR /&gt;00 A4 04 00 10 A0 00 00 03 96 54 53 00 00 00 01&lt;BR /&gt;03 00 00 00 00 00&lt;BR /&gt;smCom :DEBUG:Enter phNxpEseProto7816_Transceive&lt;BR /&gt;smCom :DEBUG:Transceive data ptr 0x0xbeee5438 len:22&lt;BR /&gt;smCom :DEBUG:I-Frame Data Len: 22 Seq. no:0&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 1&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=27)&lt;BR /&gt;5A 00 16 00 A4 04 00 10 A0 00 00 03 96 54 53 00&lt;BR /&gt;00 00 01 03 00 00 00 00 00 A8 C8&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=27)&lt;BR /&gt;5A 00 16 00 A4 04 00 10 A0 00 00 03 96 54 53 00&lt;BR /&gt;00 00 01 03 00 00 00 00 00 A8 C8&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 00&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;09&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 11 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=11)&lt;BR /&gt;03 06 00 61 D2 01 0B 90 00 50 AD&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=14)&lt;BR /&gt;A5 00 09 03 06 00 61 D2 01 0B 90 00 50 AD&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x60dd8 len ----&amp;gt; 0xe&lt;BR /&gt;smCom :DEBUG:Received CRC:0x50ad Calculated CRC:0x50ad&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x0&lt;BR /&gt;smCom :DEBUG:Data[0]=0x3 len=9 Data[8]=0x90 Data[0]=0x9&lt;BR /&gt;smCom :DEBUG: phNxpEse_Transceive Exit status 0x0&lt;BR /&gt;smCom :DEBUG:APDU Rx&amp;lt; (Len=9)&lt;BR /&gt;03 06 00 61 D2 01 0B 90 00&lt;BR /&gt;smCom :DEBUG:Trying to Released Lock by thread: -1225347056&lt;BR /&gt;smCom :DEBUG:LOCK Released by thread: -1225347056&lt;BR /&gt;sss :INFO :atr (Len=35)&lt;BR /&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08&lt;BR /&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41&lt;BR /&gt;54 50 4F&lt;BR /&gt;sss :INFO :Newer version of Applet Found&lt;BR /&gt;sss :INFO :Compiled for 0x30100. Got newer 0x30600&lt;BR /&gt;scp :DEBUG:FN: nxScp03_AuthenticateChannel&lt;BR /&gt;scp :DEBUG: Output: hostChallenge (Len=8)&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2&lt;BR /&gt;scp :DEBUG:FN: nxScp03_GP_InitializeUpdate&lt;BR /&gt;scp :DEBUG:Input:keyVersion 0b&lt;BR /&gt;scp :DEBUG: Input: hostChallenge (Len=8)&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2&lt;BR /&gt;scp :DEBUG:Sending GP Initialize Update Command !!!&lt;BR /&gt;smCom :DEBUG:Trying to Acquire Lock thread: -1225347056&lt;BR /&gt;smCom :DEBUG:LOCK Acquired by thread: -1225347056&lt;BR /&gt;smCom :DEBUG:APDU Tx&amp;gt; (Len=13)&lt;BR /&gt;80 50 0B 00 08 3B 37 1C 2A 1B 02 FE A2&lt;BR /&gt;smCom :DEBUG:Enter phNxpEseProto7816_Transceive&lt;BR /&gt;smCom :DEBUG:Transceive data ptr 0x0xbeee5164 len:13&lt;BR /&gt;smCom :DEBUG:I-Frame Data Len: 13 Seq. no:1&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 1&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=18)&lt;BR /&gt;5A 40 0D 80 50 0B 00 08 3B 37 1C 2A 1B 02 FE A2&lt;BR /&gt;5A 4E&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=18)&lt;BR /&gt;5A 40 0D 80 50 0B 00 08 3B 37 1C 2A 1B 02 FE A2&lt;BR /&gt;5A 4E&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 40&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;1F&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 33 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=33)&lt;BR /&gt;90 03 12 10 00 00 49 95 55 95 0B 03 00 9E EB B4&lt;BR /&gt;D2 0C EA 7D AE 21 0B 23 F0 BD 04 C9 03 90 00 B0&lt;BR /&gt;EB&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=36)&lt;BR /&gt;A5 40 1F 90 03 12 10 00 00 49 95 55 95 0B 03 00&lt;BR /&gt;9E EB B4 D2 0C EA 7D AE 21 0B 23 F0 BD 04 C9 03&lt;BR /&gt;90 00 B0 EB&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x60dd8 len ----&amp;gt; 0x24&lt;BR /&gt;smCom :DEBUG:Received CRC:0xb0eb Calculated CRC:0xb0eb&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x1&lt;BR /&gt;smCom :DEBUG:Data[0]=0x90 len=31 Data[30]=0x90 Data[0]=0x1f&lt;BR /&gt;smCom :DEBUG: phNxpEse_Transceive Exit status 0x0&lt;BR /&gt;smCom :DEBUG:APDU Rx&amp;lt; (Len=31)&lt;BR /&gt;90 03 12 10 00 00 49 95 55 95 0B 03 00 9E EB B4&lt;BR /&gt;D2 0C EA 7D AE 21 0B 23 F0 BD 04 C9 03 90 00&lt;BR /&gt;smCom :DEBUG:Trying to Released Lock by thread: -1225347056&lt;BR /&gt;smCom :DEBUG:LOCK Released by thread: -1225347056&lt;BR /&gt;scp :DEBUG: Output: keyDivData (Len=10)&lt;BR /&gt;90 03 12 10 00 00 49 95 55 95&lt;BR /&gt;scp :DEBUG: Output: keyInfo (Len=3)&lt;BR /&gt;0B 03 00&lt;BR /&gt;scp :DEBUG: Output: cardChallenge (Len=8)&lt;BR /&gt;9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG: Output: cardCryptoGram (Len=8)&lt;BR /&gt;21 0B 23 F0 BD 04 C9 03&lt;BR /&gt;scp :DEBUG:FN: nxScp03_HostLocal_CalculateSessionKeys&lt;BR /&gt;scp :DEBUG: Input:hostChallenge (Len=8)&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2&lt;BR /&gt;scp :DEBUG: Input:cardChallenge (Len=8)&lt;BR /&gt;9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG:Set the Derviation data to generate Session ENC key&lt;BR /&gt;scp :DEBUG:FN: nxScp03_setDerivationData&lt;BR /&gt;scp :DEBUG:Input:ddConstant 04&lt;BR /&gt;scp :DEBUG:Input:ddL 80&lt;BR /&gt;scp :DEBUG:Input:iCounter 01&lt;BR /&gt;scp :DEBUG: Input: keyInfo (Len=16)&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2 9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG:Output: KeyDivData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 04 00 00 80 01&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2 9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG:FN: nxScp03_Generate_SessionKey&lt;BR /&gt;scp :DEBUG: Input: inData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 04 00 00 80 01&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2 9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG: Output:outSignature (Len=16)&lt;BR /&gt;42 E3 9B ED C5 0C 15 80 C7 C5 F4 62 7B 2A 2F 6D&lt;BR /&gt;scp :DEBUG: Output:sessionEncKey (Len=16)&lt;BR /&gt;42 E3 9B ED C5 0C 15 80 C7 C5 F4 62 7B 2A 2F 6D&lt;BR /&gt;scp :DEBUG:Set the Derviation data to generate Session MAC key&lt;BR /&gt;scp :DEBUG:FN: nxScp03_setDerivationData&lt;BR /&gt;scp :DEBUG:Input:ddConstant 06&lt;BR /&gt;scp :DEBUG:Input:ddL 80&lt;BR /&gt;scp :DEBUG:Input:iCounter 01&lt;BR /&gt;scp :DEBUG: Input: keyInfo (Len=16)&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2 9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG:Output: KeyDivData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 06 00 00 80 01&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2 9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG:FN: nxScp03_Generate_SessionKey&lt;BR /&gt;scp :DEBUG: Input: inData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 06 00 00 80 01&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2 9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG: Output:outSignature (Len=16)&lt;BR /&gt;7D 26 00 93 2C 20 90 7F 1F E1 30 37 38 C1 65 21&lt;BR /&gt;scp :DEBUG: Output:sessionMacKey (Len=16)&lt;BR /&gt;7D 26 00 93 2C 20 90 7F 1F E1 30 37 38 C1 65 21&lt;BR /&gt;scp :DEBUG:Set the Derviation data to generate Session RMAC key&lt;BR /&gt;scp :DEBUG:FN: nxScp03_setDerivationData&lt;BR /&gt;scp :DEBUG:Input:ddConstant 07&lt;BR /&gt;scp :DEBUG:Input:ddL 80&lt;BR /&gt;scp :DEBUG:Input:iCounter 01&lt;BR /&gt;scp :DEBUG: Input: keyInfo (Len=16)&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2 9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG:Output: KeyDivData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 07 00 00 80 01&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2 9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG:FN: nxScp03_Generate_SessionKey&lt;BR /&gt;scp :DEBUG: Input: inData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 07 00 00 80 01&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2 9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG: Output:outSignature (Len=16)&lt;BR /&gt;14 13 13 F9 D9 1D 98 91 72 4C C4 16 64 CB 31 67&lt;BR /&gt;scp :DEBUG: Output:sessionRmacKey (Len=16)&lt;BR /&gt;14 13 13 F9 D9 1D 98 91 72 4C C4 16 64 CB 31 67&lt;BR /&gt;scp :DEBUG:FN: nxScp03_HostLocal_VerifyCardCryptogram&lt;BR /&gt;scp :DEBUG: Input:hostChallenge (Len=8)&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2&lt;BR /&gt;scp :DEBUG: Input:cardChallenge (Len=8)&lt;BR /&gt;9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG:FN: nxScp03_setDerivationData&lt;BR /&gt;scp :DEBUG:Input:ddConstant 00&lt;BR /&gt;scp :DEBUG:Input:ddL 40&lt;BR /&gt;scp :DEBUG:Input:iCounter 01&lt;BR /&gt;scp :DEBUG: Input: keyInfo (Len=16)&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2 9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG:Output: KeyDivData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 01&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2 9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG:FN: nxScp03_Generate_SessionKey&lt;BR /&gt;scp :DEBUG: Input: inData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 01&lt;BR /&gt;3B 37 1C 2A 1B 02 FE A2 9E EB B4 D2 0C EA 7D AE&lt;BR /&gt;scp :DEBUG: Output:outSignature (Len=16)&lt;BR /&gt;77 4F 5E 11 CC 39 55 05 2A 15 B5 5A 71 DA 33 C8&lt;BR /&gt;scp :DEBUG: Output:cardCryptogram (Len=16)&lt;BR /&gt;77 4F 5E 11 CC 39 55 05 2A 15 B5 5A 71 DA 33 C8&lt;BR /&gt;scp :WARN :nxEnsure:'status == kStatus_SSS_Success' failed. At Line:145 Function:nxScp03_AuthenticateChannel&lt;BR /&gt;sss :ERROR:Could not set SCP03 Secure Channel&lt;BR /&gt;App :ERROR:sss_session_open failed&lt;BR /&gt;App :ERROR:ex_sss_session_open Failed&lt;BR /&gt;App :ERROR:!ERROR! ret != 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@am335x-evm:~# ./se05x_GetInfo&lt;BR /&gt;App :INFO :PlugAndTrust_v03.03.00_20210528&lt;BR /&gt;App :INFO :Running ./se05x_GetInfo&lt;BR /&gt;App :INFO :If you want to over-ride the selection, use ENV=EX_SSS_BOOT_SSS_PORT or pass in command line arguments.&lt;BR /&gt;App :DEBUG:Using File: /home/root/plain_scp.txt&lt;BR /&gt;App :WARN :Using SCP03 keys from:'/home/root/plain_scp.txt' (FILE=/home/root/plain_scp.txt)&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_open_and_configure Opening port&lt;BR /&gt;smCom :DEBUG:I2CInit: opening /dev/i2c-2&lt;/P&gt;&lt;P&gt;smCom :DEBUG:I2C driver: PEC flag cleared&lt;/P&gt;&lt;P&gt;smCom :DEBUG:I2C driver supports plain i2c-level commands.&lt;/P&gt;&lt;P&gt;smCom :DEBUG:I2C driver Initialized :: fd = [12]&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_Open: First open completed&lt;BR /&gt;smCom :DEBUG:phNxpEse_clearReadBuffer Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 260 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=260)&lt;BR /&gt;5B 21 01 00 70 99 37 49 00 00 00 00 74 C8 CE BE&lt;BR /&gt;14 C8 CE BE 1C C8 CE BE B3 76 35 49 1C C8 CE BE&lt;BR /&gt;D0 9A 37 49 04 00 00 00 78 4E F5 B6 01 00 00 00&lt;BR /&gt;00 00 00 00 01 00 00 00 70 99 37 49 00 00 00 00&lt;BR /&gt;2C 9B 37 49 2C 9B 37 49 00 00 00 00 01 80 AD FB&lt;BR /&gt;20 C9 CE BE 20 C9 CE BE 20 C9 CE BE 20 C9 CE BE&lt;BR /&gt;FF FF FF FF 1E CA CE BE 40 A3 38 49 20 48 F5 B6&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;00 00 00 00 05 00 00 00 01 00 00 00 04 D1 05 00&lt;BR /&gt;10 20 F5 B6 D0 24 F5 B6 00 00 00 00 01 00 00 00&lt;BR /&gt;00 90 37 49 00 00 00 00 DF B0 35 49 78 4E F5 B6&lt;BR /&gt;01 00 00 00 01 00 00 00 00 00 00 00 10 20 F5 B6&lt;BR /&gt;40 A3 38 49 08 C9 CE BE 00 D0 05 00 B0 C8 CE BE&lt;BR /&gt;57 4C 3F 49 88 13 00 00 E8 03 00 00 40 42 0F 00&lt;BR /&gt;39 46 41 49 00 00 00 00 40 4B 4C 00 00 D0 05 00&lt;BR /&gt;42 CB CE BE 00 00 00 00 AF EA 03 00 C4 C8 CE BE&lt;BR /&gt;05 00 00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 4&lt;BR /&gt;smCom :DEBUG:S-Frame PCB: c0&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;BR /&gt;5A C0 00 FF FC&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=5)&lt;BR /&gt;5A C0 00 FF FC&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 E0&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;00&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;3F 19&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=5)&lt;BR /&gt;A5 E0 00 3F 19&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x62dd8 len ----&amp;gt; 0x5&lt;BR /&gt;smCom :DEBUG:Received CRC:0x3f19 Calculated CRC:0x3f19&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 7&lt;BR /&gt;smCom :DEBUG:S-Frame PCB: c7&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;BR /&gt;5A C7 00 F7 B1&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=5)&lt;BR /&gt;5A C7 00 F7 B1&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 E7&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;23&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 37 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=37)&lt;BR /&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08&lt;BR /&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41&lt;BR /&gt;54 50 4F 2A 8D&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=40)&lt;BR /&gt;A5 E7 23 00 A0 00 00 03 96 04 03 E8 00 FE 02 0B&lt;BR /&gt;03 E8 08 01 00 00 00 00 64 00 00 0A 4A 43 4F 50&lt;BR /&gt;34 20 41 54 50 4F 2A 8D&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x62dd8 len ----&amp;gt; 0x28&lt;BR /&gt;smCom :DEBUG:Received CRC:0x2a8d Calculated CRC:0x2a8d&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeSFrameData frameoffset=3 value=0x0&lt;BR /&gt;smCom :DEBUG:Data[0]=0x0 len=35 Data[34]=0x50 Data[79]=0x23&lt;BR /&gt;smCom :DEBUG:Trying to Acquire Lock thread: -1225449456&lt;BR /&gt;smCom :DEBUG:LOCK Acquired by thread: -1225449456&lt;BR /&gt;smCom :DEBUG:APDU Tx&amp;gt; (Len=22)&lt;BR /&gt;00 A4 04 00 10 A0 00 00 03 96 54 53 00 00 00 01&lt;BR /&gt;03 00 00 00 00 00&lt;BR /&gt;smCom :DEBUG:Enter phNxpEseProto7816_Transceive&lt;BR /&gt;smCom :DEBUG:Transceive data ptr 0x0xbecec438 len:22&lt;BR /&gt;smCom :DEBUG:I-Frame Data Len: 22 Seq. no:0&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 1&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=27)&lt;BR /&gt;5A 00 16 00 A4 04 00 10 A0 00 00 03 96 54 53 00&lt;BR /&gt;00 00 01 03 00 00 00 00 00 A8 C8&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=27)&lt;BR /&gt;5A 00 16 00 A4 04 00 10 A0 00 00 03 96 54 53 00&lt;BR /&gt;00 00 01 03 00 00 00 00 00 A8 C8&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 00&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;09&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 11 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=11)&lt;BR /&gt;03 06 00 61 D2 01 0B 90 00 50 AD&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=14)&lt;BR /&gt;A5 00 09 03 06 00 61 D2 01 0B 90 00 50 AD&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x62dd8 len ----&amp;gt; 0xe&lt;BR /&gt;smCom :DEBUG:Received CRC:0x50ad Calculated CRC:0x50ad&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x0&lt;BR /&gt;smCom :DEBUG:Data[0]=0x3 len=9 Data[8]=0x90 Data[0]=0x9&lt;BR /&gt;smCom :DEBUG: phNxpEse_Transceive Exit status 0x0&lt;BR /&gt;smCom :DEBUG:APDU Rx&amp;lt; (Len=9)&lt;BR /&gt;03 06 00 61 D2 01 0B 90 00&lt;BR /&gt;smCom :DEBUG:Trying to Released Lock by thread: -1225449456&lt;BR /&gt;smCom :DEBUG:LOCK Released by thread: -1225449456&lt;BR /&gt;sss :INFO :atr (Len=35)&lt;BR /&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08&lt;BR /&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41&lt;BR /&gt;54 50 4F&lt;BR /&gt;sss :INFO :Newer version of Applet Found&lt;BR /&gt;sss :INFO :Compiled for 0x30100. Got newer 0x30600&lt;BR /&gt;scp :DEBUG:FN: nxScp03_AuthenticateChannel&lt;BR /&gt;scp :DEBUG: Output: hostChallenge (Len=8)&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63&lt;BR /&gt;scp :DEBUG:FN: nxScp03_GP_InitializeUpdate&lt;BR /&gt;scp :DEBUG:Input:keyVersion 0b&lt;BR /&gt;scp :DEBUG: Input: hostChallenge (Len=8)&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63&lt;BR /&gt;scp :DEBUG:Sending GP Initialize Update Command !!!&lt;BR /&gt;smCom :DEBUG:Trying to Acquire Lock thread: -1225449456&lt;BR /&gt;smCom :DEBUG:LOCK Acquired by thread: -1225449456&lt;BR /&gt;smCom :DEBUG:APDU Tx&amp;gt; (Len=13)&lt;BR /&gt;80 50 0B 00 08 E2 B5 B2 C2 C7 A8 A6 63&lt;BR /&gt;smCom :DEBUG:Enter phNxpEseProto7816_Transceive&lt;BR /&gt;smCom :DEBUG:Transceive data ptr 0x0xbecec164 len:13&lt;BR /&gt;smCom :DEBUG:I-Frame Data Len: 13 Seq. no:1&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 1&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=18)&lt;BR /&gt;5A 40 0D 80 50 0B 00 08 E2 B5 B2 C2 C7 A8 A6 63&lt;BR /&gt;61 B7&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=18)&lt;BR /&gt;5A 40 0D 80 50 0B 00 08 E2 B5 B2 C2 C7 A8 A6 63&lt;BR /&gt;61 B7&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 40&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;1F&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 33 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=33)&lt;BR /&gt;90 03 12 10 00 00 49 95 55 95 0B 03 00 16 35 AD&lt;BR /&gt;77 94 F9 C2 33 D9 23 B6 1F 93 2F 97 4E 90 00 C0&lt;BR /&gt;97&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=36)&lt;BR /&gt;A5 40 1F 90 03 12 10 00 00 49 95 55 95 0B 03 00&lt;BR /&gt;16 35 AD 77 94 F9 C2 33 D9 23 B6 1F 93 2F 97 4E&lt;BR /&gt;90 00 C0 97&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x62dd8 len ----&amp;gt; 0x24&lt;BR /&gt;smCom :DEBUG:Received CRC:0xc097 Calculated CRC:0xc097&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x1&lt;BR /&gt;smCom :DEBUG:Data[0]=0x90 len=31 Data[30]=0x90 Data[0]=0x1f&lt;BR /&gt;smCom :DEBUG: phNxpEse_Transceive Exit status 0x0&lt;BR /&gt;smCom :DEBUG:APDU Rx&amp;lt; (Len=31)&lt;BR /&gt;90 03 12 10 00 00 49 95 55 95 0B 03 00 16 35 AD&lt;BR /&gt;77 94 F9 C2 33 D9 23 B6 1F 93 2F 97 4E 90 00&lt;BR /&gt;smCom :DEBUG:Trying to Released Lock by thread: -1225449456&lt;BR /&gt;smCom :DEBUG:LOCK Released by thread: -1225449456&lt;BR /&gt;scp :DEBUG: Output: keyDivData (Len=10)&lt;BR /&gt;90 03 12 10 00 00 49 95 55 95&lt;BR /&gt;scp :DEBUG: Output: keyInfo (Len=3)&lt;BR /&gt;0B 03 00&lt;BR /&gt;scp :DEBUG: Output: cardChallenge (Len=8)&lt;BR /&gt;16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG: Output: cardCryptoGram (Len=8)&lt;BR /&gt;D9 23 B6 1F 93 2F 97 4E&lt;BR /&gt;scp :DEBUG:FN: nxScp03_HostLocal_CalculateSessionKeys&lt;BR /&gt;scp :DEBUG: Input:hostChallenge (Len=8)&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63&lt;BR /&gt;scp :DEBUG: Input:cardChallenge (Len=8)&lt;BR /&gt;16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG:Set the Derviation data to generate Session ENC key&lt;BR /&gt;scp :DEBUG:FN: nxScp03_setDerivationData&lt;BR /&gt;scp :DEBUG:Input:ddConstant 04&lt;BR /&gt;scp :DEBUG:Input:ddL 80&lt;BR /&gt;scp :DEBUG:Input:iCounter 01&lt;BR /&gt;scp :DEBUG: Input: keyInfo (Len=16)&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63 16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG:Output: KeyDivData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 04 00 00 80 01&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63 16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG:FN: nxScp03_Generate_SessionKey&lt;BR /&gt;scp :DEBUG: Input: inData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 04 00 00 80 01&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63 16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG: Output:outSignature (Len=16)&lt;BR /&gt;F2 F2 CD D3 0C C1 23 64 73 41 DD 04 4B B8 07 1F&lt;BR /&gt;scp :DEBUG: Output:sessionEncKey (Len=16)&lt;BR /&gt;F2 F2 CD D3 0C C1 23 64 73 41 DD 04 4B B8 07 1F&lt;BR /&gt;scp :DEBUG:Set the Derviation data to generate Session MAC key&lt;BR /&gt;scp :DEBUG:FN: nxScp03_setDerivationData&lt;BR /&gt;scp :DEBUG:Input:ddConstant 06&lt;BR /&gt;scp :DEBUG:Input:ddL 80&lt;BR /&gt;scp :DEBUG:Input:iCounter 01&lt;BR /&gt;scp :DEBUG: Input: keyInfo (Len=16)&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63 16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG:Output: KeyDivData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 06 00 00 80 01&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63 16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG:FN: nxScp03_Generate_SessionKey&lt;BR /&gt;scp :DEBUG: Input: inData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 06 00 00 80 01&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63 16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG: Output:outSignature (Len=16)&lt;BR /&gt;6B 55 86 C0 17 65 09 9A EC C0 76 4C 09 B2 3A DA&lt;BR /&gt;scp :DEBUG: Output:sessionMacKey (Len=16)&lt;BR /&gt;6B 55 86 C0 17 65 09 9A EC C0 76 4C 09 B2 3A DA&lt;BR /&gt;scp :DEBUG:Set the Derviation data to generate Session RMAC key&lt;BR /&gt;scp :DEBUG:FN: nxScp03_setDerivationData&lt;BR /&gt;scp :DEBUG:Input:ddConstant 07&lt;BR /&gt;scp :DEBUG:Input:ddL 80&lt;BR /&gt;scp :DEBUG:Input:iCounter 01&lt;BR /&gt;scp :DEBUG: Input: keyInfo (Len=16)&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63 16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG:Output: KeyDivData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 07 00 00 80 01&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63 16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG:FN: nxScp03_Generate_SessionKey&lt;BR /&gt;scp :DEBUG: Input: inData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 07 00 00 80 01&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63 16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG: Output:outSignature (Len=16)&lt;BR /&gt;8E 85 F4 80 FD 9F 08 0F AB 6E C9 4A AE 32 C5 1B&lt;BR /&gt;scp :DEBUG: Output:sessionRmacKey (Len=16)&lt;BR /&gt;8E 85 F4 80 FD 9F 08 0F AB 6E C9 4A AE 32 C5 1B&lt;BR /&gt;scp :DEBUG:FN: nxScp03_HostLocal_VerifyCardCryptogram&lt;BR /&gt;scp :DEBUG: Input:hostChallenge (Len=8)&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63&lt;BR /&gt;scp :DEBUG: Input:cardChallenge (Len=8)&lt;BR /&gt;16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG:FN: nxScp03_setDerivationData&lt;BR /&gt;scp :DEBUG:Input:ddConstant 00&lt;BR /&gt;scp :DEBUG:Input:ddL 40&lt;BR /&gt;scp :DEBUG:Input:iCounter 01&lt;BR /&gt;scp :DEBUG: Input: keyInfo (Len=16)&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63 16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG:Output: KeyDivData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 01&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63 16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG:FN: nxScp03_Generate_SessionKey&lt;BR /&gt;scp :DEBUG: Input: inData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 01&lt;BR /&gt;E2 B5 B2 C2 C7 A8 A6 63 16 35 AD 77 94 F9 C2 33&lt;BR /&gt;scp :DEBUG: Output:outSignature (Len=16)&lt;BR /&gt;EE 4C A8 23 C7 2E 07 35 32 31 47 4F 32 51 15 B1&lt;BR /&gt;scp :DEBUG: Output:cardCryptogram (Len=16)&lt;BR /&gt;EE 4C A8 23 C7 2E 07 35 32 31 47 4F 32 51 15 B1&lt;BR /&gt;scp :WARN :nxEnsure:'status == kStatus_SSS_Success' failed. At Line:145 Function:nxScp03_AuthenticateChannel&lt;BR /&gt;sss :ERROR:Could not set SCP03 Secure Channel&lt;BR /&gt;App :ERROR:sss_session_open failed&lt;BR /&gt;App :ERROR:ex_sss_session_open Failed&lt;BR /&gt;App :ERROR:!ERROR! ret != 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 13:36:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1386473#M642</guid>
      <dc:creator>ElielderBMelo</dc:creator>
      <dc:date>2021-12-14T13:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1386482#M643</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, look to this execution of "se05X_GetInfo", this build was built without SCP03 Authentication in C-Make config for libsss_engine.so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;root@am335x-evm:~# ./se05x_GetInfo&lt;BR /&gt;App :INFO :PlugAndTrust_v03.03.00_20210528&lt;BR /&gt;App :INFO :Running ./se05x_GetInfo&lt;BR /&gt;App :INFO :If you want to over-ride the selection, use ENV=EX_SSS_BOOT_SSS_PORT or pass in command line arguments.&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_open_and_configure Opening port&lt;BR /&gt;smCom :DEBUG:I2CInit: opening /dev/i2c-2&lt;/P&gt;&lt;P&gt;smCom :DEBUG:I2C driver: PEC flag cleared&lt;/P&gt;&lt;P&gt;smCom :DEBUG:I2C driver supports plain i2c-level commands.&lt;/P&gt;&lt;P&gt;smCom :DEBUG:I2C driver Initialized :: fd = [12]&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_Open: First open completed&lt;BR /&gt;smCom :DEBUG:phNxpEse_clearReadBuffer Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 260 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=260)&lt;BR /&gt;5B 21 01 00 70 99 37 49 00 00 00 00 84 58 B6 BE&lt;BR /&gt;24 58 B6 BE 2C 58 B6 BE B3 76 35 49 2C 58 B6 BE&lt;BR /&gt;D0 9A 37 49 04 00 00 00 78 2E FF B6 01 00 00 00&lt;BR /&gt;00 00 00 00 01 00 00 00 70 99 37 49 00 00 00 00&lt;BR /&gt;2C 9B 37 49 2C 9B 37 49 00 00 00 00 01 80 AD FB&lt;BR /&gt;30 59 B6 BE 30 59 B6 BE 30 59 B6 BE 30 59 B6 BE&lt;BR /&gt;FF FF FF FF 2E 5A B6 BE 40 A3 38 49 20 28 FF B6&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;00 00 00 00 05 00 00 00 01 00 00 00 04 D1 05 00&lt;BR /&gt;10 00 FF B6 D0 04 FF B6 00 00 00 00 01 00 00 00&lt;BR /&gt;00 90 37 49 00 00 00 00 DF B0 35 49 78 2E FF B6&lt;BR /&gt;01 00 00 00 01 00 00 00 00 00 00 00 10 00 FF B6&lt;BR /&gt;40 A3 38 49 18 59 B6 BE 00 D0 05 00 C0 58 B6 BE&lt;BR /&gt;57 4C 3F 49 88 13 00 00 E8 03 00 00 40 42 0F 00&lt;BR /&gt;39 46 41 49 00 00 00 00 40 4B 4C 00 00 D0 05 00&lt;BR /&gt;52 5B B6 BE 00 00 00 00 FF E6 03 00 D4 58 B6 BE&lt;BR /&gt;05 00 00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 4&lt;BR /&gt;smCom :DEBUG:S-Frame PCB: c0&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;BR /&gt;5A C0 00 FF FC&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=5)&lt;BR /&gt;5A C0 00 FF FC&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 E0&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;00&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;3F 19&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=5)&lt;BR /&gt;A5 E0 00 3F 19&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x61c88 len ----&amp;gt; 0x5&lt;BR /&gt;smCom :DEBUG:Received CRC:0x3f19 Calculated CRC:0x3f19&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 7&lt;BR /&gt;smCom :DEBUG:S-Frame PCB: c7&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;BR /&gt;5A C7 00 F7 B1&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=5)&lt;BR /&gt;5A C7 00 F7 B1&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 E7&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;23&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 37 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=37)&lt;BR /&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08&lt;BR /&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41&lt;BR /&gt;54 50 4F 2A 8D&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=40)&lt;BR /&gt;A5 E7 23 00 A0 00 00 03 96 04 03 E8 00 FE 02 0B&lt;BR /&gt;03 E8 08 01 00 00 00 00 64 00 00 0A 4A 43 4F 50&lt;BR /&gt;34 20 41 54 50 4F 2A 8D&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x61c88 len ----&amp;gt; 0x28&lt;BR /&gt;smCom :DEBUG:Received CRC:0x2a8d Calculated CRC:0x2a8d&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeSFrameData frameoffset=3 value=0x0&lt;BR /&gt;smCom :DEBUG:Data[0]=0x0 len=35 Data[34]=0x50 Data[79]=0x23&lt;BR /&gt;sss :INFO :atr (Len=35)&lt;BR /&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08&lt;BR /&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41&lt;BR /&gt;54 50 4F&lt;BR /&gt;smCom :DEBUG:Trying to Acquire Lock thread: -1224802288&lt;BR /&gt;smCom :DEBUG:LOCK Acquired by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:APDU Tx&amp;gt; (Len=22)&lt;BR /&gt;00 A4 04 00 10 A0 00 00 03 96 54 53 00 00 00 01&lt;BR /&gt;03 30 00 00 00 00&lt;BR /&gt;smCom :DEBUG:Enter phNxpEseProto7816_Transceive&lt;BR /&gt;smCom :DEBUG:Transceive data ptr 0x0xbeb65bac len:22&lt;BR /&gt;smCom :DEBUG:I-Frame Data Len: 22 Seq. no:0&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 1&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=27)&lt;BR /&gt;5A 00 16 00 A4 04 00 10 A0 00 00 03 96 54 53 00&lt;BR /&gt;00 00 01 03 30 00 00 00 00 79 1C&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=27)&lt;BR /&gt;5A 00 16 00 A4 04 00 10 A0 00 00 03 96 54 53 00&lt;BR /&gt;00 00 01 03 30 00 00 00 00 79 1C&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 00&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;02&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 4 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=4)&lt;BR /&gt;6E 00 1A 49&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=7)&lt;BR /&gt;A5 00 02 6E 00 1A 49&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x61c88 len ----&amp;gt; 0x7&lt;BR /&gt;smCom :DEBUG:Received CRC:0x1a49 Calculated CRC:0x1a49&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x0&lt;BR /&gt;smCom :DEBUG:Data[0]=0x6e len=2 Data[1]=0x6e Data[0]=0x2&lt;BR /&gt;smCom :DEBUG: phNxpEse_Transceive Exit status 0x0&lt;BR /&gt;smCom :DEBUG:APDU Rx&amp;lt; (Len=2)&lt;BR /&gt;6E 00&lt;BR /&gt;smCom :DEBUG:Trying to Released Lock by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:LOCK Released by thread: -1224802288&lt;BR /&gt;App :WARN :No SemsLite Applet Available.&lt;BR /&gt;hostLib:DEBUG:CloseSession command is sent only if valid Session exists!!!&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 6&lt;BR /&gt;smCom :DEBUG:S-Frame PCB: c5&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;BR /&gt;5A C5 00 47 82&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=5)&lt;BR /&gt;5A C5 00 47 82&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 E5&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;00&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;87 67&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=5)&lt;BR /&gt;A5 E5 00 87 67&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x61c88 len ----&amp;gt; 0x5&lt;BR /&gt;smCom :DEBUG:Received CRC:0x8767 Calculated CRC:0x8767&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received&lt;BR /&gt;smCom :DEBUG:Close i2c device 3.&lt;/P&gt;&lt;P&gt;smCom :DEBUG:phNxpEse_close - ESE Context deinit completed&lt;BR /&gt;App :INFO :Running ./se05x_GetInfo&lt;BR /&gt;App :INFO :If you want to over-ride the selection, use ENV=EX_SSS_BOOT_SSS_PORT or pass in command line arguments.&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_open_and_configure Opening port&lt;BR /&gt;smCom :DEBUG:I2CInit: opening /dev/i2c-2&lt;/P&gt;&lt;P&gt;smCom :DEBUG:I2C driver: PEC flag cleared&lt;/P&gt;&lt;P&gt;smCom :DEBUG:I2C driver supports plain i2c-level commands.&lt;/P&gt;&lt;P&gt;smCom :DEBUG:I2C driver Initialized :: fd = [12]&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_Open: First open completed&lt;BR /&gt;smCom :DEBUG:phNxpEse_clearReadBuffer Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 260 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=260)&lt;BR /&gt;70 45 73 65 50 72 6F 74 6F 37 38 31 36 5F 4F 70&lt;BR /&gt;65 6E 3A 20 46 69 72 73 74 20 6F 70 65 6E 20 63&lt;BR /&gt;6F 6D 70 6C 65 74 65 64 00 59 B6 BE 00 00 00 00&lt;BR /&gt;A4 B8 04 00 14 5A B6 BE 88 58 B6 BE 00 00 00 00&lt;BR /&gt;9B E1 3C 49 00 00 00 00 FF FF FF FF 01 80 AD FB&lt;BR /&gt;00 59 B6 BE 00 59 B6 BE 00 59 B6 BE 00 59 B6 BE&lt;BR /&gt;24 59 B6 BE FE 59 B6 BE 00 59 B6 BE FE 59 B6 BE&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;00 00 00 00 05 00 00 00 00 00 00 00 49 03 3D 49&lt;BR /&gt;00 00 47 49 00 00 00 00 98 04 00 00 90 E1 05 00&lt;BR /&gt;C1 F9 3C 49 70 58 B6 BE FF FF FF FF 00 00 00 00&lt;BR /&gt;00 00 00 00 D8 58 B6 BE FF FF FF FF 10 00 FF B6&lt;BR /&gt;00 55 00 00 E8 58 B6 BE 75 2F 41 49 90 58 B6 BE&lt;BR /&gt;57 4C 3F 49 88 13 00 00 E8 03 00 00 40 42 0F 00&lt;BR /&gt;39 46 41 49 00 00 00 00 40 4B 4C 00 00 D0 05 00&lt;BR /&gt;22 5B B6 BE 00 00 00 00 FF E6 03 00 A4 58 B6 BE&lt;BR /&gt;05 00 00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 4&lt;BR /&gt;smCom :DEBUG:S-Frame PCB: c0&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;BR /&gt;5A C0 00 FF FC&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=5)&lt;BR /&gt;5A C0 00 FF FC&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 E0&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;00&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;3F 19&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=5)&lt;BR /&gt;A5 E0 00 3F 19&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x61c88 len ----&amp;gt; 0x5&lt;BR /&gt;smCom :DEBUG:Received CRC:0x3f19 Calculated CRC:0x3f19&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 7&lt;BR /&gt;smCom :DEBUG:S-Frame PCB: c7&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;BR /&gt;5A C7 00 F7 B1&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=5)&lt;BR /&gt;5A C7 00 F7 B1&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 E7&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;23&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 37 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=37)&lt;BR /&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08&lt;BR /&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41&lt;BR /&gt;54 50 4F 2A 8D&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=40)&lt;BR /&gt;A5 E7 23 00 A0 00 00 03 96 04 03 E8 00 FE 02 0B&lt;BR /&gt;03 E8 08 01 00 00 00 00 64 00 00 0A 4A 43 4F 50&lt;BR /&gt;34 20 41 54 50 4F 2A 8D&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x61c88 len ----&amp;gt; 0x28&lt;BR /&gt;smCom :DEBUG:Received CRC:0x2a8d Calculated CRC:0x2a8d&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeSFrameData frameoffset=3 value=0x0&lt;BR /&gt;smCom :DEBUG:Data[0]=0x0 len=35 Data[34]=0x50 Data[79]=0x23&lt;BR /&gt;smCom :DEBUG:Trying to Acquire Lock thread: -1224802288&lt;BR /&gt;smCom :DEBUG:LOCK Acquired by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:APDU Tx&amp;gt; (Len=22)&lt;BR /&gt;00 A4 04 00 10 A0 00 00 03 96 54 53 00 00 00 01&lt;BR /&gt;03 00 00 00 00 00&lt;BR /&gt;smCom :DEBUG:Enter phNxpEseProto7816_Transceive&lt;BR /&gt;smCom :DEBUG:Transceive data ptr 0x0xbeb65418 len:22&lt;BR /&gt;smCom :DEBUG:I-Frame Data Len: 22 Seq. no:0&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 1&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=27)&lt;BR /&gt;5A 00 16 00 A4 04 00 10 A0 00 00 03 96 54 53 00&lt;BR /&gt;00 00 01 03 00 00 00 00 00 A8 C8&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=27)&lt;BR /&gt;5A 00 16 00 A4 04 00 10 A0 00 00 03 96 54 53 00&lt;BR /&gt;00 00 01 03 00 00 00 00 00 A8 C8&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 00&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;09&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 11 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=11)&lt;BR /&gt;03 06 00 61 D2 01 0B 90 00 50 AD&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=14)&lt;BR /&gt;A5 00 09 03 06 00 61 D2 01 0B 90 00 50 AD&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x61c88 len ----&amp;gt; 0xe&lt;BR /&gt;smCom :DEBUG:Received CRC:0x50ad Calculated CRC:0x50ad&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x0&lt;BR /&gt;smCom :DEBUG:Data[0]=0x3 len=9 Data[8]=0x90 Data[0]=0x9&lt;BR /&gt;smCom :DEBUG: phNxpEse_Transceive Exit status 0x0&lt;BR /&gt;smCom :DEBUG:APDU Rx&amp;lt; (Len=9)&lt;BR /&gt;03 06 00 61 D2 01 0B 90 00&lt;BR /&gt;smCom :DEBUG:Trying to Released Lock by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:LOCK Released by thread: -1224802288&lt;BR /&gt;sss :INFO :atr (Len=35)&lt;BR /&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08&lt;BR /&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41&lt;BR /&gt;54 50 4F&lt;BR /&gt;sss :INFO :Newer version of Applet Found&lt;BR /&gt;sss :INFO :Compiled for 0x30100. Got newer 0x30600&lt;BR /&gt;sss :WARN :Communication channel is Plain.&lt;BR /&gt;sss :WARN :!!!Not recommended for production use.!!!&lt;BR /&gt;smCom :DEBUG:Trying to Acquire Lock thread: -1224802288&lt;BR /&gt;smCom :DEBUG:LOCK Acquired by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:APDU Tx&amp;gt; (Len=11)&lt;BR /&gt;80 04 00 27 06 41 04 7F FF 02 06&lt;BR /&gt;smCom :DEBUG:Enter phNxpEseProto7816_Transceive&lt;BR /&gt;smCom :DEBUG:Transceive data ptr 0x0xbeb64c7c len:11&lt;BR /&gt;smCom :DEBUG:I-Frame Data Len: 11 Seq. no:1&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 1&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=16)&lt;BR /&gt;5A 40 0B 80 04 00 27 06 41 04 7F FF 02 06 A1 C3&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=16)&lt;BR /&gt;5A 40 0B 80 04 00 27 06 41 04 7F FF 02 06 A1 C3&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 40&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;02&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 4 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=4)&lt;BR /&gt;69 85 00 C1&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=7)&lt;BR /&gt;A5 40 02 69 85 00 C1&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x61c88 len ----&amp;gt; 0x7&lt;BR /&gt;smCom :DEBUG:Received CRC:0xc1 Calculated CRC:0xc1&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x1&lt;BR /&gt;smCom :DEBUG:Data[0]=0x69 len=2 Data[1]=0x69 Data[133]=0x2&lt;BR /&gt;smCom :DEBUG: phNxpEse_Transceive Exit status 0x0&lt;BR /&gt;smCom :DEBUG:APDU Rx&amp;lt; (Len=2)&lt;BR /&gt;69 85&lt;BR /&gt;smCom :DEBUG:Trying to Released Lock by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:LOCK Released by thread: -1224802288&lt;BR /&gt;sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:6291 Function:sss_se05x_TXn&lt;BR /&gt;App :ERROR:Failed Se05x_API_CheckObjectExists&lt;BR /&gt;App :INFO :Error in Iot_Applet_Identify&lt;BR /&gt;smCom :DEBUG:Trying to Acquire Lock thread: -1224802288&lt;BR /&gt;smCom :DEBUG:LOCK Acquired by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:APDU Tx&amp;gt; (Len=5)&lt;BR /&gt;00 A4 04 00 00&lt;BR /&gt;smCom :DEBUG:Enter phNxpEseProto7816_Transceive&lt;BR /&gt;smCom :DEBUG:Transceive data ptr 0x0xbeb65638 len:5&lt;BR /&gt;smCom :DEBUG:I-Frame Data Len: 5 Seq. no:0&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 1&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=10)&lt;BR /&gt;5A 00 05 00 A4 04 00 00 1E 3C&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=10)&lt;BR /&gt;5A 00 05 00 A4 04 00 00 1E 3C&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 00&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;14&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 22 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=22)&lt;BR /&gt;6F 10 84 08 A0 00 00 01 51 00 00 00 A5 04 9F 65&lt;BR /&gt;01 FF 90 00 95 F6&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=25)&lt;BR /&gt;A5 00 14 6F 10 84 08 A0 00 00 01 51 00 00 00 A5&lt;BR /&gt;04 9F 65 01 FF 90 00 95 F6&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x61c88 len ----&amp;gt; 0x19&lt;BR /&gt;smCom :DEBUG:Received CRC:0x95f6 Calculated CRC:0x95f6&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x0&lt;BR /&gt;smCom :DEBUG:Data[0]=0x6f len=20 Data[19]=0x90 Data[0]=0x14&lt;BR /&gt;smCom :DEBUG: phNxpEse_Transceive Exit status 0x0&lt;BR /&gt;smCom :DEBUG:APDU Rx&amp;lt; (Len=20)&lt;BR /&gt;6F 10 84 08 A0 00 00 01 51 00 00 00 A5 04 9F 65&lt;BR /&gt;01 FF 90 00&lt;BR /&gt;smCom :DEBUG:Trying to Released Lock by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:LOCK Released by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:Trying to Acquire Lock thread: -1224802288&lt;BR /&gt;smCom :DEBUG:LOCK Acquired by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:APDU Tx&amp;gt; (Len=8)&lt;BR /&gt;80 CA 00 FE 02 DF 28 00&lt;BR /&gt;smCom :DEBUG:Enter phNxpEseProto7816_Transceive&lt;BR /&gt;smCom :DEBUG:Transceive data ptr 0x0xbeb65bb4 len:8&lt;BR /&gt;smCom :DEBUG:I-Frame Data Len: 8 Seq. no:1&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 1&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=13)&lt;BR /&gt;5A 40 08 80 CA 00 FE 02 DF 28 00 50 06&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=13)&lt;BR /&gt;5A 40 08 80 CA 00 FE 02 DF 28 00 50 06&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 40&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;49&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 75 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=75)&lt;BR /&gt;FE 45 DF 28 42 01 0C 00 01 A7 7E B8 DD 1E EE 56&lt;BR /&gt;49 10 76 02 08 00 00 00 00 00 00 00 01 03 18 4A&lt;BR /&gt;33 52 33 35 31 30 32 36 34 35 37 31 31 30 30 03&lt;BR /&gt;4D 67 74 0B E1 42 19 05 01 01 07 01 00 08 08 2E&lt;BR /&gt;5A D8 84 09 C9 BA DB 90 00 57 64&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=78)&lt;BR /&gt;A5 40 49 FE 45 DF 28 42 01 0C 00 01 A7 7E B8 DD&lt;BR /&gt;1E EE 56 49 10 76 02 08 00 00 00 00 00 00 00 01&lt;BR /&gt;03 18 4A 33 52 33 35 31 30 32 36 34 35 37 31 31&lt;BR /&gt;30 30 03 4D 67 74 0B E1 42 19 05 01 01 07 01 00&lt;BR /&gt;08 08 2E 5A D8 84 09 C9 BA DB 90 00 57 64&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x61c88 len ----&amp;gt; 0x4e&lt;BR /&gt;smCom :DEBUG:Received CRC:0x5764 Calculated CRC:0x5764&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x1&lt;BR /&gt;smCom :DEBUG:Data[0]=0xfe len=73 Data[72]=0x90 Data[0]=0x49&lt;BR /&gt;smCom :DEBUG: phNxpEse_Transceive Exit status 0x0&lt;BR /&gt;smCom :DEBUG:APDU Rx&amp;lt; (Len=73)&lt;BR /&gt;FE 45 DF 28 42 01 0C 00 01 A7 7E B8 DD 1E EE 56&lt;BR /&gt;49 10 76 02 08 00 00 00 00 00 00 00 01 03 18 4A&lt;BR /&gt;33 52 33 35 31 30 32 36 34 35 37 31 31 30 30 03&lt;BR /&gt;4D 67 74 0B E1 42 19 05 01 01 07 01 00 08 08 2E&lt;BR /&gt;5A D8 84 09 C9 BA DB 90 00&lt;BR /&gt;smCom :DEBUG:Trying to Released Lock by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:LOCK Released by thread: -1224802288&lt;BR /&gt;App :WARN :#####################################################&lt;BR /&gt;App :INFO :Tag value - proprietary data 0xFE = 0xFE&lt;BR /&gt;App :INFO :Length of following data 0x45 = 0x45&lt;BR /&gt;App :INFO :Tag card identification data (Len=2)&lt;BR /&gt;DF 28&lt;BR /&gt;App :INFO :Length of card identification data = 0x42&lt;BR /&gt;App :INFO :Tag configuration ID (Must be 0x01) = 0x01&lt;BR /&gt;App :DEBUG:Length configuration ID 0x0C = 0x0C&lt;BR /&gt;App :INFO :Configuration ID (Len=12)&lt;BR /&gt;00 01 A7 7E B8 DD 1E EE 56 49 10 76&lt;BR /&gt;App :INFO :OEF ID (Len=2)&lt;BR /&gt;A7 7E&lt;BR /&gt;App :INFO :Tag patch ID (Must be 0x02) = 0x02&lt;BR /&gt;App :DEBUG:Length patch ID 0x08 = 0x08&lt;BR /&gt;App :INFO :Patch ID (Len=8)&lt;BR /&gt;00 00 00 00 00 00 00 01&lt;BR /&gt;App :INFO :Tag platform build ID1 (Must be 0x03) = 0x03&lt;BR /&gt;App :DEBUG:Length platform build ID 0x18 = 0x18&lt;BR /&gt;App :INFO :Platform build ID (Len=24)&lt;BR /&gt;4A 33 52 33 35 31 30 32 36 34 35 37 31 31 30 30&lt;BR /&gt;03 4D 67 74 0B E1 42 19&lt;BR /&gt;App :INFO :JCOP Platform ID = J3R3510264571100&lt;BR /&gt;App :INFO :Tag FIPS mode (Must be 0x05) = 0x05&lt;BR /&gt;App :DEBUG:Length FIPS mode 0x01 = 0x01&lt;BR /&gt;App :INFO :FIPS mode var = 0x01&lt;BR /&gt;App :INFO :Tag pre-perso state (Must be 0x07) = 0x07&lt;BR /&gt;App :DEBUG:Length pre-perso state 0x01 = 0x01&lt;BR /&gt;App :INFO :Bit mask of pre-perso state var = 0x00&lt;BR /&gt;App :INFO :Tag ROM ID (Must be 0x08) = 0x08&lt;BR /&gt;App :DEBUG:Length ROM ID 0x08 = 0x08&lt;BR /&gt;App :INFO :ROM ID (Len=8)&lt;BR /&gt;2E 5A D8 84 09 C9 BA DB&lt;BR /&gt;App :INFO :Status Word (SW) (Len=2)&lt;BR /&gt;90 00&lt;BR /&gt;App :INFO :se05x_GetInfoPlainApplet Example Success !!!...&lt;BR /&gt;smCom :DEBUG:Trying to Acquire Lock thread: -1224802288&lt;BR /&gt;smCom :DEBUG:LOCK Acquired by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:APDU Tx&amp;gt; (Len=5)&lt;BR /&gt;80 CA 9F 7F 00&lt;BR /&gt;smCom :DEBUG:Enter phNxpEseProto7816_Transceive&lt;BR /&gt;smCom :DEBUG:Transceive data ptr 0x0xbeb65bc8 len:5&lt;BR /&gt;smCom :DEBUG:I-Frame Data Len: 5 Seq. no:0&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 1&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=10)&lt;BR /&gt;5A 00 05 80 CA 9F 7F 00 3E 52&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=10)&lt;BR /&gt;5A 00 05 80 CA 9F 7F 00 3E 52&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0d&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;smCom :DEBUG:_i2c_read() error : 13&lt;BR /&gt;smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 00&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;2F&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 49 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=49)&lt;BR /&gt;9F 7F 2A 47 90 D3 21 47 00 00 00 00 00 12 10 00&lt;BR /&gt;00 49 95 55 95 00 00 00 00 00 00 00 00 01 39 04&lt;BR /&gt;30 30 30 34 39 00 00 00 00 00 00 00 00 90 00 91&lt;BR /&gt;9F&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=52)&lt;BR /&gt;A5 00 2F 9F 7F 2A 47 90 D3 21 47 00 00 00 00 00&lt;BR /&gt;12 10 00 00 49 95 55 95 00 00 00 00 00 00 00 00&lt;BR /&gt;01 39 04 30 30 30 34 39 00 00 00 00 00 00 00 00&lt;BR /&gt;90 00 91 9F&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x61c88 len ----&amp;gt; 0x34&lt;BR /&gt;smCom :DEBUG:Received CRC:0x919f Calculated CRC:0x919f&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x0&lt;BR /&gt;smCom :DEBUG:Data[0]=0x9f len=47 Data[46]=0x90 Data[0]=0x2f&lt;BR /&gt;smCom :DEBUG: phNxpEse_Transceive Exit status 0x0&lt;BR /&gt;smCom :DEBUG:APDU Rx&amp;lt; (Len=47)&lt;BR /&gt;9F 7F 2A 47 90 D3 21 47 00 00 00 00 00 12 10 00&lt;BR /&gt;00 49 95 55 95 00 00 00 00 00 00 00 00 01 39 04&lt;BR /&gt;30 30 30 34 39 00 00 00 00 00 00 00 00 90 00&lt;BR /&gt;smCom :DEBUG:Trying to Released Lock by thread: -1224802288&lt;BR /&gt;smCom :DEBUG:LOCK Released by thread: -1224802288&lt;BR /&gt;App :WARN :#####################################################&lt;BR /&gt;App :INFO :cplc_data.IC_fabricator (Len=2)&lt;BR /&gt;47 90&lt;BR /&gt;App :INFO :cplc_data.IC_type1 (Len=2)&lt;BR /&gt;D3 21&lt;BR /&gt;App :INFO :cplc_data.Operating_system_identifier (Len=2)&lt;BR /&gt;47 00&lt;BR /&gt;App :INFO :cplc_data.Operating_system_release_date (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;App :INFO :cplc_data.Operating_system_release_level (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;App :INFO :cplc_data.IC_fabrication_date (Len=2)&lt;BR /&gt;12 10&lt;BR /&gt;App :INFO :cplc_data.IC_Serial_number (Len=4)&lt;BR /&gt;00 00 49 95&lt;BR /&gt;App :INFO :cplc_data.IC_Batch_identifier (Len=2)&lt;BR /&gt;55 95&lt;BR /&gt;App :INFO :cplc_data.IC_module_fabricator (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;App :INFO :cplc_data.IC_module_packaging_date (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;App :INFO :cplc_data.ICC_manufacturer (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;App :INFO :cplc_data.IC_embedding_date (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;App :INFO :cplc_data.IC_OS_initializer (Len=2)&lt;BR /&gt;01 39&lt;BR /&gt;App :INFO :cplc_data.IC_OS_initialization_date (Len=2)&lt;BR /&gt;04 30&lt;BR /&gt;App :INFO :cplc_data.IC_OS_initialization_equipment (Len=4)&lt;BR /&gt;30 30 34 39&lt;BR /&gt;App :INFO :cplc_data.IC_personalizer (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;App :INFO :cplc_data.IC_personalization_date (Len=2)&lt;BR /&gt;00 00&lt;BR /&gt;App :INFO :cplc_data.IC_personalization_equipment_ID (Len=4)&lt;BR /&gt;00 00 00 00&lt;BR /&gt;App :INFO :cplc_data.SW (Len=2)&lt;BR /&gt;90 00&lt;BR /&gt;App :INFO :ex_sss Finished&lt;BR /&gt;hostLib:DEBUG:CloseSession command is sent only if valid Session exists!!!&lt;BR /&gt;smCom :DEBUG:TransceiveProcess nextTransceiveState 6&lt;BR /&gt;smCom :DEBUG:S-Frame PCB: c5&lt;BR /&gt;smCom :DEBUG:phNxpEse_WriteFrame Enter ..&lt;BR /&gt;smCom :DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;BR /&gt;5A C5 00 47 82&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:RAW Tx&amp;gt; (Len=5)&lt;BR /&gt;5A C5 00 47 82&lt;BR /&gt;smCom :DEBUG:phNxpEse_read Enter ..&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;A5 E5&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket Read HDR&lt;BR /&gt;smCom :DEBUG:phNxpEse_readPacket SOF FOUND&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=1)&lt;BR /&gt;00&lt;BR /&gt;smCom :DEBUG:poll_sof_chained_delay value is 0&lt;BR /&gt;smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes&lt;BR /&gt;smCom :DEBUG:Done with rv = 0c&lt;BR /&gt;smCom :DEBUG:TX (axI2CRead): (Len=2)&lt;BR /&gt;87 67&lt;BR /&gt;smCom :DEBUG:RAW Rx&amp;lt; (Len=5)&lt;BR /&gt;A5 E5 00 87 67&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x61c88 len ----&amp;gt; 0x5&lt;BR /&gt;smCom :DEBUG:Received CRC:0x8767 Calculated CRC:0x8767&lt;BR /&gt;smCom :DEBUG:Retry Counter = 0&lt;BR /&gt;smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received&lt;BR /&gt;smCom :DEBUG:Close i2c device 3.&lt;/P&gt;&lt;P&gt;smCom :DEBUG:phNxpEse_close - ESE Context deinit completed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 13:52:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1386482#M643</guid>
      <dc:creator>ElielderBMelo</dc:creator>
      <dc:date>2021-12-14T13:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1386982#M644</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193869"&gt;@ElielderBMelo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the information! Looks like you are using platform SCP03 authentication instead of AESKey, so I changed my configuration as yours.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_0-1639548914992.png" style="width: 654px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165241iC369A66C8AFFEEE1/image-dimensions/654x461?v=v2" width="654" height="461" role="button" title="Kan_Li_0-1639548914992.png" alt="Kan_Li_0-1639548914992.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and use external file containing the platform SCP03 keys.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_1-1639549054130.png" style="width: 587px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165243i13A5D103649C358C/image-dimensions/587x229?v=v2" width="587" height="229" role="button" title="Kan_Li_1-1639549054130.png" alt="Kan_Li_1-1639549054130.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The authentication passed successfully with the following keys.&lt;/P&gt;
&lt;PRE&gt;ENC 35C256458958A34F6136155F8209D6CD # Trailing comment
MAC AF177D5DBDF7C0D5C10A05B9F1607F78 # Optional trailing comment
DEK A1BC8438BF77935B361A4425FE79FA29 # Optional trailing comment&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but if I use a different MAC key , for example,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MAC AF177D5DBDF7C0D5C10A05B9F1607F72&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The authentication failed as similar as you met.&lt;/P&gt;
&lt;P&gt;App :INFO :PlugAndTrust_v04.00.00_20211026&lt;BR /&gt;App :INFO :Running C:\se050_middleware\simw-top_build\se_x86\bin\Debug\se05x_Minimal.exe&lt;BR /&gt;App :INFO :Using PortName='\\.\COM7' (gszCOMPortDefault)&lt;BR /&gt;App :INFO :If you want to over-ride the selection, use ENV=EX_SSS_BOOT_SSS_PORT or pass in command line arguments.&lt;BR /&gt;App :DEBUG:Using File: C:\nxp\SE05X\plain_scp.txt&lt;BR /&gt;App :WARN :Using SCP03 keys from:'C:\nxp\SE05X\plain_scp.txt' (FILE=C:\nxp\SE05X\plain_scp.txt)&lt;BR /&gt;Opening COM Port '\\.\COM7'&lt;BR /&gt;smCom :DEBUG:Get ATR (Len=4)&lt;BR /&gt;00 00 00 00&lt;BR /&gt;smCom :DEBUG:pAtr (Len=39)&lt;BR /&gt;00 00 00 23 00 A0 00 00 03 96 04 03 E8 00 FE 02&lt;BR /&gt;0B 03 E8 08 01 00 00 00 00 64 00 00 0A 4A 43 4F&lt;BR /&gt;50 34 20 41 54 50 4F&lt;BR /&gt;smCom :DEBUG:no lock mode&lt;BR /&gt;smCom :DEBUG:H&amp;gt; (Len=4)&lt;BR /&gt;01 00 00 16&lt;BR /&gt;smCom :DEBUG:Tx&amp;gt; (Len=22)&lt;BR /&gt;00 A4 04 00 10 A0 00 00 03 96 54 53 00 00 00 01&lt;BR /&gt;03 00 00 00 00 00&lt;BR /&gt;smCom :DEBUG:&amp;lt;H (Len=4)&lt;BR /&gt;01 00 00 09&lt;BR /&gt;smCom :DEBUG:&amp;lt;Rx (Len=9)&lt;BR /&gt;03 01 00 6F FF 01 0B 90 00&lt;BR /&gt;smCom :DEBUG:no lock mode&lt;BR /&gt;sss :INFO :atr (Len=35)&lt;BR /&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08&lt;BR /&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41&lt;BR /&gt;54 50 4F&lt;BR /&gt;scp :DEBUG:FN: nxScp03_AuthenticateChannel&lt;BR /&gt;scp :DEBUG: Output: hostChallenge (Len=8)&lt;BR /&gt;A7 49 D3 93 CF BC AF 06&lt;BR /&gt;scp :DEBUG:FN: nxScp03_GP_InitializeUpdate&lt;BR /&gt;scp :DEBUG:Input:keyVersion 0b&lt;BR /&gt;scp :DEBUG: Input: hostChallenge (Len=8)&lt;BR /&gt;A7 49 D3 93 CF BC AF 06&lt;BR /&gt;scp :DEBUG:Sending GP Initialize Update Command !!!&lt;BR /&gt;smCom :DEBUG:no lock mode&lt;BR /&gt;smCom :DEBUG:H&amp;gt; (Len=4)&lt;BR /&gt;01 00 00 0D&lt;BR /&gt;smCom :DEBUG:Tx&amp;gt; (Len=13)&lt;BR /&gt;80 50 0B 00 08 A7 49 D3 93 CF BC AF 06&lt;BR /&gt;smCom :DEBUG:&amp;lt;H (Len=4)&lt;BR /&gt;01 00 00 1F&lt;BR /&gt;smCom :DEBUG:&amp;lt;Rx (Len=31)&lt;BR /&gt;90 03 92 84 05 21 70 99 37 34 0B 03 00 14 60 E2&lt;BR /&gt;8D 0F 2B 79 61 A0 64 98 04 F1 45 B9 DB 90 00&lt;BR /&gt;smCom :DEBUG:no lock mode&lt;BR /&gt;scp :DEBUG: Output: keyDivData (Len=10)&lt;BR /&gt;90 03 92 84 05 21 70 99 37 34&lt;BR /&gt;scp :DEBUG: Output: keyInfo (Len=3)&lt;BR /&gt;0B 03 00&lt;BR /&gt;scp :DEBUG: Output: cardChallenge (Len=8)&lt;BR /&gt;14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG: Output: cardCryptoGram (Len=8)&lt;BR /&gt;A0 64 98 04 F1 45 B9 DB&lt;BR /&gt;scp :DEBUG:FN: nxScp03_HostLocal_CalculateSessionKeys&lt;BR /&gt;scp :DEBUG: Input:hostChallenge (Len=8)&lt;BR /&gt;A7 49 D3 93 CF BC AF 06&lt;BR /&gt;scp :DEBUG: Input:cardChallenge (Len=8)&lt;BR /&gt;14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG:Set the Derviation data to generate Session ENC key&lt;BR /&gt;scp :DEBUG:FN: nxScp03_setDerivationData&lt;BR /&gt;scp :DEBUG:Input:ddConstant 04&lt;BR /&gt;scp :DEBUG:Input:ddL 80&lt;BR /&gt;scp :DEBUG:Input:iCounter 01&lt;BR /&gt;scp :DEBUG: Input: keyInfo (Len=16)&lt;BR /&gt;A7 49 D3 93 CF BC AF 06 14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG:Output: KeyDivData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 04 00 00 80 01&lt;BR /&gt;A7 49 D3 93 CF BC AF 06 14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG:FN: nxScp03_Generate_SessionKey&lt;BR /&gt;scp :DEBUG: Input: inData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 04 00 00 80 01&lt;BR /&gt;A7 49 D3 93 CF BC AF 06 14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG: Output:outSignature (Len=16)&lt;BR /&gt;90 67 9A C3 53 D3 A8 75 47 0C 21 93 56 1D F8 F6&lt;BR /&gt;scp :DEBUG: Output:sessionEncKey (Len=16)&lt;BR /&gt;90 67 9A C3 53 D3 A8 75 47 0C 21 93 56 1D F8 F6&lt;BR /&gt;scp :DEBUG:Set the Derviation data to generate Session MAC key&lt;BR /&gt;scp :DEBUG:FN: nxScp03_setDerivationData&lt;BR /&gt;scp :DEBUG:Input:ddConstant 06&lt;BR /&gt;scp :DEBUG:Input:ddL 80&lt;BR /&gt;scp :DEBUG:Input:iCounter 01&lt;BR /&gt;scp :DEBUG: Input: keyInfo (Len=16)&lt;BR /&gt;A7 49 D3 93 CF BC AF 06 14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG:Output: KeyDivData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 06 00 00 80 01&lt;BR /&gt;A7 49 D3 93 CF BC AF 06 14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG:FN: nxScp03_Generate_SessionKey&lt;BR /&gt;scp :DEBUG: Input: inData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 06 00 00 80 01&lt;BR /&gt;A7 49 D3 93 CF BC AF 06 14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG: Output:outSignature (Len=16)&lt;BR /&gt;47 04 12 93 3C 60 66 24 3E 7A BD C5 40 C8 18 BD&lt;BR /&gt;scp :DEBUG: Output:sessionMacKey (Len=16)&lt;BR /&gt;47 04 12 93 3C 60 66 24 3E 7A BD C5 40 C8 18 BD&lt;BR /&gt;scp :DEBUG:Set the Derviation data to generate Session RMAC key&lt;BR /&gt;scp :DEBUG:FN: nxScp03_setDerivationData&lt;BR /&gt;scp :DEBUG:Input:ddConstant 07&lt;BR /&gt;scp :DEBUG:Input:ddL 80&lt;BR /&gt;scp :DEBUG:Input:iCounter 01&lt;BR /&gt;scp :DEBUG: Input: keyInfo (Len=16)&lt;BR /&gt;A7 49 D3 93 CF BC AF 06 14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG:Output: KeyDivData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 07 00 00 80 01&lt;BR /&gt;A7 49 D3 93 CF BC AF 06 14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG:FN: nxScp03_Generate_SessionKey&lt;BR /&gt;scp :DEBUG: Input: inData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 07 00 00 80 01&lt;BR /&gt;A7 49 D3 93 CF BC AF 06 14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG: Output:outSignature (Len=16)&lt;BR /&gt;BA 99 0C 07 4E 1B 98 FD 5A 16 4B FC EB 1A F2 04&lt;BR /&gt;scp :DEBUG: Output:sessionRmacKey (Len=16)&lt;BR /&gt;BA 99 0C 07 4E 1B 98 FD 5A 16 4B FC EB 1A F2 04&lt;BR /&gt;scp :DEBUG:FN: nxScp03_HostLocal_VerifyCardCryptogram&lt;BR /&gt;scp :DEBUG: Input:hostChallenge (Len=8)&lt;BR /&gt;A7 49 D3 93 CF BC AF 06&lt;BR /&gt;scp :DEBUG: Input:cardChallenge (Len=8)&lt;BR /&gt;14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG:FN: nxScp03_setDerivationData&lt;BR /&gt;scp :DEBUG:Input:ddConstant 00&lt;BR /&gt;scp :DEBUG:Input:ddL 40&lt;BR /&gt;scp :DEBUG:Input:iCounter 01&lt;BR /&gt;scp :DEBUG: Input: keyInfo (Len=16)&lt;BR /&gt;A7 49 D3 93 CF BC AF 06 14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG:Output: KeyDivData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 01&lt;BR /&gt;A7 49 D3 93 CF BC AF 06 14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG:FN: nxScp03_Generate_SessionKey&lt;BR /&gt;scp :DEBUG: Input: inData (Len=32)&lt;BR /&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 01&lt;BR /&gt;A7 49 D3 93 CF BC AF 06 14 60 E2 8D 0F 2B 79 61&lt;BR /&gt;scp :DEBUG: Output:outSignature (Len=16)&lt;BR /&gt;E3 13 D6 B5 7C D6 EA 47 DB C2 58 69 BC F7 1F F7&lt;BR /&gt;scp :DEBUG: Output:cardCryptogram (Len=16)&lt;BR /&gt;E3 13 D6 B5 7C D6 EA 47 DB C2 58 69 BC F7 1F F7&lt;BR /&gt;scp :WARN :nxEnsure:'status == kStatus_SSS_Success' failed. At Line:144 Function:nxScp03_AuthenticateChannel&lt;BR /&gt;sss :ERROR:Could not set SCP03 Secure Channel&lt;BR /&gt;App :ERROR:sss_session_open failed&lt;BR /&gt;App :ERROR:ex_sss_session_open Failed&lt;BR /&gt;App :ERROR:!ERROR! ret != 0.&lt;/P&gt;
&lt;P&gt;C:\se050_middleware\simw-top_build\se_x86\bin\Debug\se05x_Minimal.exe (process 5656) exited with code 1.&lt;BR /&gt;To automatically close the console when debugging stops, enable Tools-&amp;gt;Options-&amp;gt;Debugging-&amp;gt;Automatically close the console when debugging stops.&lt;BR /&gt;Press any key to close this window . . .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please kindly check the keys setting from your side, both the embedded Linux host and the SE050 dev kits. You may run the demo of "Delete and Test Provision" as I mentioned before to inject the default&amp;nbsp;the authentication objects into the dev kits.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 06:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1386982#M644</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-12-15T06:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1387497#M645</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This keys you have provided me are the ones the I am using during the whole process. I ran this &lt;SPAN&gt;the demo of "Delete and Test Provision" and it didn't work, it stopped in the same place.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Attached to this message are a document that I relate all my environment and test I did with "Get Info", also is attached the "cmake_option.txt" file for more information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 17:17:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1387497#M645</guid>
      <dc:creator>ElielderBMelo</dc:creator>
      <dc:date>2021-12-15T17:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1387720#M646</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193869"&gt;@ElielderBMelo&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the information! I checked the cmake option from your side, almost the same, except the host.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am wondering with which configuration you run the demo of &lt;SPAN&gt;"Delete and Test Provision"?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-DSCP=SCP03_SSS&lt;BR /&gt;-DSE05X_Auth=PlatfSCP03&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-DSCP=None&lt;BR /&gt;-DSE05X_Auth=None&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As you mentioned before, the GetInfo demo can run well without SCP03 Authentication, so I think it should be the same the demo of "Delete and Test Provision", right? Please kindly clarify.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 02:37:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1387720#M646</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-12-16T02:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1388084#M647</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for checking my cmake options.&lt;/P&gt;&lt;P&gt;For "Delete and Test Provision" I'm using:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-DSCP=SCP03_SSS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-DSE05X_Auth=PlatfSCP03&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have shown in the document I have sent you the behavior with SCP03 authentication and without SCP03 auth. For you to help me to see if there is anything strange in the behaviour without SCP03 authentication.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one more question&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;, I noticed that your MW version is different than mine. I'm wondering if I can get an older and a newer version to compile and test here.&lt;/P&gt;&lt;P&gt;My devkit HW are working well and I have 2 of them with my team and those 2 are operating in the same way.&lt;/P&gt;&lt;P&gt;I got this info and I ask you to clarify for me:&lt;/P&gt;&lt;P&gt;sss&amp;nbsp;&amp;nbsp; :INFO :atr (Len=35)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00 A0 00 00&amp;nbsp;&amp;nbsp;&amp;nbsp; 03 96 04 03&amp;nbsp;&amp;nbsp;&amp;nbsp; E8 00 FE 02&amp;nbsp;&amp;nbsp;&amp;nbsp; 0B 03 E8 08&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01 00 00 00&amp;nbsp;&amp;nbsp;&amp;nbsp; 00 64 00 00&amp;nbsp;&amp;nbsp;&amp;nbsp; 0A 4A 43 4F&amp;nbsp;&amp;nbsp;&amp;nbsp; 50 34 20 41&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 54 50 4F&lt;/P&gt;&lt;P&gt;sss&amp;nbsp;&amp;nbsp; :INFO :Newer version of Applet Found&lt;/P&gt;&lt;P&gt;sss&amp;nbsp;&amp;nbsp; :INFO :Compiled for 0x30100. Got newer 0x30600&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 10:50:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1388084#M647</guid>
      <dc:creator>ElielderBMelo</dc:creator>
      <dc:date>2021-12-16T10:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1388205#M648</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193869"&gt;@ElielderBMelo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the information! I have just checked with the expert, from the ATR info, looks like SE050F2 is on your board, and it uses different SCP03 keys as the default ones on the dev kits.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_0-1639664302567.png" style="width: 679px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165442iC01465C54828C788/image-dimensions/679x229?v=v2" width="679" height="229" role="button" title="Kan_Li_0-1639664302567.png" alt="Kan_Li_0-1639664302567.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please use the above keys instead and check if they make any difference. Please refer to&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12436.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12436.pdf&lt;/A&gt;&amp;nbsp;for more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may also switch on FIPS option to make the MW built for &lt;SPAN&gt;the SE050F IoT Applet which is version 3.6.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_1-1639665477589.png" style="width: 652px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165444i1CB52C2719A661AB/image-dimensions/652x199?v=v2" width="652" height="199" role="button" title="Kan_Li_1-1639665477589.png" alt="Kan_Li_1-1639665477589.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;of course it is not the root cause,&amp;nbsp;&lt;SPAN&gt;but makes sense. It just slightly modifies the behavior of some examples.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 14:39:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1388205#M648</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-12-16T14:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1388292#M649</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply, it was successful. It worked and I ran the Get Info, Minimal and Delete and Test Provision applications with no more issues.&lt;/P&gt;&lt;P&gt;Now, I will continue the work to bind the library to the OpenSSL Engine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you a lot.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 18:18:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1388292#M649</guid>
      <dc:creator>ElielderBMelo</dc:creator>
      <dc:date>2021-12-16T18:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1388451#M650</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193869"&gt;@ElielderBMelo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great to know! Thanks for the update!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 02:19:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1388451#M650</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-12-17T02:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - cardCryptogram don't match</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1389567#M652</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having issues with OpenSSL, but first I ask you, please, to check my log files to see if it is correct to the expected from "Get Info" and "Delete and Test Provision" applications.&lt;/P&gt;&lt;P&gt;If they are correct, I will open one more question on the forum for you to provide me help in this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 14:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-cardCryptogram-don-t-match/m-p/1389567#M652</guid>
      <dc:creator>ElielderBMelo</dc:creator>
      <dc:date>2021-12-20T14:03:42Z</dc:date>
    </item>
  </channel>
</rss>

