<?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のトピックSE050: key rotation demo: nxScp03_GP_InitializeUpdate returns 0x6a88</title>
    <link>https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-demo-nxScp03-GP-InitializeUpdate-returns/m-p/1191062#M409</link>
    <description>&lt;P&gt;Hi Kan Li, all,&lt;BR /&gt;I fear the discussion at &lt;A href="https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-DoAPDUTxRx-s-Case4-returns-0x6a80/m-p/1049889/highlight/true" target="_self"&gt;SE050-key-rotation-DoAPDUTxRx-s-Case4-returns-0x6a80&lt;/A&gt;&amp;nbsp;is considered closed. I have still the problem and some more background information would help to solve it.&lt;BR /&gt;I have trouble with the key rotation demo se05x_TP_PlatformSCP03keys.c.&lt;/P&gt;&lt;P&gt;Let me give you an update to what I did:&lt;BR /&gt;Compilation on Linux using build options SE05X_Auth := PlatfSCP03, SCP := SCP03_SSS. Demos se05x_Get_Info and se05x_minimal work well in SCP03 mode. The GP Initialize Update Command succeeds there.&lt;BR /&gt;Within se05x_TP_PlatformSCP03keys I left "#define EX_SSS_BOOT_SKIP_SELECT_APPLET 1" in, I just added debug output to verify I used the same old preprovisioned keys that work on other demos successfully.&lt;/P&gt;&lt;P&gt;Here debug information:&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;se05x_RotatePlatformSCP03Keys &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :PlugAndTrust_v02.12.00_20191122&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :Running ../simw-top_build/raspbian_native_se050_t1oi2c/bin/se05x_RotatePlatformSCP03Keys&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&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;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :atr (Len=35)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;54 50 4F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_AuthenticateChannel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;75 73 B3 26 35 5B 9B 2A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_GP_InitializeUpdate&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:keyVersion 0b&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;75 73 B3 26 35 5B 9B 2A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Sending GP Initialize Update Command !!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:WARN :nxEnsure:'ret == SM_OK' failed. At Line:4843 Function:sss_se05x_TXn&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Output:apduStatus 6a88&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Header: (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;80 50 0B 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Cmdbuf: (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;75 73 B3 26 35 5B 9B 2A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Receivebuf: (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;6A 88 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:ERROR:GP_InitializeUpdate Failure on communication Link 6A88&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:ERROR:nxScp03_GP_InitializeUpdate fails with Status 3C3C0000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:ERROR:Could not set SCP03 Secure Channel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :OLD_ENC (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;85 2B 59 62 E9 CC E5 D0 BE 74 6B 83 3B CC 62 87 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :OLD_MAC (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;DB 0A A3 19 A4 08 69 6C 8E 10 7A B4 E3 C2 6B 47 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :OLD_DEK (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;4C 2F 75 C6 A2 78 A4 AE E5 C9 AF 7C 50 EE A8 0C&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Further down I add two more detailed logs of both&amp;nbsp;se05x_RotatePlatformSCP03Keys and se05x_minimal.&lt;/P&gt;&lt;P&gt;Apparently nxScp03_GP_InitializeUpdate is called when the demo starts. But in difference to the earlier mentioned other demos, I get error message 6A 88, which means according to GP spec: "Referenced data not found".&amp;nbsp;&lt;BR /&gt;The function "tp_PlatformKeys" of the Rotate Demo is not even called, the error comes before that (ex_sss_entry is after the error).&lt;/P&gt;&lt;P&gt;I understand from other discussion that the boot sequence has to be different when rotating keys, can you confirm that? What is the intended "to be"-effect of EX_SSS_BOOT_SKIP_SELECT_APPLET=1? It would help to know which APDU commands SHOULD be applied for rotating keys.&lt;BR /&gt;- Different options than: SE05X_Auth := PlatfSCP03 / SCP := SCP03_SSS ?&lt;BR /&gt;- Does the SE050´s Global Platform part require specific keys, different from the provisioned ones for SE050C1 (that work on other demos)?&lt;/P&gt;&lt;P&gt;Kind regards and many many thanks for any suggestion or help,&lt;BR /&gt;Markus&lt;/P&gt;&lt;P&gt;_____________________&lt;/P&gt;&lt;P&gt;Here a more deep log file with all traffic going via I2C interface:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;pi@raspberrypi:~/SE050-PLUG-TRUST_MW_v02.12.00/simw-top_build/raspbian_native_se050_t1oi2c/bin $ ./&lt;STRONG&gt;se05x_RotatePlatformSCP03Keys&lt;/STRONG&gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :PlugAndTrust_v02.12.00_20191122&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :Running ./se05x_RotatePlatformSCP03Keys&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&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;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:I2CInit: opening /dev/i2c-4&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:I2C driver: PEC flag cleared&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:I2C driver supports plain i2c-level commands.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=260)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;BC 23 FD 76 08 00 00 00 00 00 00 00 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 53 8C 28 21 18 4B FD 76 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;58 8D DC 7E 60 8D DC 7E CC 8D DC 7E 1C 20 01 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;B4 8D DC 7E 20 DB FA 76 60 8D DC 7E BC 4A FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;05 00 00 00 08 24 FD 76 01 00 00 00 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 60 49 FD 76 05 00 00 00 08 24 FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 00 00 00 00 00 00 00 60 49 FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;18 4B FD 76 60 49 FD 76 FF FF FF FF 60 23 FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;E4 3C BE 76 40 1D FD 76 18 4B FD 76 60 49 FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;FF FF FF FF 00 00 00 00 C4 2F BE 76 40 1D FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 18 18 FB 76 40 1D FD 76 00 8E DC 7E &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;20 DC BD 76 00 00 00 00 FC 60 06 00 01 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;C0 F4 FC 76 00 00 00 00 00 00 00 00 00 40 FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;14 8E DC 7E 0C 31 FB 76 08 24 FD 76 01 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 00 00 00 24 8E DC 7E E4 3C BE 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 60 06 00 00 00 00 00 50 33 01 00 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A CF 00 37 7F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 EF &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;23 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=37)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;54 50 4F 87 77 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=10)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 00 05 00 A4 04 00 00 1E 3C &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;14 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=22)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;6F 10 84 08 A0 00 00 01 51 00 00 00 A5 04 9F 65 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 FF 90 00 95 F6 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :atr (Len=35)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;54 50 4F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :SCP03 SSS section&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_AuthenticateChannel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;10 22 1B 84 31 0A 14 07 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_GP_InitializeUpdate&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:keyVersion 0b&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;10 22 1B 84 31 0A 14 07 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Sending GP Initialize Update Command !!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=18)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 40 0D 80 50 0B 00 08 10 22 1B 84 31 0A 14 07 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;70 FE &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;Looping about 10seconds (until timeout?), then:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 40 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;02 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;6A 88 8D 30 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:WARN :nxEnsure:'ret == SM_OK' failed. At Line:4848 Function:sss_se05x_TXn&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Output:apduStatus 6a88&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Header: (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;80 50 0B 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Cmdbuf: (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;09 A1 CE EE D4 84 44 BC &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Receivebuf: (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;6A 88 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:ERROR:GP_InitializeUpdate Failure on communication Link 6A88&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:ERROR:nxScp03_GP_InitializeUpdate fails with Status 3C3C0000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:ERROR:Could not set SCP03 Secure Channel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :OLD_ENC (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;85 2B 59 62 E9 CC E5 D0 BE 74 6B 83 3B CC 62 87 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :OLD_MAC (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;DB 0A A3 19 A4 08 69 6C 8E 10 7A B4 E3 C2 6B 47 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :OLD_DEK (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;4C 2F 75 C6 A2 78 A4 AE E5 C9 AF 7C 50 EE A8 0C &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_init&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:Input:algorithm 0a&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:Input:mode 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_cipher_one_go&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: IV (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: srcData (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_cipher_one_go&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: IV (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: srcData (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_free&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_init&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:Input:algorithm 0a&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:Input:mode 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_cipher_one_go&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: IV (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: srcData (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_cipher_one_go&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: IV (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: srcData (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_free&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_init&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:Input:algorithm 0a&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:Input:mode 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_cipher_one_go&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: IV (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: srcData (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_cipher_one_go&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: IV (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: srcData (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_free&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=80)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 00 4B 80 D8 0B 81 46 0B 88 11 10 4D BD 61 CD &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;46 F4 79 A8 C2 0E CE 1D 10 72 16 8C 03 75 0D 4D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;88 11 10 D6 6A EF 4E A7 52 30 7B 42 F3 25 65 39 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 3A 5F 03 89 1F B6 88 11 10 34 88 2F 97 33 4F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;73 EE 15 55 FA 76 E2 52 70 96 03 EE 6D D4 E1 6B &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;02 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;69 82 08 A3 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:WARN :nxEnsure:'ret == SM_OK' failed. At Line:4848 Function:sss_se05x_TXn&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Output:apduStatus 6982&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Header: (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;80 D8 0B 81 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Cmdbuf: (Len=70)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;0B 88 11 10 4D BD 61 CD 46 F4 79 A8 C2 0E CE 1D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;10 72 16 8C 03 75 0D 4D 88 11 10 D6 6A EF 4E A7 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;52 30 7B 42 F3 25 65 39 7E 3A 5F 03 89 1F B6 88 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;11 10 34 88 2F 97 33 4F 73 EE 15 55 FA 76 E2 52 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;70 96 03 EE 6D D4 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Receivebuf: (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;69 82 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :ex_sss Finished&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A C5 00 47 82 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 E5 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;87 67&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;_____________&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;To compare with:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;pi@raspberrypi:~/SE050-PLUG-TRUST_MW_v02.12.00/simw-top_build/raspbian_native_se050_t1oi2c/bin/&lt;STRONG&gt;se05x_minimal &lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :PlugAndTrust_v02.12.00_20191122&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :Running ./se05x_minimal&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&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;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:I2CInit: opening /dev/i2c-4&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:I2C driver: PEC flag cleared&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:I2C driver supports plain i2c-level commands.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=260)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;BC 33 F8 76 08 00 00 00 00 00 00 00 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 53 8C 28 21 18 5B F8 76 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;28 0D D3 7E 30 0D D3 7E 9C 0D D3 7E 1C 20 01 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;84 0D D3 7E 20 EB F5 76 30 0D D3 7E BC 5A F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;05 00 00 00 08 34 F8 76 01 00 00 00 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 60 59 F8 76 05 00 00 00 08 34 F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 00 00 00 00 00 00 00 60 59 F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;18 5B F8 76 60 59 F8 76 FF FF FF FF 60 33 F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;E4 4C B9 76 40 2D F8 76 18 5B F8 76 60 59 F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;FF FF FF FF 00 00 00 00 C4 3F B9 76 40 2D F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 18 28 F6 76 40 2D F8 76 D0 0D D3 7E &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;20 EC B8 76 00 00 00 00 FC 50 06 00 01 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;C0 04 F8 76 00 00 00 00 00 00 00 00 00 50 F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;E4 0D D3 7E 0C 41 F6 76 08 34 F8 76 01 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 00 00 00 F4 0D D3 7E E4 4C B9 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 50 06 00 00 00 00 00 50 33 01 00 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A CF 00 37 7F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 EF &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;23 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=37)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;54 50 4F 87 77 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=10)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 00 05 00 A4 04 00 00 1E 3C &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;14 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=22)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;6F 10 84 08 A0 00 00 01 51 00 00 00 A5 04 9F 65 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 FF 90 00 95 F6 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=26)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 40 15 00 A4 04 00 0F A0 00 00 03 96 54 53 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 01 03 00 00 00 00 B8 78 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;Waiting short time ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 40 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;09 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=11)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;03 01 00 6F FF 01 0B 90 00 1C D9 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :atr (Len=35)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;54 50 4F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :SCP03 SSS section&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_AuthenticateChannel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_GP_InitializeUpdate&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:keyVersion 0b&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Sending GP Initialize Update Command !!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=18)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 00 0D 80 50 0B 00 08 7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;8B D4 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;Waiting short time ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=33)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;90 03 91 93 10 56 67 99 31 75 0B 03 00 40 82 13 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 67 A8 6D 12 0B 21 2F 9F 73 74 BC 39 90 00 26 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;67 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Output:apduStatus 9000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Header: (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;80 50 0B 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Cmdbuf: (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Receivebuf: (Len=31)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;90 03 91 93 10 56 67 99 31 75 0B 03 00 40 82 13 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 67 A8 6D 12 0B 21 2F 9F 73 74 BC 39 90 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: keyDivData (Len=10)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;90 03 91 93 10 56 67 99 31 75 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: keyInfo (Len=3)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;0B 03 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: cardChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: cardCryptoGram (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;0B 21 2F 9F 73 74 BC 39 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_HostLocal_CalculateSessionKeys&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input:hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input:cardChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Set the Derviation data to generate Session ENC key&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_setDerivationData&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddConstant 04&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddL 80&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:iCounter 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: keyInfo (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Output: KeyDivData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 04 00 00 80 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_Generate_SessionKey&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: inData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 04 00 00 80 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:outSignature (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;D7 59 11 55 4F 69 51 25 F5 96 7B FE F6 11 79 15 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:sessionEncKey (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;D7 59 11 55 4F 69 51 25 F5 96 7B FE F6 11 79 15 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Set the Derviation data to generate Session MAC key&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_setDerivationData&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddConstant 06&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddL 80&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:iCounter 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: keyInfo (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Output: KeyDivData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 06 00 00 80 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_Generate_SessionKey&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: inData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 06 00 00 80 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:outSignature (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;D8 A8 16 B3 C0 BF E0 E2 26 61 9B E0 7A 31 57 EB &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:sessionMacKey (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;D8 A8 16 B3 C0 BF E0 E2 26 61 9B E0 7A 31 57 EB &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Set the Derviation data to generate Session RMAC key&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_setDerivationData&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddConstant 07&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddL 80&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:iCounter 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: keyInfo (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Output: KeyDivData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 07 00 00 80 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_Generate_SessionKey&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: inData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 07 00 00 80 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:outSignature (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A3 FD F7 3C E2 0F B7 98 89 4D D4 B0 5F 43 B5 4C &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:sessionRmacKey (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A3 FD F7 3C E2 0F B7 98 89 4D D4 B0 5F 43 B5 4C &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_HostLocal_VerifyCardCryptogram&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input:hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input:cardChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_setDerivationData&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddConstant 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddL 40&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:iCounter 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: keyInfo (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Output: KeyDivData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_Generate_SessionKey&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: inData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:outSignature (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;0B 21 2F 9F 73 74 BC 39 EF A1 C9 CE 55 A8 45 32 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:cardCryptogram (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;0B 21 2F 9F 73 74 BC 39 EF A1 C9 CE 55 A8 45 32 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:cardCryptoGram (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;0B 21 2F 9F 73 74 BC 39 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:CardCryptogram verified successfully...Calculate HostCryptogram&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_HostLocal_CalculateHostCryptogram&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input:hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input:cardChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_setDerivationData&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddConstant 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddL 40&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:iCounter 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: keyInfo (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Output: KeyDivData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 01 00 00 40 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_Generate_SessionKey&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: inData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 01 00 00 40 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:outSignature (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;12 B3 EE F2 09 E8 02 6A F7 56 B5 50 48 FE 93 AB &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:hostCryptogram (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;12 B3 EE F2 09 E8 02 6A F7 56 B5 50 48 FE 93 AB &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:hostCryptogram (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;12 B3 EE F2 09 E8 02 6A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_GP_ExternalAuthenticate&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: hostCryptogram (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;12 B3 EE F2 09 E8 02 6A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Calculate the MAC on data&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: Calculated MAC (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;F8 73 58 5D CB 80 83 7B &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Add calculated MAC Value to cmd Data&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Sending GP External Authenticate Command !!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=26)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 40 15 84 82 33 00 10 12 B3 EE F2 09 E8 02 6A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;F8 73 58 5D CB 80 83 7B F6 1A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 40 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;02 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;90 00 B5 B9 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Output:apduStatus 9000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Header: (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;84 82 33 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Cmdbuf: (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;12 B3 EE F2 09 E8 02 6A F8 73 58 5D CB 80 83 7B &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Receivebuf: (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;90 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Authentication Successful!!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :SCP03 SSS 1st part ok&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;APDU:DEBUG:GetFreeMemory []&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;APDU:DEBUG:kSE05x_TAG_1 [memoryType] = 0x3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_free&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=34)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 00 1D 84 04 00 22 18 58 86 85 A6 55 F2 26 D0 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;88 2B 57 DF 20 C4 EC 33 9E FF CD 2A 71 0D 25 5A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1F 0A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=28)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;38 C1 28 A9 AB A2 FB 5B B2 CD 70 71 63 06 5F 85 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;6A D3 DA 55 4B 7D D0 55 90 00 C7 03 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Output:apduStatus 9000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Header: (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;80 04 00 22 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Cmdbuf: (Len=3)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;58 86 85 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Receivebuf: (Len=6)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;41 02 01 20 90 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :mem=288&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :ex_sss Finished&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A C5 00 47 82 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 E5 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;87 67&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Nov 2020 18:15:58 GMT</pubDate>
    <dc:creator>mfr64</dc:creator>
    <dc:date>2020-11-30T18:15:58Z</dc:date>
    <item>
      <title>SE050: key rotation demo: nxScp03_GP_InitializeUpdate returns 0x6a88</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-demo-nxScp03-GP-InitializeUpdate-returns/m-p/1191062#M409</link>
      <description>&lt;P&gt;Hi Kan Li, all,&lt;BR /&gt;I fear the discussion at &lt;A href="https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-DoAPDUTxRx-s-Case4-returns-0x6a80/m-p/1049889/highlight/true" target="_self"&gt;SE050-key-rotation-DoAPDUTxRx-s-Case4-returns-0x6a80&lt;/A&gt;&amp;nbsp;is considered closed. I have still the problem and some more background information would help to solve it.&lt;BR /&gt;I have trouble with the key rotation demo se05x_TP_PlatformSCP03keys.c.&lt;/P&gt;&lt;P&gt;Let me give you an update to what I did:&lt;BR /&gt;Compilation on Linux using build options SE05X_Auth := PlatfSCP03, SCP := SCP03_SSS. Demos se05x_Get_Info and se05x_minimal work well in SCP03 mode. The GP Initialize Update Command succeeds there.&lt;BR /&gt;Within se05x_TP_PlatformSCP03keys I left "#define EX_SSS_BOOT_SKIP_SELECT_APPLET 1" in, I just added debug output to verify I used the same old preprovisioned keys that work on other demos successfully.&lt;/P&gt;&lt;P&gt;Here debug information:&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;se05x_RotatePlatformSCP03Keys &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :PlugAndTrust_v02.12.00_20191122&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :Running ../simw-top_build/raspbian_native_se050_t1oi2c/bin/se05x_RotatePlatformSCP03Keys&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&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;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :atr (Len=35)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;54 50 4F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_AuthenticateChannel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;75 73 B3 26 35 5B 9B 2A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_GP_InitializeUpdate&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:keyVersion 0b&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;75 73 B3 26 35 5B 9B 2A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Sending GP Initialize Update Command !!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:WARN :nxEnsure:'ret == SM_OK' failed. At Line:4843 Function:sss_se05x_TXn&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Output:apduStatus 6a88&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Header: (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;80 50 0B 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Cmdbuf: (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;75 73 B3 26 35 5B 9B 2A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Receivebuf: (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;6A 88 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:ERROR:GP_InitializeUpdate Failure on communication Link 6A88&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:ERROR:nxScp03_GP_InitializeUpdate fails with Status 3C3C0000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:ERROR:Could not set SCP03 Secure Channel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :OLD_ENC (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;85 2B 59 62 E9 CC E5 D0 BE 74 6B 83 3B CC 62 87 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :OLD_MAC (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;DB 0A A3 19 A4 08 69 6C 8E 10 7A B4 E3 C2 6B 47 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :OLD_DEK (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;4C 2F 75 C6 A2 78 A4 AE E5 C9 AF 7C 50 EE A8 0C&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Further down I add two more detailed logs of both&amp;nbsp;se05x_RotatePlatformSCP03Keys and se05x_minimal.&lt;/P&gt;&lt;P&gt;Apparently nxScp03_GP_InitializeUpdate is called when the demo starts. But in difference to the earlier mentioned other demos, I get error message 6A 88, which means according to GP spec: "Referenced data not found".&amp;nbsp;&lt;BR /&gt;The function "tp_PlatformKeys" of the Rotate Demo is not even called, the error comes before that (ex_sss_entry is after the error).&lt;/P&gt;&lt;P&gt;I understand from other discussion that the boot sequence has to be different when rotating keys, can you confirm that? What is the intended "to be"-effect of EX_SSS_BOOT_SKIP_SELECT_APPLET=1? It would help to know which APDU commands SHOULD be applied for rotating keys.&lt;BR /&gt;- Different options than: SE05X_Auth := PlatfSCP03 / SCP := SCP03_SSS ?&lt;BR /&gt;- Does the SE050´s Global Platform part require specific keys, different from the provisioned ones for SE050C1 (that work on other demos)?&lt;/P&gt;&lt;P&gt;Kind regards and many many thanks for any suggestion or help,&lt;BR /&gt;Markus&lt;/P&gt;&lt;P&gt;_____________________&lt;/P&gt;&lt;P&gt;Here a more deep log file with all traffic going via I2C interface:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;pi@raspberrypi:~/SE050-PLUG-TRUST_MW_v02.12.00/simw-top_build/raspbian_native_se050_t1oi2c/bin $ ./&lt;STRONG&gt;se05x_RotatePlatformSCP03Keys&lt;/STRONG&gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :PlugAndTrust_v02.12.00_20191122&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :Running ./se05x_RotatePlatformSCP03Keys&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&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;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:I2CInit: opening /dev/i2c-4&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:I2C driver: PEC flag cleared&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:I2C driver supports plain i2c-level commands.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=260)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;BC 23 FD 76 08 00 00 00 00 00 00 00 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 53 8C 28 21 18 4B FD 76 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;58 8D DC 7E 60 8D DC 7E CC 8D DC 7E 1C 20 01 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;B4 8D DC 7E 20 DB FA 76 60 8D DC 7E BC 4A FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;05 00 00 00 08 24 FD 76 01 00 00 00 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 60 49 FD 76 05 00 00 00 08 24 FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 00 00 00 00 00 00 00 60 49 FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;18 4B FD 76 60 49 FD 76 FF FF FF FF 60 23 FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;E4 3C BE 76 40 1D FD 76 18 4B FD 76 60 49 FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;FF FF FF FF 00 00 00 00 C4 2F BE 76 40 1D FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 18 18 FB 76 40 1D FD 76 00 8E DC 7E &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;20 DC BD 76 00 00 00 00 FC 60 06 00 01 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;C0 F4 FC 76 00 00 00 00 00 00 00 00 00 40 FD 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;14 8E DC 7E 0C 31 FB 76 08 24 FD 76 01 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 00 00 00 24 8E DC 7E E4 3C BE 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 60 06 00 00 00 00 00 50 33 01 00 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A CF 00 37 7F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 EF &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;23 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=37)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;54 50 4F 87 77 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=10)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 00 05 00 A4 04 00 00 1E 3C &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;14 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=22)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;6F 10 84 08 A0 00 00 01 51 00 00 00 A5 04 9F 65 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 FF 90 00 95 F6 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :atr (Len=35)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;54 50 4F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :SCP03 SSS section&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_AuthenticateChannel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;10 22 1B 84 31 0A 14 07 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_GP_InitializeUpdate&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:keyVersion 0b&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;10 22 1B 84 31 0A 14 07 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Sending GP Initialize Update Command !!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=18)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 40 0D 80 50 0B 00 08 10 22 1B 84 31 0A 14 07 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;70 FE &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;Looping about 10seconds (until timeout?), then:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 40 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;02 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;6A 88 8D 30 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:WARN :nxEnsure:'ret == SM_OK' failed. At Line:4848 Function:sss_se05x_TXn&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Output:apduStatus 6a88&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Header: (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;80 50 0B 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Cmdbuf: (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;09 A1 CE EE D4 84 44 BC &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Receivebuf: (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;6A 88 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:ERROR:GP_InitializeUpdate Failure on communication Link 6A88&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:ERROR:nxScp03_GP_InitializeUpdate fails with Status 3C3C0000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:ERROR:Could not set SCP03 Secure Channel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :OLD_ENC (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;85 2B 59 62 E9 CC E5 D0 BE 74 6B 83 3B CC 62 87 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :OLD_MAC (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;DB 0A A3 19 A4 08 69 6C 8E 10 7A B4 E3 C2 6B 47 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :OLD_DEK (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;4C 2F 75 C6 A2 78 A4 AE E5 C9 AF 7C 50 EE A8 0C &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_init&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:Input:algorithm 0a&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:Input:mode 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_cipher_one_go&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: IV (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: srcData (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_cipher_one_go&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: IV (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: srcData (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_free&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_init&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:Input:algorithm 0a&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:Input:mode 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_cipher_one_go&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: IV (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: srcData (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_cipher_one_go&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: IV (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: srcData (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_free&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_init&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:Input:algorithm 0a&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:Input:mode 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_cipher_one_go&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: IV (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: srcData (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_cipher_one_go&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: IV (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG: Input: srcData (Len=0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_free&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=80)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 00 4B 80 D8 0B 81 46 0B 88 11 10 4D BD 61 CD &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;46 F4 79 A8 C2 0E CE 1D 10 72 16 8C 03 75 0D 4D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;88 11 10 D6 6A EF 4E A7 52 30 7B 42 F3 25 65 39 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 3A 5F 03 89 1F B6 88 11 10 34 88 2F 97 33 4F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;73 EE 15 55 FA 76 E2 52 70 96 03 EE 6D D4 E1 6B &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;02 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;69 82 08 A3 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:WARN :nxEnsure:'ret == SM_OK' failed. At Line:4848 Function:sss_se05x_TXn&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Output:apduStatus 6982&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Header: (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;80 D8 0B 81 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Cmdbuf: (Len=70)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;0B 88 11 10 4D BD 61 CD 46 F4 79 A8 C2 0E CE 1D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;10 72 16 8C 03 75 0D 4D 88 11 10 D6 6A EF 4E A7 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;52 30 7B 42 F3 25 65 39 7E 3A 5F 03 89 1F B6 88 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;11 10 34 88 2F 97 33 4F 73 EE 15 55 FA 76 E2 52 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;70 96 03 EE 6D D4 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Receivebuf: (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;69 82 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :ex_sss Finished&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A C5 00 47 82 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 E5 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;87 67&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;_____________&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;To compare with:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;pi@raspberrypi:~/SE050-PLUG-TRUST_MW_v02.12.00/simw-top_build/raspbian_native_se050_t1oi2c/bin/&lt;STRONG&gt;se05x_minimal &lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :PlugAndTrust_v02.12.00_20191122&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :Running ./se05x_minimal&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&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;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:I2CInit: opening /dev/i2c-4&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:I2C driver: PEC flag cleared&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:I2C driver supports plain i2c-level commands.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=260)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;BC 33 F8 76 08 00 00 00 00 00 00 00 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 53 8C 28 21 18 5B F8 76 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;28 0D D3 7E 30 0D D3 7E 9C 0D D3 7E 1C 20 01 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;84 0D D3 7E 20 EB F5 76 30 0D D3 7E BC 5A F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;05 00 00 00 08 34 F8 76 01 00 00 00 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 60 59 F8 76 05 00 00 00 08 34 F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 00 00 00 00 00 00 00 60 59 F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;18 5B F8 76 60 59 F8 76 FF FF FF FF 60 33 F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;E4 4C B9 76 40 2D F8 76 18 5B F8 76 60 59 F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;FF FF FF FF 00 00 00 00 C4 3F B9 76 40 2D F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 18 28 F6 76 40 2D F8 76 D0 0D D3 7E &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;20 EC B8 76 00 00 00 00 FC 50 06 00 01 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;C0 04 F8 76 00 00 00 00 00 00 00 00 00 50 F8 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;E4 0D D3 7E 0C 41 F6 76 08 34 F8 76 01 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 00 00 00 F4 0D D3 7E E4 4C B9 76 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 50 06 00 00 00 00 00 50 33 01 00 00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A CF 00 37 7F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 EF &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;23 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=37)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;54 50 4F 87 77 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=10)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 00 05 00 A4 04 00 00 1E 3C &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;14 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=22)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;6F 10 84 08 A0 00 00 01 51 00 00 00 A5 04 9F 65 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 FF 90 00 95 F6 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=26)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 40 15 00 A4 04 00 0F A0 00 00 03 96 54 53 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 01 03 00 00 00 00 B8 78 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;Waiting short time ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 40 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;09 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=11)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;03 01 00 6F FF 01 0B 90 00 1C D9 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :atr (Len=35)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;54 50 4F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :SCP03 SSS section&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_AuthenticateChannel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_GP_InitializeUpdate&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:keyVersion 0b&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Sending GP Initialize Update Command !!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=18)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 00 0D 80 50 0B 00 08 7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;8B D4 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;Waiting short time ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1F &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=33)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;90 03 91 93 10 56 67 99 31 75 0B 03 00 40 82 13 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 67 A8 6D 12 0B 21 2F 9F 73 74 BC 39 90 00 26 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;67 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Output:apduStatus 9000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Header: (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;80 50 0B 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Cmdbuf: (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Receivebuf: (Len=31)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;90 03 91 93 10 56 67 99 31 75 0B 03 00 40 82 13 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 67 A8 6D 12 0B 21 2F 9F 73 74 BC 39 90 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: keyDivData (Len=10)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;90 03 91 93 10 56 67 99 31 75 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: keyInfo (Len=3)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;0B 03 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: cardChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: cardCryptoGram (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;0B 21 2F 9F 73 74 BC 39 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_HostLocal_CalculateSessionKeys&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input:hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input:cardChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Set the Derviation data to generate Session ENC key&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_setDerivationData&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddConstant 04&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddL 80&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:iCounter 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: keyInfo (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Output: KeyDivData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 04 00 00 80 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_Generate_SessionKey&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: inData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 04 00 00 80 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:outSignature (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;D7 59 11 55 4F 69 51 25 F5 96 7B FE F6 11 79 15 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:sessionEncKey (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;D7 59 11 55 4F 69 51 25 F5 96 7B FE F6 11 79 15 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Set the Derviation data to generate Session MAC key&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_setDerivationData&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddConstant 06&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddL 80&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:iCounter 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: keyInfo (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Output: KeyDivData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 06 00 00 80 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_Generate_SessionKey&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: inData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 06 00 00 80 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:outSignature (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;D8 A8 16 B3 C0 BF E0 E2 26 61 9B E0 7A 31 57 EB &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:sessionMacKey (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;D8 A8 16 B3 C0 BF E0 E2 26 61 9B E0 7A 31 57 EB &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Set the Derviation data to generate Session RMAC key&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_setDerivationData&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddConstant 07&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddL 80&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:iCounter 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: keyInfo (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Output: KeyDivData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 07 00 00 80 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_Generate_SessionKey&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: inData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 07 00 00 80 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:outSignature (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A3 FD F7 3C E2 0F B7 98 89 4D D4 B0 5F 43 B5 4C &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:sessionRmacKey (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A3 FD F7 3C E2 0F B7 98 89 4D D4 B0 5F 43 B5 4C &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_HostLocal_VerifyCardCryptogram&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input:hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input:cardChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_setDerivationData&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddConstant 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddL 40&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:iCounter 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: keyInfo (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Output: KeyDivData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_Generate_SessionKey&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: inData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:outSignature (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;0B 21 2F 9F 73 74 BC 39 EF A1 C9 CE 55 A8 45 32 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:cardCryptogram (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;0B 21 2F 9F 73 74 BC 39 EF A1 C9 CE 55 A8 45 32 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:cardCryptoGram (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;0B 21 2F 9F 73 74 BC 39 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:CardCryptogram verified successfully...Calculate HostCryptogram&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_HostLocal_CalculateHostCryptogram&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input:hostChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input:cardChallenge (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_setDerivationData&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddConstant 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:ddL 40&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Input:iCounter 01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: keyInfo (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Output: KeyDivData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 01 00 00 40 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_Generate_SessionKey&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: inData (Len=32)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 00 00 00 00 00 00 00 00 00 01 00 00 40 01 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;7E 38 3E 75 AF B0 2A 3D 40 82 13 5A 67 A8 6D 12 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:outSignature (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;12 B3 EE F2 09 E8 02 6A F7 56 B5 50 48 FE 93 AB &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output:hostCryptogram (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;12 B3 EE F2 09 E8 02 6A F7 56 B5 50 48 FE 93 AB &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:hostCryptogram (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;12 B3 EE F2 09 E8 02 6A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:FN: nxScp03_GP_ExternalAuthenticate&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Input: hostCryptogram (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;12 B3 EE F2 09 E8 02 6A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Calculate the MAC on data&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG: Output: Calculated MAC (Len=8)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;F8 73 58 5D CB 80 83 7B &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Add calculated MAC Value to cmd Data&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Sending GP External Authenticate Command !!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=26)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 40 15 84 82 33 00 10 12 B3 EE F2 09 E8 02 6A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;F8 73 58 5D CB 80 83 7B F6 1A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 40 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;02 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;90 00 B5 B9 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Output:apduStatus 9000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Header: (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;84 82 33 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Cmdbuf: (Len=16)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;12 B3 EE F2 09 E8 02 6A F8 73 58 5D CB 80 83 7B &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Receivebuf: (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;90 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;scp:DEBUG:Authentication Successful!!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :SCP03 SSS 1st part ok&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;APDU:DEBUG:GetFreeMemory []&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;APDU:DEBUG:kSE05x_TAG_1 [memoryType] = 0x3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:DEBUG:FN: sss_symmetric_context_free&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=34)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A 00 1D 84 04 00 22 18 58 86 85 A6 55 F2 26 D0 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;88 2B 57 DF 20 C4 EC 33 9E FF CD 2A 71 0D 25 5A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1F 0A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0d &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1A &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=28)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;38 C1 28 A9 AB A2 FB 5B B2 CD 70 71 63 06 5F 85 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;6A D3 DA 55 4B 7D D0 55 90 00 C7 03 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Output:apduStatus 9000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Header: (Len=4)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;80 04 00 22 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Cmdbuf: (Len=3)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;58 86 85 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;sss:INFO :Receivebuf: (Len=6)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;41 02 01 20 90 00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :mem=288&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;App:INFO :ex_sss Finished&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CWrite) &amp;gt; (Len=5)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;5A C5 00 47 82 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;A5 E5 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;00 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:Done with rv = 0c &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;smCom:DEBUG:TX (axI2CRead): (Len=2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;87 67&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 18:15:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-demo-nxScp03-GP-InitializeUpdate-returns/m-p/1191062#M409</guid>
      <dc:creator>mfr64</dc:creator>
      <dc:date>2020-11-30T18:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: SE050: key rotation demo: nxScp03_GP_InitializeUpdate returns 0x6a88</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-demo-nxScp03-GP-InitializeUpdate-returns/m-p/1193725#M412</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/76725"&gt;@mfr64&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The demo uses the default Platform SCP keys, and&amp;nbsp;&lt;SPAN&gt;EX_SSS_BOOT_SKIP_SELECT_APPLET is used to skip the APDU command for selecting applet, please kindly refer to the following for more details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="se050 skip select applet.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131800i59DCB961E74A2D63/image-size/large?v=v2&amp;amp;px=999" role="button" title="se050 skip select applet.png" alt="se050 skip select applet.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&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, 04 Dec 2020 06:22:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-demo-nxScp03-GP-InitializeUpdate-returns/m-p/1193725#M412</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2020-12-04T06:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: SE050: key rotation demo: nxScp03_GP_InitializeUpdate returns 0x6a88</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-demo-nxScp03-GP-InitializeUpdate-returns/m-p/1196629#M421</link>
      <description>&lt;P&gt;Hi Kan,&lt;/P&gt;&lt;P&gt;hmm, I know this information. What I am looking for is so get a bit more information how the key rotation demo SHOULD execute. This could be an example what should be communicated (APDU commands) or what C-functions should be called when. May be somebody at NXP or a customer reading this can provide some tracing data.&lt;/P&gt;&lt;P&gt;Alternatively it would help to know which APDU command is the first one that is wrong in the tracing data I sent earlier.&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 16:42:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-demo-nxScp03-GP-InitializeUpdate-returns/m-p/1196629#M421</guid>
      <dc:creator>mfr64</dc:creator>
      <dc:date>2020-12-09T16:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: SE050: key rotation demo: nxScp03_GP_InitializeUpdate returns 0x6a88</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-demo-nxScp03-GP-InitializeUpdate-returns/m-p/1216454#M450</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/76725"&gt;@mfr64&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp; MW version is too old (02.12.00 as shown in the logs),&amp;nbsp;and on this old version the rotate code selects the ISD instead of the SSD. This bug got fixed since 02.12.01, please try with the latest version. You may refer to the following for more details.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MW release note.png" style="width: 970px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135148i0C3D23F38BE02DD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="MW release note.png" alt="MW release note.png" /&gt;&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>Tue, 19 Jan 2021 02:43:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-demo-nxScp03-GP-InitializeUpdate-returns/m-p/1216454#M450</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-01-19T02:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: SE050: key rotation demo: nxScp03_GP_InitializeUpdate returns 0x6a88</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-demo-nxScp03-GP-InitializeUpdate-returns/m-p/1216913#M451</link>
      <description>&lt;P&gt;Hi Kan Li,&lt;/P&gt;&lt;P&gt;I had an copy of v02.12.04, newer than v02.12.00 and it should contain the bug fix as well. Now as I know this version is worth a chance to retry, I did that today with success.&lt;/P&gt;&lt;P&gt;The Key rotation demo works for me, based on v02.12.04 which did not need too much rework to get my code migrated from v02.12.00.&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 13:35:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-key-rotation-demo-nxScp03-GP-InitializeUpdate-returns/m-p/1216913#M451</guid>
      <dc:creator>mfr64</dc:creator>
      <dc:date>2021-01-19T13:35:57Z</dc:date>
    </item>
  </channel>
</rss>

