<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Secure AuthenticationのトピックRe: Diffie–Hellman get_key on SE050</title>
    <link>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1307773#M539</link>
    <description>&lt;P&gt;Hi Kan,&lt;/P&gt;&lt;P&gt;I've enabled debug level logging for all and have attached a copy of the terminal output while running ./se05x_Minimal.&lt;/P&gt;&lt;P&gt;Please let me know how to move forward from here to resolve this issue.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ethan&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;App   :INFO :PlugAndTrust_v03.03.00_20210528
App   :INFO :Running ./se05x_Minimal
App   :INFO :If you want to over-ride the selection, use ENV=EX_SSS_BOOT_SSS_PORT or pass in command line arguments.
smCom :DEBUG:phPalEse_i2c_open_and_configure Opening port
smCom :DEBUG:I2CInit: opening /dev/i2c-1

smCom :DEBUG:I2C driver: PEC flag cleared

smCom :DEBUG:I2C driver supports plain i2c-level commands.

smCom :DEBUG:I2C driver Initialized :: fd = [12] 
smCom :DEBUG:phNxpEseProto7816_Open: First open completed
smCom :DEBUG:phNxpEse_clearReadBuffer Enter ..
smCom :DEBUG:phPalEse_i2c_read Read Requested 260 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=260)
      70 79 FB 76    00 00 00 00    00 00 00 00    36 5F 4F 70 
      4C 31 C1 6A    00 00 00 00    8C 6E FB 76    44 6E AD 7E 
      29 8F EB 76    A4 6E AD 7E    4C 6E AD 7E    D0 6C FB 76 
      B4 18 F9 76    4C 6E AD 7E    D8 8A FB 76    06 00 00 00 
      00 00 00 00    01 00 00 00    00 00 00 00    01 00 00 00 
      D0 6C FB 76    8C 6E FB 76    00 00 00 00    74 6E AD 7E 
      D8 8A FB 76    06 00 00 00    00 00 00 00    01 00 00 00 
      00 00 00 00    01 00 00 00    FF FF FF FF    8C 6E FB 76 
      C8 87 EB 76    D0 6C FB 76    AC 6E AD 7E    D0 6C FB 76 
      B4 18 F9 76    AC 6E AD 7E    D8 8A FB 76    06 00 00 00 
      0C 61 ED 76    D0 6C FB 76    78 8B EB 76    D0 14 FB 76 
      00 00 00 00    01 00 00 00    00 80 FB 76    04 6F AD 7E 
      54 6A F9 76    00 00 00 00    01 00 00 00    01 00 00 00 
      00 00 00 00    68 79 FB 76    C8 87 EB 76    00 00 00 00 
      00 60 ED 76    38 0F 01 00    E4 09 01 00    00 00 00 00 
      00 00 00 00    00 00 00 00    44 CB F9 76    20 1F 9B 01 
      00 00 00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:TransceiveProcess nextTransceiveState 4 
smCom :DEBUG:S-Frame PCB: c0 
smCom :DEBUG:phNxpEse_WriteFrame Enter ..
smCom :DEBUG:TX (axI2CWrite) &amp;gt;  (Len=5)
      5A C0 00 FF    FC 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:RAW Tx&amp;gt; (Len=5)
      5A C0 00 FF    FC 
smCom :DEBUG:phNxpEse_read Enter ..
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      A5 E0 
smCom :DEBUG:phNxpEse_readPacket Read HDR
smCom :DEBUG:phNxpEse_readPacket SOF FOUND
smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=1)
      00 
smCom :DEBUG:poll_sof_chained_delay value is 0 
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      3F 19 
smCom :DEBUG:RAW Rx&amp;lt; (Len=5)
      A5 E0 00 3F    19 
smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x19b1f28 len ----&amp;gt; 0x5 
smCom :DEBUG:Received CRC:0x3f19 Calculated CRC:0x3f19 
smCom :DEBUG:Retry Counter = 0 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received 
smCom :DEBUG:TransceiveProcess nextTransceiveState 7 
smCom :DEBUG:S-Frame PCB: c7 
smCom :DEBUG:phNxpEse_WriteFrame Enter ..
smCom :DEBUG:TX (axI2CWrite) &amp;gt;  (Len=5)
      5A C7 00 F7    B1 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:RAW Tx&amp;gt; (Len=5)
      5A C7 00 F7    B1 
