<?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>topic Re: AESKey Session Authentication for SE050 in Secure Authentication</title>
    <link>https://community.nxp.com/t5/Secure-Authentication/AESKey-Session-Authentication-for-SE050/m-p/2079726#M1819</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249272"&gt;@nana11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was your SE050 provisioned for demo purpose? Please kindly refer to&amp;nbsp;se05x_mw_v04.05.01/simw-top/doc/demos/se05x/se05x_Delete_and_test_provision/Readme.html for more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Mon, 14 Apr 2025 07:52:00 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2025-04-14T07:52:00Z</dc:date>
    <item>
      <title>AESKey Session Authentication for SE050</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/AESKey-Session-Authentication-for-SE050/m-p/2079387#M1818</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P class=""&gt;I'm trying to establish an AESKey secure session with a SE050 board using the Java SmartCard I/O API but am running into authentication issues.&lt;BR /&gt;&lt;BR /&gt;When I send the SCPExternalAuthenticate command, I consistently get a 6700 ("Wrong length") error regardless of what I try.&lt;/P&gt;&lt;P class=""&gt;what works:&lt;BR /&gt;1. I can successfully select the SE050 applet&lt;BR /&gt;2.&amp;nbsp;I can successfully create an AES key authentication object&lt;BR /&gt;3.&amp;nbsp;I can successfully start a session using the created authentication object&lt;BR /&gt;4.&amp;nbsp;The SCPInitializeUpdate command completes successfully&lt;/P&gt;&lt;P class=""&gt;log:&lt;BR /&gt;&lt;BR /&gt;Found terminal: Identiv uTrust 3700 F CL Reader&lt;BR /&gt;Card is present in Identiv uTrust 3700 F CL Reader&lt;BR /&gt;Successfully connected to SE050.&lt;BR /&gt;Selecting applet with command: 00A4040010A0000003965453000000010300000000&lt;BR /&gt;Select response: SW=9000, Data=0301016FFF010B&lt;BR /&gt;SE050 applet selected successfully.&lt;BR /&gt;Enter 4-byte object ID for your AES key (8 hex characters, e.g., 12345678):&lt;BR /&gt;88888881&lt;BR /&gt;Enter 16-byte AES key (32 hex characters):&lt;BR /&gt;404142434445464748494A4B4C4D4E4F&lt;BR /&gt;Creating session...&lt;BR /&gt;CreateSession command: 8004001B064104888888810C&lt;BR /&gt;CreateSession response: SW=9000, Data=4182000801A1883AD1C0DDE6&lt;BR /&gt;Session created. Session ID: 01A1883AD1C0DDE6&lt;BR /&gt;Host challenge: 0F935F37FFC7DD2C&lt;BR /&gt;SCPInitializeUpdate command: 8005000019100801A1883AD1C0DDE6410D80500000080F935F37FFC7DD2C&lt;BR /&gt;SCPInitializeUpdate response: SW=9000, Data=000000000000000000000003606897205702C2B9EF8AC6E05E6B26EB83&lt;BR /&gt;Key diversification data: 00000000000000000000&lt;BR /&gt;Key info: 00&lt;BR /&gt;Card challenge: 03606897205702C2&lt;BR /&gt;Card cryptogram: B9EF8AC6E05E6B26&lt;BR /&gt;Derived S-ENC key: E2D59DD0015AA32B377A5CC6EED41DE6&lt;BR /&gt;Derived S-MAC key: 3458D77ADD4D1BF923D10367959E4C4B&lt;BR /&gt;Derived S-RMAC key: BC7323AE62CF71AD7DC3C59D56D1AFA6&lt;BR /&gt;Expected card cryptogram: 88612A8EC56FA45C&lt;BR /&gt;Card cryptogram doesn't match expected value, but proceeding anyway...&lt;BR /&gt;Host cryptogram: 88612A8EC56FA45C&lt;BR /&gt;SCPExternalAuthenticate command: 8005000021100801A1883AD1C0DDE64115848203000888612A8EC56FA45C5AD68E843A534B64&lt;BR /&gt;SCPExternalAuthenticate response: SW=6700, Data=&lt;BR /&gt;Authentication failed.&lt;BR /&gt;&lt;BR /&gt;my SE050 details:&lt;BR /&gt;Applet Select Response Information:&lt;BR /&gt;Major: 3&lt;BR /&gt;Minor: 1&lt;BR /&gt;Patch: 1&lt;BR /&gt;AppletConfig: 0x6fff&lt;BR /&gt;SE050 Variant: SE050E2 (FIPS mode enabled)&lt;BR /&gt;Secure Box version: 1.b&lt;BR /&gt;&lt;BR /&gt;what i need to check when i&amp;nbsp;SCPExternalAuthenticate?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sun, 13 Apr 2025 00:00:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/AESKey-Session-Authentication-for-SE050/m-p/2079387#M1818</guid>
      <dc:creator>nana11</dc:creator>
      <dc:date>2025-04-13T00:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: AESKey Session Authentication for SE050</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/AESKey-Session-Authentication-for-SE050/m-p/2079726#M1819</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249272"&gt;@nana11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was your SE050 provisioned for demo purpose? Please kindly refer to&amp;nbsp;se05x_mw_v04.05.01/simw-top/doc/demos/se05x/se05x_Delete_and_test_provision/Readme.html for more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 07:52:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/AESKey-Session-Authentication-for-SE050/m-p/2079726#M1819</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-04-14T07:52:00Z</dc:date>
    </item>
  </channel>
</rss>

