<?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: SCP03 Authentication Failure on SE050C2 in Hardware</title>
    <link>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2408380#M196</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/265599"&gt;@erdemv838&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest using nano package + zephyr which supports&amp;nbsp;&lt;SPAN&gt;ESP32 without any porting needed, so that you may narrow down the possible causes for your issue. Please refer to&amp;nbsp;&lt;A href="https://github.com/NXPPlugNTrust/nano-package/blob/master/zephyr/readme.rst" target="_blank"&gt;https://github.com/NXPPlugNTrust/nano-package/blob/master/zephyr/readme.rst&lt;/A&gt;&amp;nbsp;for more details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Wed, 26 Aug 2026 06:26:25 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2026-08-26T06:26:25Z</dc:date>
    <item>
      <title>SCP03 Authentication Failure on SE050C2</title>
      <link>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2407831#M190</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am currently working on a project using the SE050C2 secure element alongside an ESP32. I am using ESP-IDF and the Plug and Trust middleware.&lt;/P&gt;&lt;P&gt;I am trying to enable Platform SCP03 authentication. According to the middleware, the default OEF keys for the SE050C2 variant are already defined in the headers.&lt;/P&gt;&lt;P&gt;I have configured my firmware to use these exact keys. However, when I try to open a session, the SCP03 authentication fails, and I get a MAC verification error 7042.&lt;/P&gt;&lt;P&gt;It seems the keys expected by my application do not match the keys physically present inside the chip.&lt;/P&gt;&lt;P&gt;I have a few questions regarding this issue:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Are the default middleware keys correct for this specific chip version?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If this chip is part of a development board, is it possible that it comes pre-provisioned with different keys like DEVKIT A1F4 keys or standard test keys?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is there a safe way to identify the actual SCP03 keys on my chip, or a procedure to reset them if they were inadvertently changed?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any guidance on how to resolve this issue would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2026 14:12:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2407831#M190</guid>
      <dc:creator>erdemv838</dc:creator>
      <dc:date>2026-08-24T14:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: SCP03 Authentication Failure on SE050C2</title>
      <link>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2408019#M191</link>
      <description>&lt;P&gt;Please check below for default key of SE050C2. If you report MAC error, can you check the key value for your application? How may bit difference to cause this MAC verification error 7042&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="db16122_0-1787634676992.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/395265iE4744B2BC71BDAD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="db16122_0-1787634676992.png" alt="db16122_0-1787634676992.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;db16122_0-1787634676992.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 05:14:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2408019#M191</guid>
      <dc:creator>db16122</dc:creator>
      <dc:date>2026-08-25T05:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: SCP03 Authentication Failure on SE050C2</title>
      <link>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2408037#M193</link>
      <description>Thank you for providing the table. I have carefully checked the key values in my application.&lt;BR /&gt;&lt;BR /&gt;The keys I am using in my C code exactly match the SE050C2 row in your table:&lt;BR /&gt;ENC: BD 1D E2 0A 81 EA B2 BF 3B 70 9A 9D 69 A3 12 54&lt;BR /&gt;MAC: 9A 76 1B 8D BA 6B ED F2 27 41 E4 5D 8D 42 36 F5&lt;BR /&gt;DEK: 9B 99 3B 60 0F 1C 64 F5 AD C0 63 19 2A 96 C9 47&lt;BR /&gt;&lt;BR /&gt;There is no bit difference at all. I am passing these exact byte arrays to the middleware. However, I still get the MAC verification error 7042.&lt;BR /&gt;&lt;BR /&gt;Because the keys perfectly match the documentation but fail on the hardware, I strongly suspect my specific SE050 chip might be pre-provisioned with different keys. For example, it might be using the Development Board keys shown in the last row of your table, or standard test keys.&lt;BR /&gt;&lt;BR /&gt;Is there a specific command or middleware function I can run without SCP03 to safely read the chip's actual OEF ID, or to check if it is provisioned as a Development Board&lt;BR /&gt;&lt;BR /&gt;Thanks again for your help.</description>
      <pubDate>Tue, 25 Aug 2026 06:23:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2408037#M193</guid>
      <dc:creator>erdemv838</dc:creator>
      <dc:date>2026-08-25T06:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: SCP03 Authentication Failure on SE050C2</title>
      <link>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2408067#M194</link>
      <description>&lt;P&gt;&lt;EM&gt;M&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;AC verification error 7042&lt;/EM&gt; seems to be confused to understand, can you share more log information?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please check below for OEF ID read tools setting:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;======================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;10.7 How to get SE Platform Information and UID&lt;BR /&gt;Follow any one of the following methods to get the SE platform information.&lt;BR /&gt;10.7.1 Using TeraTerm and pre-built binary&lt;BR /&gt;A pre-built binary for se05x_GetInfo is available in binaries directory for FRDM-K64F and iMX-RT1060.&lt;BR /&gt;You would need to install a serial terminal application, like TeraTerm.&lt;BR /&gt;• Install TeraTerm on your system. To setup TeraTerm, refer&lt;BR /&gt;• Flash the pre-built binary on your hardware.&lt;BR /&gt;• View the logs on TeraTerm.&lt;/P&gt;&lt;P&gt;The highlighted log is the SE UID, OEF ID and JCOP Platform ID.&lt;/P&gt;&lt;P&gt;10.7.2 Using VCOM and binary&lt;BR /&gt;Plug &amp;amp; Trust MW Documentation&lt;BR /&gt;• Flash VCOM binary present in binaries directory accorfing to your board.&lt;BR /&gt;• Check VCOM Port number in device manager.&lt;BR /&gt;• Build project se05x_GetInfo with the following configuration:– SMCOM: VCOM– Host: PCWindows&lt;BR /&gt;• Run the built binary as:&lt;BR /&gt;se05x_GetInfo.exe COMxx&lt;BR /&gt;Where COMxx is the VCOM port number obtained from step 2.&lt;BR /&gt;The highlighted log is the SE UID, OEF ID and JCOP Platform ID&lt;/P&gt;&lt;P&gt;10.7.3 Using ssscli Tool&lt;BR /&gt;Plug &amp;amp; Trust MW Documentation&lt;BR /&gt;• Flash VCOM binary present in binaries directory accorfing to your board.&lt;BR /&gt;• Check VCOM Port number in device manager.&lt;BR /&gt;• Run the following commands in binaries/PCWindows/ssscli directory:&lt;BR /&gt;ssscli.exe connect se050 vcom COMxx&lt;BR /&gt;ssscli.exe se05x uid&lt;BR /&gt;ssscli.exe disconnect&lt;BR /&gt;Where COMxx is the VCOM Port number obtained in step 2.&lt;BR /&gt;The highlighted log is the SE UID&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 07:22:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2408067#M194</guid>
      <dc:creator>db16122</dc:creator>
      <dc:date>2026-08-25T07:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: SCP03 Authentication Failure on SE050C2</title>
      <link>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2408091#M195</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you for the guidance.&lt;BR /&gt;&lt;BR /&gt;Regarding the log information, here is the full trace I get right before and during the MAC verification error:&lt;BR /&gt;&lt;BR /&gt;sss :INFO :atr (Len=35)&lt;BR /&gt;00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08 01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41 54 50 4F&lt;BR /&gt;scp :ERROR: RESPONSE MAC DID NOT VERIFY 7042&lt;BR /&gt;sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:6291 Function:sss_se05x_TXn&lt;BR /&gt;sss :WARN :nxEnsure:'status == SM_OK' failed. At Line:5119 Function:sss_se05x_cipher_one_go&lt;BR /&gt;&lt;BR /&gt;Regarding reading the OEF ID: I am using an ESP32 as the host MCU, not an NXP evaluation board like FRDM or iMX. Therefore, I cannot directly flash the pre-built binaries or easily use the Windows VCOM / ssscli methods you mentioned.&lt;BR /&gt;&lt;BR /&gt;Since I am on ESP-IDF, can I simply compile and run the "se05x_GetInfo" example provided inside the simw-top middleware directly on my ESP32 to read the OEF ID?&lt;BR /&gt;&lt;BR /&gt;Alternatively, is there a simple C function I can temporarily add to my current main.c (before SCP03 is initialized) to print the OEF ID and UID to the console?&lt;BR /&gt;&lt;BR /&gt;Thank you for your support.</description>
      <pubDate>Tue, 25 Aug 2026 08:29:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2408091#M195</guid>
      <dc:creator>erdemv838</dc:creator>
      <dc:date>2026-08-25T08:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: SCP03 Authentication Failure on SE050C2</title>
      <link>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2408380#M196</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/265599"&gt;@erdemv838&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest using nano package + zephyr which supports&amp;nbsp;&lt;SPAN&gt;ESP32 without any porting needed, so that you may narrow down the possible causes for your issue. Please refer to&amp;nbsp;&lt;A href="https://github.com/NXPPlugNTrust/nano-package/blob/master/zephyr/readme.rst" target="_blank"&gt;https://github.com/NXPPlugNTrust/nano-package/blob/master/zephyr/readme.rst&lt;/A&gt;&amp;nbsp;for more details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2026 06:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/SCP03-Authentication-Failure-on-SE050C2/m-p/2408380#M196</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2026-08-26T06:26:25Z</dc:date>
    </item>
  </channel>
</rss>