smCom :DEBUG:phNxpEse_read Enter ..
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      A5 E7 
smCom :DEBUG:phNxpEse_readPacket Read HDR
smCom :DEBUG:phNxpEse_readPacket SOF FOUND
smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=1)
      23 
smCom :DEBUG:poll_sof_chained_delay value is 0 
smCom :DEBUG:phPalEse_i2c_read Read Requested 37 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=37)
      00 A0 00 00    03 96 04 03    E8 00 FE 02    0B 03 E8 08 
      01 00 00 00    00 64 00 00    0A 4A 43 4F    50 34 20 41 
      54 50 4F 2A    8D 
smCom :DEBUG:RAW Rx&amp;lt; (Len=40)
      A5 E7 23 00    A0 00 00 03    96 04 03 E8    00 FE 02 0B 
      03 E8 08 01    00 00 00 00    64 00 00 0A    4A 43 4F 50 
      34 20 41 54    50 4F 2A 8D 
smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x19b1f28 len ----&amp;gt; 0x28 
smCom :DEBUG:Received CRC:0x2a8d Calculated CRC:0x2a8d 
smCom :DEBUG:Retry Counter = 0 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received 
smCom :DEBUG:phNxpEseProto7816_DecodeSFrameData frameoffset=3 value=0x0 
smCom :DEBUG:Data[0]=0x0 len=35 Data[34]=0x50 Data[79]=0x23 
smCom :DEBUG:Trying to Acquire Lock thread: 1996165136
smCom :DEBUG:LOCK Acquired by thread: 1996165136
smCom :DEBUG:APDU Tx&amp;gt; (Len=22)
      00 A4 04 00    10 A0 00 00    03 96 54 53    00 00 00 01 
      03 00 00 00    00 00 
smCom :DEBUG:Enter phNxpEseProto7816_Transceive  
smCom :DEBUG:Transceive data ptr 0x0x7ead6a58 len:22 
smCom :DEBUG:I-Frame Data Len: 22 Seq. no:0 
smCom :DEBUG:TransceiveProcess nextTransceiveState 1 
smCom :DEBUG:phNxpEse_WriteFrame Enter ..
smCom :DEBUG:TX (axI2CWrite) &amp;gt;  (Len=27)
      5A 00 16 00    A4 04 00 10    A0 00 00 03    96 54 53 00 
      00 00 01 03    00 00 00 00    00 A8 C8 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:RAW Tx&amp;gt; (Len=27)
      5A 00 16 00    A4 04 00 10    A0 00 00 03    96 54 53 00 
      00 00 01 03    00 00 00 00    00 A8 C8 
smCom :DEBUG:phNxpEse_read Enter ..
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      A5 00 
smCom :DEBUG:phNxpEse_readPacket Read HDR
smCom :DEBUG:phNxpEse_readPacket SOF FOUND
smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=1)
      09 
smCom :DEBUG:poll_sof_chained_delay value is 0 
smCom :DEBUG:phPalEse_i2c_read Read Requested 11 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=11)
      03 01 00 6F    FF 01 0B 90    00 19 14 
smCom :DEBUG:RAW Rx&amp;lt; (Len=14)
      A5 00 09 03    01 00 6F FF    01 0B 90 00    19 14 
smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x19b1f28 len ----&amp;gt; 0xe 
smCom :DEBUG:Received CRC:0x1914 Calculated CRC:0x1914 
smCom :DEBUG:Retry Counter = 0 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x0 
smCom :DEBUG:Data[0]=0x3 len=9 Data[8]=0x90 Data[0]=0x9 
smCom :DEBUG: phNxpEse_Transceive Exit status 0x0 
smCom :DEBUG:APDU Rx&amp;lt; (Len=9)
      03 01 00 6F    FF 01 0B 90    00 
smCom :DEBUG:Trying to Released Lock by thread: 1996165136
smCom :DEBUG:LOCK Released by thread: 1996165136
sss   :INFO :atr (Len=35)
      00 A0 00 00    03 96 04 03    E8 00 FE 02    0B 03 E8 08 
      01 00 00 00    00 64 00 00    0A 4A 43 4F    50 34 20 41 
      54 50 4F 
sss   :WARN :Communication channel is Plain.
sss   :WARN :!!!Not recommended for production use.!!!
smCom :DEBUG:Trying to Acquire Lock thread: 1996165136
smCom :DEBUG:LOCK Acquired by thread: 1996165136
smCom :DEBUG:APDU Tx&amp;gt; (Len=8)
      80 04 00 22    03 41 01 01 
smCom :DEBUG:Enter phNxpEseProto7816_Transceive  
smCom :DEBUG:Transceive data ptr 0x0x7ead62d4 len:8 
smCom :DEBUG:I-Frame Data Len: 8 Seq. no:1 
smCom :DEBUG:TransceiveProcess nextTransceiveState 1 
smCom :DEBUG:phNxpEse_WriteFrame Enter ..
smCom :DEBUG:TX (axI2CWrite) &amp;gt;  (Len=13)
      5A 40 08 80    04 00 22 03    41 01 01 16    29 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:RAW Tx&amp;gt; (Len=13)
      5A 40 08 80    04 00 22 03    41 01 01 16    29 
smCom :DEBUG:phNxpEse_read Enter ..
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      A5 40 
smCom :DEBUG:phNxpEse_readPacket Read HDR
smCom :DEBUG:phNxpEse_readPacket SOF FOUND
smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=1)
      02 
smCom :DEBUG:poll_sof_chained_delay value is 0 
smCom :DEBUG:phPalEse_i2c_read Read Requested 4 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=4)
      69 85 00 C1 
smCom :DEBUG:RAW Rx&amp;lt; (Len=7)
      A5 40 02 69    85 00 C1 
smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x19b1f28 len ----&amp;gt; 0x7 
smCom :DEBUG:Received CRC:0xc1 Calculated CRC:0xc1 
smCom :DEBUG:Retry Counter = 0 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x1 
smCom :DEBUG:Data[0]=0x69 len=2 Data[1]=0x69 Data[133]=0x2 
smCom :DEBUG: phNxpEse_Transceive Exit status 0x0 
smCom :DEBUG:APDU Rx&amp;lt; (Len=2)
      69 85 
smCom :DEBUG:Trying to Released Lock by thread: 1996165136
smCom :DEBUG:LOCK Released by thread: 1996165136
sss   :WARN :nxEnsure:'ret == SM_OK' failed. At Line:6291 Function:sss_se05x_TXn
App   :ERROR:Se05x_API_GetFreeMemory Failed
App   :INFO :mem=0
App   :ERROR:se05x_Minimal Example Failed !!!...
App   :INFO :ex_sss Finished
App   :ERROR:ex_sss_entry Failed
hostLib:DEBUG:CloseSession command is sent only if valid Session exists!!!
smCom :DEBUG:TransceiveProcess nextTransceiveState 6 
smCom :DEBUG:S-Frame PCB: c5 
smCom :DEBUG:phNxpEse_WriteFrame Enter ..
smCom :DEBUG:TX (axI2CWrite) &amp;gt;  (Len=5)
      5A C5 00 47    82 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:RAW Tx&amp;gt; (Len=5)
      5A C5 00 47    82 
smCom :DEBUG:phNxpEse_read Enter ..
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      A5 E5 
smCom :DEBUG:phNxpEse_readPacket Read HDR
smCom :DEBUG:phNxpEse_readPacket SOF FOUND
smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=1)
      00 
smCom :DEBUG:poll_sof_chained_delay value is 0 
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      87 67 
smCom :DEBUG:RAW Rx&amp;lt; (Len=5)
      A5 E5 00 87    67 
smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x19b1f28 len ----&amp;gt; 0x5 
smCom :DEBUG:Received CRC:0x8767 Calculated CRC:0x8767 
smCom :DEBUG:Retry Counter = 0 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received 
smCom :DEBUG:Close i2c device 3.

smCom :DEBUG:phNxpEse_close - ESE Context deinit completed
App   :ERROR:!ERROR! ret != 0.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jul 2021 15:05:07 GMT</pubDate>
    <dc:creator>ethanlooney</dc:creator>
    <dc:date>2021-07-14T15:05:07Z</dc:date>
    <item>
      <title>Diffie–Hellman get_key on SE050</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1299919#M526</link>
      <description>&lt;P&gt;Hi, I am writing a program that calculates a shared secret on the NXP SE050 and then exports the shared secret. For this, I am using both "sss_derive_key_dh" and "sss_key_store_get_key" to export the key.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I am having is that when I try to run "sss_key_store_get_key", it fails. I was able to find an error code that it produced, 6986, which states "kSE05x_SW12_COMMAND_NOT_ALLOWED -&amp;nbsp;Command not allowed - access denied based on object policy".&amp;nbsp;&lt;/P&gt;&lt;P&gt;While trying to debug this I looked into and ran the ex_ecdh example. This examples runs but I've discovered the "sss_key_store_get_key" call runs "sss_openssl_key_store_get_key" instead of the "sss_se05x_key_store_get_key" that I am hoping to run.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would someone be able to provide an example that runs&amp;nbsp; "sss_derive_key_dh" and the se05x version of "sss_key_store_get_key"?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Ethan&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 15:45:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1299919#M526</guid>
      <dc:creator>ethanlooney</dc:creator>
      <dc:date>2021-07-01T15:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Diffie–Hellman get_key on SE050</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1301568#M527</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186080"&gt;@ethanlooney&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you implement the application based on the latest MW? Is it possible to share your code for a review?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your patience!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 06:57:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1301568#M527</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-07-02T06:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Diffie–Hellman get_key on SE050</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1301909#M530</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I belive I am running into the same issue as this post:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Secure-Authentication/Create-Crypto-Object-error-0x6985-conditions-not-satisfied/m-p/1068833" target="_blank"&gt;https://community.nxp.com/t5/Secure-Authentication/Create-Crypto-Object-error-0x6985-conditions-not-satisfied/m-p/1068833&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am unable to run even the ./se05x_Minimal example.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ethanlooney_0-1625240056419.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148692iC3F9720B0BAAF0DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ethanlooney_0-1625240056419.png" alt="ethanlooney_0-1625240056419.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How would I go about resetting the dev board in order to resolve this problem?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Ethan&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 15:35:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1301909#M530</guid>
      <dc:creator>ethanlooney</dc:creator>
      <dc:date>2021-07-02T15:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Diffie–Hellman get_key on SE050</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1305868#M536</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186080"&gt;@ethanlooney&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to unlock more logs for analyze? Please kindly refer to "SE-PLUG-TRUST-MW/simw-top/doc/stack/logging.html" for more details.&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>Mon, 12 Jul 2021 03:11:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1305868#M536</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-07-12T03:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Diffie–Hellman get_key on SE050</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1307773#M539</link>
      <description>&lt;P&gt;Hi Kan,&lt;/P&gt;&lt;P&gt;I've enabled debug level logging for all and have attached a copy of the terminal output while running ./se05x_Minimal.&lt;/P&gt;&lt;P&gt;Please let me know how to move forward from here to resolve this issue.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ethan&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;App   :INFO :PlugAndTrust_v03.03.00_20210528
App   :INFO :Running ./se05x_Minimal
App   :INFO :If you want to over-ride the selection, use ENV=EX_SSS_BOOT_SSS_PORT or pass in command line arguments.
smCom :DEBUG:phPalEse_i2c_open_and_configure Opening port
smCom :DEBUG:I2CInit: opening /dev/i2c-1

smCom :DEBUG:I2C driver: PEC flag cleared

smCom :DEBUG:I2C driver supports plain i2c-level commands.

smCom :DEBUG:I2C driver Initialized :: fd = [12] 
smCom :DEBUG:phNxpEseProto7816_Open: First open completed
smCom :DEBUG:phNxpEse_clearReadBuffer Enter ..
smCom :DEBUG:phPalEse_i2c_read Read Requested 260 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=260)
      70 79 FB 76    00 00 00 00    00 00 00 00    36 5F 4F 70 
      4C 31 C1 6A    00 00 00 00    8C 6E FB 76    44 6E AD 7E 
      29 8F EB 76    A4 6E AD 7E    4C 6E AD 7E    D0 6C FB 76 
      B4 18 F9 76    4C 6E AD 7E    D8 8A FB 76    06 00 00 00 
      00 00 00 00    01 00 00 00    00 00 00 00    01 00 00 00 
      D0 6C FB 76    8C 6E FB 76    00 00 00 00    74 6E AD 7E 
      D8 8A FB 76    06 00 00 00    00 00 00 00    01 00 00 00 
      00 00 00 00    01 00 00 00    FF FF FF FF    8C 6E FB 76 
      C8 87 EB 76    D0 6C FB 76    AC 6E AD 7E    D0 6C FB 76 
      B4 18 F9 76    AC 6E AD 7E    D8 8A FB 76    06 00 00 00 
      0C 61 ED 76    D0 6C FB 76    78 8B EB 76    D0 14 FB 76 
      00 00 00 00    01 00 00 00    00 80 FB 76    04 6F AD 7E 
      54 6A F9 76    00 00 00 00    01 00 00 00    01 00 00 00 
      00 00 00 00    68 79 FB 76    C8 87 EB 76    00 00 00 00 
      00 60 ED 76    38 0F 01 00    E4 09 01 00    00 00 00 00 
      00 00 00 00    00 00 00 00    44 CB F9 76    20 1F 9B 01 
      00 00 00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:TransceiveProcess nextTransceiveState 4 
smCom :DEBUG:S-Frame PCB: c0 
smCom :DEBUG:phNxpEse_WriteFrame Enter ..
smCom :DEBUG:TX (axI2CWrite) &amp;gt;  (Len=5)
      5A C0 00 FF    FC 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:RAW Tx&amp;gt; (Len=5)
      5A C0 00 FF    FC 
smCom :DEBUG:phNxpEse_read Enter ..
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      A5 E0 
smCom :DEBUG:phNxpEse_readPacket Read HDR
smCom :DEBUG:phNxpEse_readPacket SOF FOUND
smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=1)
      00 
smCom :DEBUG:poll_sof_chained_delay value is 0 
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      3F 19 
smCom :DEBUG:RAW Rx&amp;lt; (Len=5)
      A5 E0 00 3F    19 
smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x19b1f28 len ----&amp;gt; 0x5 
smCom :DEBUG:Received CRC:0x3f19 Calculated CRC:0x3f19 
smCom :DEBUG:Retry Counter = 0 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received 
smCom :DEBUG:TransceiveProcess nextTransceiveState 7 
smCom :DEBUG:S-Frame PCB: c7 
smCom :DEBUG:phNxpEse_WriteFrame Enter ..
smCom :DEBUG:TX (axI2CWrite) &amp;gt;  (Len=5)
      5A C7 00 F7    B1 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:RAW Tx&amp;gt; (Len=5)
      5A C7 00 F7    B1 
smCom :DEBUG:phNxpEse_read Enter ..
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      A5 E7 
smCom :DEBUG:phNxpEse_readPacket Read HDR
smCom :DEBUG:phNxpEse_readPacket SOF FOUND
smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=1)
      23 
smCom :DEBUG:poll_sof_chained_delay value is 0 
smCom :DEBUG:phPalEse_i2c_read Read Requested 37 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=37)
      00 A0 00 00    03 96 04 03    E8 00 FE 02    0B 03 E8 08 
      01 00 00 00    00 64 00 00    0A 4A 43 4F    50 34 20 41 
      54 50 4F 2A    8D 
smCom :DEBUG:RAW Rx&amp;lt; (Len=40)
      A5 E7 23 00    A0 00 00 03    96 04 03 E8    00 FE 02 0B 
      03 E8 08 01    00 00 00 00    64 00 00 0A    4A 43 4F 50 
      34 20 41 54    50 4F 2A 8D 
smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x19b1f28 len ----&amp;gt; 0x28 
smCom :DEBUG:Received CRC:0x2a8d Calculated CRC:0x2a8d 
smCom :DEBUG:Retry Counter = 0 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received 
smCom :DEBUG:phNxpEseProto7816_DecodeSFrameData frameoffset=3 value=0x0 
smCom :DEBUG:Data[0]=0x0 len=35 Data[34]=0x50 Data[79]=0x23 
smCom :DEBUG:Trying to Acquire Lock thread: 1996165136
smCom :DEBUG:LOCK Acquired by thread: 1996165136
smCom :DEBUG:APDU Tx&amp;gt; (Len=22)
      00 A4 04 00    10 A0 00 00    03 96 54 53    00 00 00 01 
      03 00 00 00    00 00 
smCom :DEBUG:Enter phNxpEseProto7816_Transceive  
smCom :DEBUG:Transceive data ptr 0x0x7ead6a58 len:22 
smCom :DEBUG:I-Frame Data Len: 22 Seq. no:0 
smCom :DEBUG:TransceiveProcess nextTransceiveState 1 
smCom :DEBUG:phNxpEse_WriteFrame Enter ..
smCom :DEBUG:TX (axI2CWrite) &amp;gt;  (Len=27)
      5A 00 16 00    A4 04 00 10    A0 00 00 03    96 54 53 00 
      00 00 01 03    00 00 00 00    00 A8 C8 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:RAW Tx&amp;gt; (Len=27)
      5A 00 16 00    A4 04 00 10    A0 00 00 03    96 54 53 00 
      00 00 01 03    00 00 00 00    00 A8 C8 
smCom :DEBUG:phNxpEse_read Enter ..
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      A5 00 
smCom :DEBUG:phNxpEse_readPacket Read HDR
smCom :DEBUG:phNxpEse_readPacket SOF FOUND
smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=1)
      09 
smCom :DEBUG:poll_sof_chained_delay value is 0 
smCom :DEBUG:phPalEse_i2c_read Read Requested 11 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=11)
      03 01 00 6F    FF 01 0B 90    00 19 14 
smCom :DEBUG:RAW Rx&amp;lt; (Len=14)
      A5 00 09 03    01 00 6F FF    01 0B 90 00    19 14 
smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x19b1f28 len ----&amp;gt; 0xe 
smCom :DEBUG:Received CRC:0x1914 Calculated CRC:0x1914 
smCom :DEBUG:Retry Counter = 0 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x0 
smCom :DEBUG:Data[0]=0x3 len=9 Data[8]=0x90 Data[0]=0x9 
smCom :DEBUG: phNxpEse_Transceive Exit status 0x0 
smCom :DEBUG:APDU Rx&amp;lt; (Len=9)
      03 01 00 6F    FF 01 0B 90    00 
smCom :DEBUG:Trying to Released Lock by thread: 1996165136
smCom :DEBUG:LOCK Released by thread: 1996165136
sss   :INFO :atr (Len=35)
      00 A0 00 00    03 96 04 03    E8 00 FE 02    0B 03 E8 08 
      01 00 00 00    00 64 00 00    0A 4A 43 4F    50 34 20 41 
      54 50 4F 
sss   :WARN :Communication channel is Plain.
sss   :WARN :!!!Not recommended for production use.!!!
smCom :DEBUG:Trying to Acquire Lock thread: 1996165136
smCom :DEBUG:LOCK Acquired by thread: 1996165136
smCom :DEBUG:APDU Tx&amp;gt; (Len=8)
      80 04 00 22    03 41 01 01 
smCom :DEBUG:Enter phNxpEseProto7816_Transceive  
smCom :DEBUG:Transceive data ptr 0x0x7ead62d4 len:8 
smCom :DEBUG:I-Frame Data Len: 8 Seq. no:1 
smCom :DEBUG:TransceiveProcess nextTransceiveState 1 
smCom :DEBUG:phNxpEse_WriteFrame Enter ..
smCom :DEBUG:TX (axI2CWrite) &amp;gt;  (Len=13)
      5A 40 08 80    04 00 22 03    41 01 01 16    29 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:RAW Tx&amp;gt; (Len=13)
      5A 40 08 80    04 00 22 03    41 01 01 16    29 
smCom :DEBUG:phNxpEse_read Enter ..
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0d 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      00 00 
smCom :DEBUG:_i2c_read() error : 13 
smCom :DEBUG:_i2c_read() [HDR]errno : 79 ret : FFFFFFFF
smCom :DEBUG:phNxpEse_readPacket Normal Pkt, delay read 1ms
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      A5 40 
smCom :DEBUG:phNxpEse_readPacket Read HDR
smCom :DEBUG:phNxpEse_readPacket SOF FOUND
smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=1)
      02 
smCom :DEBUG:poll_sof_chained_delay value is 0 
smCom :DEBUG:phPalEse_i2c_read Read Requested 4 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=4)
      69 85 00 C1 
smCom :DEBUG:RAW Rx&amp;lt; (Len=7)
      A5 40 02 69    85 00 C1 
smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x19b1f28 len ----&amp;gt; 0x7 
smCom :DEBUG:Received CRC:0xc1 Calculated CRC:0xc1 
smCom :DEBUG:Retry Counter = 0 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x1 
smCom :DEBUG:Data[0]=0x69 len=2 Data[1]=0x69 Data[133]=0x2 
smCom :DEBUG: phNxpEse_Transceive Exit status 0x0 
smCom :DEBUG:APDU Rx&amp;lt; (Len=2)
      69 85 
smCom :DEBUG:Trying to Released Lock by thread: 1996165136
smCom :DEBUG:LOCK Released by thread: 1996165136
sss   :WARN :nxEnsure:'ret == SM_OK' failed. At Line:6291 Function:sss_se05x_TXn
App   :ERROR:Se05x_API_GetFreeMemory Failed
App   :INFO :mem=0
App   :ERROR:se05x_Minimal Example Failed !!!...
App   :INFO :ex_sss Finished
App   :ERROR:ex_sss_entry Failed
hostLib:DEBUG:CloseSession command is sent only if valid Session exists!!!
smCom :DEBUG:TransceiveProcess nextTransceiveState 6 
smCom :DEBUG:S-Frame PCB: c5 
smCom :DEBUG:phNxpEse_WriteFrame Enter ..
smCom :DEBUG:TX (axI2CWrite) &amp;gt;  (Len=5)
      5A C5 00 47    82 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:RAW Tx&amp;gt; (Len=5)
      5A C5 00 47    82 
smCom :DEBUG:phNxpEse_read Enter ..
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      A5 E5 
smCom :DEBUG:phNxpEse_readPacket Read HDR
smCom :DEBUG:phNxpEse_readPacket SOF FOUND
smCom :DEBUG:phPalEse_i2c_read Read Requested 1 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=1)
      00 
smCom :DEBUG:poll_sof_chained_delay value is 0 
smCom :DEBUG:phPalEse_i2c_read Read Requested 2 bytes 
smCom :DEBUG:Done with rv = 0c 
smCom :DEBUG:TX (axI2CRead):  (Len=2)
      87 67 
smCom :DEBUG:RAW Rx&amp;lt; (Len=5)
      A5 E5 00 87    67 
smCom :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----&amp;gt; 0x19b1f28 len ----&amp;gt; 0x5 
smCom :DEBUG:Received CRC:0x8767 Calculated CRC:0x8767 
smCom :DEBUG:Retry Counter = 0 
smCom :DEBUG:phNxpEseProto7816_DecodeFrame S-Frame Received 
smCom :DEBUG:Close i2c device 3.

smCom :DEBUG:phNxpEse_close - ESE Context deinit completed
App   :ERROR:!ERROR! ret != 0.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 15:05:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1307773#M539</guid>
      <dc:creator>ethanlooney</dc:creator>
      <dc:date>2021-07-14T15:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Diffie–Hellman get_key on SE050</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1308290#M540</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186080"&gt;@ethanlooney&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the information! We will try to analyze the root cause based on that, and also wondering what is the platform used to run the demo, is it a FRDM-K64F board or something else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 09:05:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1308290#M540</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-07-15T09:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Diffie–Hellman get_key on SE050</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1308468#M541</link>
      <description>&lt;P&gt;Hi Kan,&lt;/P&gt;&lt;P&gt;The demo is being run on a raspberry pi connected to the SE050 dev board over I2C. I've tried running the demo on two different raspberry pi's with unmodified code so I believe the problem lies with the SE050.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ethan&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 14:02:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1308468#M541</guid>
      <dc:creator>ethanlooney</dc:creator>
      <dc:date>2021-07-15T14:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Diffie–Hellman get_key on SE050</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1312452#M546</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186080"&gt;@ethanlooney&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regarding the general communication issues it seems here is an I2C device address conflict on the bus, so would you please&amp;nbsp;try to disconnect SE050 and run again, if there is still some responses there is another device on the bus with conflicting address.&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>Fri, 23 Jul 2021 08:20:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Diffie-Hellman-get-key-on-SE050/m-p/1312452#M546</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-07-23T08:20:14Z</dc:date>
    </item>
  </channel>
</rss>

