<?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: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp;amp; Trust Nano Package in Secure Authentication</title>
    <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2204972#M1932</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210184"&gt;@krsuresh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried your code in the demo of ex_se05x_sign, and the result is good as expected, I tested it with OM-SE051ARD and raspberry Pi 3B+, Please kindly refer to the following for details.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_0-1763104753432.png" style="width: 689px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365655i58978EA158A660D5/image-dimensions/689x455?v=v2" width="689" height="455" role="button" title="Kan_Li_0-1763104753432.png" alt="Kan_Li_0-1763104753432.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to use the latest version and try again? maybe you can also try to delete all the ECCurves and recreate the one you need before the test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Nov 2025 07:20:50 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2025-11-14T07:20:50Z</dc:date>
    <item>
      <title>Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2201735#M1920</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am currently using the Plug &amp;amp; Trust Nano package to read the ECC curve details from the SE050.&lt;BR /&gt;However, I am consistently receiving zero values for the curve details, even though the function call returns a success status.&lt;/P&gt;&lt;P&gt;I have reviewed the APDU configuration and verified my setup based on the following NXP community discussion, but I did not find any issues:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/Secure-Authentication/Read-ECC-Curvelist-fails-when-SCP03-enabled/m-p/1664562?profile.language=zh-CN" target="_blank"&gt;https://community.nxp.com/t5/Secure-Authentication/Read-ECC-Curvelist-fails-when-SCP03-enabled/m-p/1664562?profile.language=zh-CN&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Could you please advise on the possible cause of this issue and how I can correctly retrieve the ECC curve details from the SE050?&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Environment details:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;SE050 variant: SE050-C and SE050-F&lt;BR /&gt;Package: Plug &amp;amp; Trust Nano&lt;BR /&gt;SCP03 status: Enabled&lt;BR /&gt;Host platform: Raspberry Pi&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Code Details:&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;status = Se05x_API_ReadECCurveList(&amp;amp;se05x_session, curveList, &amp;amp;curveListLen);&lt;BR /&gt;printf("curveListLen: %d\n", curveListLen);&lt;BR /&gt;if (status == SM_OK) {&lt;BR /&gt;printf("Supported ECC Curves:\n");&lt;BR /&gt;for (i = 0; i &amp;lt; curveListLen; i++) {&lt;BR /&gt;printf(" Curve ID: 0x%02X\n", curveList[i]);&lt;BR /&gt;}&lt;BR /&gt;} else {&lt;BR /&gt;printf("Failed to read curve list\n");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;smStatus_t Se05x_API_ReadECCurveList(pSe05xSession_t session_ctx, uint8_t *data, size_t *pdataLen)&lt;BR /&gt;{&lt;BR /&gt;smStatus_t retStatus = SM_NOT_OK;&lt;BR /&gt;tlvHeader_t hdr = {{kSE05x_CLA, kSE05x_INS_READ, kSE05x_P1_CURVE, kSE05x_P2_LIST}};&lt;BR /&gt;size_t cmdbufLen = 0;&lt;BR /&gt;uint8_t *pCmdbuf = NULL;&lt;BR /&gt;int tlvRet = 0;&lt;BR /&gt;uint8_t *pRspbuf = NULL;&lt;BR /&gt;size_t rspbufLen = 0;&lt;/P&gt;&lt;P&gt;ENSURE_OR_GO_CLEANUP(session_ctx != NULL);&lt;/P&gt;&lt;P&gt;memset(session_ctx-&amp;gt;apdu_buffer, 0, sizeof(session_ctx-&amp;gt;apdu_buffer));&lt;/P&gt;&lt;P&gt;pCmdbuf = &amp;amp;session_ctx-&amp;gt;apdu_buffer[0];&lt;BR /&gt;pRspbuf = &amp;amp;session_ctx-&amp;gt;apdu_buffer[0];&lt;BR /&gt;rspbufLen = sizeof(session_ctx-&amp;gt;apdu_buffer);&lt;/P&gt;&lt;P&gt;SMLOG_D("APDU - Se05x_API_ReadECCurveList [] \n");&lt;/P&gt;&lt;P&gt;retStatus = DoAPDUTxRx(session_ctx, &amp;amp;hdr, session_ctx-&amp;gt;apdu_buffer, cmdbufLen, pRspbuf, &amp;amp;rspbufLen, 1);&lt;BR /&gt;&lt;BR /&gt;if (retStatus == SM_OK) {&lt;BR /&gt;size_t rspIndex = 0;&lt;BR /&gt;tlvRet = tlvGet_u8buf(pRspbuf, &amp;amp;rspIndex, rspbufLen, kSE05x_TAG_1, data, pdataLen); /* */&lt;BR /&gt;if (0 != tlvRet) {&lt;BR /&gt;goto cleanup;&lt;BR /&gt;}&lt;BR /&gt;if ((rspIndex + 2) == rspbufLen) {&lt;BR /&gt;retStatus = (pRspbuf[rspIndex] &amp;lt;&amp;lt; 8 | (pRspbuf[rspIndex + 1]));&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;if (retStatus == SM_ERR_ACCESS_DENIED_BASED_ON_POLICY) {&lt;BR /&gt;SMLOG_I("Denied to ReadECCurveList");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;cleanup:&lt;BR /&gt;return retStatus;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sureshkumar R&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 09:28:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2201735#M1920</guid>
      <dc:creator>krsuresh</dc:creator>
      <dc:date>2025-11-10T09:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2202213#M1921</link>
      <description>&lt;P&gt;Please find the APDU log details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krsuresh_0-1762823698890.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/364779i40ED497EDC93E763/image-size/medium?v=v2&amp;amp;px=400" role="button" title="krsuresh_0-1762823698890.png" alt="krsuresh_0-1762823698890.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 01:15:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2202213#M1921</guid>
      <dc:creator>krsuresh</dc:creator>
      <dc:date>2025-11-11T01:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2202261#M1922</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210184"&gt;@krsuresh&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;Thanks for the info! have you tried the plain communication with SE050C？ The log should be something like below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_0-1762828359549.png" style="width: 666px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/364799i7D864CAC842FBB90/image-dimensions/666x218?v=v2" width="666" height="218" role="button" title="Kan_Li_0-1762828359549.png" alt="Kan_Li_0-1762828359549.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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 02:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2202261#M1922</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-11-11T02:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2202290#M1923</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your prompt response.&lt;/P&gt;&lt;P&gt;Please find attached the APDU log details captured in &lt;STRONG&gt;open mode&lt;/STRONG&gt;. I have observed that the Se05x_API_ReadECCurveList API returns a failure in open mode, whereas it executes successfully in &lt;STRONG&gt;secure mode&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Kindly review the provided details and advise if there are any steps or configurations I might have missed in the flow.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Build steps followed:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;$ cmake ..&lt;BR /&gt;$ make&lt;BR /&gt;$ ./build/src/se05x_app&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krsuresh_0-1762830074736.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/364806iB6786A836C804689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="krsuresh_0-1762830074736.png" alt="krsuresh_0-1762830074736.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sureshkumar R&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 03:07:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2202290#M1923</guid>
      <dc:creator>krsuresh</dc:creator>
      <dc:date>2025-11-11T03:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2202691#M1924</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;,&lt;/P&gt;&lt;DIV&gt;While generating an ECC key pair, the Se05x_API_WriteECKey function returns 0x6985 on the SE050-C board.&lt;/DIV&gt;&lt;DIV&gt;The same code was working fine on this board previously, and it is still working correctly on the SE050-F board.&lt;/DIV&gt;&lt;DIV&gt;This issue occurred suddenly, and I am unable to determine the cause. Kindly help me to resolve this issue.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SE05x_ECCurve_t curveID = kSE05x_ECCurve_NIST_P256;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; status = Se05x_API_WriteECKey(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;se05x_session, NULL, 0, keyID, curveID, NULL, 0, NULL, 0, kSE05x_INS_NA, kSE05x_KeyPart_Pair);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if (status != SM_OK) {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SMLOG_E("Error in Se05x_API_WriteECKey \n");&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 1;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; }&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sureshkumar R&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 10:37:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2202691#M1924</guid>
      <dc:creator>krsuresh</dc:creator>
      <dc:date>2025-11-11T10:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2203084#M1925</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210184"&gt;@krsuresh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the info! Have you modified the source code of nano package? Looks like your code is different from the code from the Github repo. Please kindly refer to&amp;nbsp;&lt;A href="https://github.com/NXPPlugNTrust/nano-package/blob/737b61c527d4145f6dc96db9b51e22a4067ca09c/lib/apdu/se05x_APDU_impl.c#L998" target="_blank"&gt;https://github.com/NXPPlugNTrust/nano-package/blob/737b61c527d4145f6dc96db9b51e22a4067ca09c/lib/apdu/se05x_APDU_impl.c#L998&lt;/A&gt;&amp;nbsp;for 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>Wed, 12 Nov 2025 02:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2203084#M1925</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-11-12T02:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2203142#M1926</link>
      <description>&lt;DIV&gt;I have not made any code changes. I am using the older Plug &amp;amp; Trust package version v1.2.1 because, in the latest version, I am facing build issues when building with SCP03 mode (PLUGANDTRUST_SCP03) enabled.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;The steps I followed to build in SCP mode are:&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;mkdir build &amp;amp;&amp;amp; cd build&lt;/DIV&gt;&lt;DIV&gt;cmake -DPLUGANDTRUST_SCP03=ON ..&lt;/DIV&gt;&lt;DIV&gt;make&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;/usr/bin/ld: build/libse05x_lib.a(se05x_APDU_impl.c.o): in function `Se05x_API_SessionOpen':&lt;/DIV&gt;&lt;DIV&gt;se05x_APDU_impl.c:(.text+0x384): undefined reference to `Se05x_API_SCP03_CreateSession'&lt;/DIV&gt;&lt;DIV&gt;/usr/bin/ld: build/libse05x_lib.a(se05x_tlv.c.o): in function `DoAPDUTx':&lt;/DIV&gt;&lt;DIV&gt;se05x_tlv.c:(.text+0xe90): undefined reference to `Se05x_API_SCP03_Encrypt'&lt;/DIV&gt;&lt;DIV&gt;/usr/bin/ld: se05x_tlv.c:(.text+0xf0c): undefined reference to `Se05x_API_SCP03_Decrypt'&lt;/DIV&gt;&lt;DIV&gt;/usr/bin/ld: build/libse05x_lib.a(se05x_tlv.c.o): in function `DoAPDUTxRx':&lt;/DIV&gt;&lt;DIV&gt;se05x_tlv.c:(.text+0x11d0): undefined reference to `Se05x_API_SCP03_Encrypt'&lt;/DIV&gt;&lt;DIV&gt;/usr/bin/ld: se05x_tlv.c:(.text+0x1248): undefined reference to `Se05x_API_SCP03_Decrypt'&lt;/DIV&gt;&lt;DIV&gt;collect2: error: ld returned 1 exit status&lt;/DIV&gt;&lt;DIV&gt;make[2]: *** [CMakeFiles/ex_se05x_GetInfo.dir/build.make:114: ex_se05x_GetInfo] Error 1&lt;/DIV&gt;&lt;DIV&gt;make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/ex_se05x_GetInfo.dir/all] Error 2&lt;/DIV&gt;&lt;DIV&gt;make: *** [Makefile:91: all] Error 2&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The same issue is observed in both the older and the latest code versions, even when operating in open (non-SCP) mode.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;./ex_se05x_sign&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Se05x Sign Example !&lt;/DIV&gt;&lt;DIV&gt;Plug and Trust nano package -&lt;STRONG&gt; version: 1.5.4&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;I2C driver supports plain i2c-level commands.&lt;/DIV&gt;&lt;DIV&gt;Generate ecc key&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Error in Se05x_API_WriteECKey&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;SE05x Sign Example Failed !&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;./ex_se05x_sign&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Se05x Sign Example !&lt;/DIV&gt;&lt;DIV&gt;Plug and Trust nano package -&lt;STRONG&gt; version: 1.2.1&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;I2C driver supports plain i2c-level commands.&lt;/DIV&gt;&lt;DIV&gt;Generate ecc key&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Error in Se05x_API_WriteECKey&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;SE05x Sign Example Failed !&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Sureshkumar R&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Nov 2025 03:27:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2203142#M1926</guid>
      <dc:creator>krsuresh</dc:creator>
      <dc:date>2025-11-12T03:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2203246#M1927</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;.,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe this issue began after executing the &lt;STRONG&gt;kSE05x_ECCurve_NIST_P384/ kSE05x_ECCurve_NIST_P521&lt;/STRONG&gt; sample.&amp;nbsp;Based on the Plug &amp;amp; Trust full package, the se05x_Minimal and se05x_GetInfo examples are functioning correctly;&amp;nbsp;however, the &lt;STRONG&gt;ex_ecc&lt;/STRONG&gt; and &lt;STRONG&gt;ex_ecc_rsa&lt;/STRONG&gt; examples are failing.&amp;nbsp;Could it be that the secure memory has been locked? I am still able to perform &lt;STRONG&gt;Se05x_API_WriteBinary&lt;/STRONG&gt; operations using the Nano package.&lt;BR /&gt;Kindly advise if there is any option to perform a complete reset of the SE050 device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sureshkumar R&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 05:42:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2203246#M1927</guid>
      <dc:creator>krsuresh</dc:creator>
      <dc:date>2025-11-12T05:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2204972#M1932</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210184"&gt;@krsuresh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried your code in the demo of ex_se05x_sign, and the result is good as expected, I tested it with OM-SE051ARD and raspberry Pi 3B+, Please kindly refer to the following for details.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_0-1763104753432.png" style="width: 689px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365655i58978EA158A660D5/image-dimensions/689x455?v=v2" width="689" height="455" role="button" title="Kan_Li_0-1763104753432.png" alt="Kan_Li_0-1763104753432.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to use the latest version and try again? maybe you can also try to delete all the ECCurves and recreate the one you need before the test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 07:20:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2204972#M1932</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-11-14T07:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2207322#M1933</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;I have two follow-up questions regarding ECC curve support in SE05x.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) Curve list retrieval&lt;/STRONG&gt;&lt;BR /&gt;As per your input, Se05x_API_ReadECCurveList() works fine in the latest code.&lt;BR /&gt;Now I am able to read the curve family list(like, NIST-P, Brainpool) correctly.&lt;BR /&gt;However, I still need clarification on how to get the exact supported ECC curves such as:&lt;/P&gt;&lt;P&gt;NIST-P192 (0x01)&lt;BR /&gt;NIST-P224 (0x02)&lt;BR /&gt;NIST-P256 (0x03)&lt;BR /&gt;NIST-P384 (0x04)&lt;BR /&gt;NIST-P521 (0x05)&lt;BR /&gt;Is there any API or recommended method to read the full list of specific curve IDs supported by the SE05x?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) Key write failures&lt;/STRONG&gt;&lt;BR /&gt;When I try to create or use curve NIST-P384, I get an error:&lt;BR /&gt;Se05x_API_CreateECCurve(&amp;amp;se05x_session, kSE05x_ECCurve_NIST_P384);&lt;/P&gt;&lt;P&gt;After this, all EC key write or key generation operations fail with:&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Error in Se05x_API_WriteECKey&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Even if I switch back to kSE05x_ECCurve_NIST_P256, the issue persists.&lt;BR /&gt;Currently, I am unable to perform any write operations on both of my boards:&lt;/P&gt;&lt;P&gt;* OM-SE050ARD&lt;BR /&gt;* OM-SE050ARD-F&lt;/P&gt;&lt;P&gt;It seems that attempting P-384 has caused all key write operations to fail.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Could you please clarify:&lt;/STRONG&gt;&lt;BR /&gt;* Does SE05x fully support NIST-P384?&lt;BR /&gt;* Why are all write operations failing even after switching back to P-256?&lt;BR /&gt;* Is there a way to reset or recover the SE05x to a known working state?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sureshkumar R&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 06:06:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2207322#M1933</guid>
      <dc:creator>krsuresh</dc:creator>
      <dc:date>2025-11-19T06:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2217314#M1934</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;As per the latest Nano package code, the se05x_crypto sample works correctly for NIST-P384, but all operations for NIST-P256 fail.&lt;BR /&gt;If I change to NIST-P384 (curveID = 4), does this mean the chip will no longer support NIST-P256?&lt;/P&gt;&lt;P&gt;* Is this expected behavior on SE05x when switching from P256 to P384?&lt;BR /&gt;* Is there a recommended procedure to recover NIST-P256 operations if NIST-P384 has been used?&lt;/P&gt;&lt;P&gt;Log details for se05x_crypto&lt;BR /&gt;Se05x crypto Example !&lt;BR /&gt;Plug and Trust nano package - version: 1.5.4&lt;BR /&gt;I2C driver supports plain i2c-level commands.&lt;BR /&gt;Establish Secure Channel to SE05x !&lt;BR /&gt;Created scp03 Session&lt;BR /&gt;Get Version ==&amp;gt;&lt;BR /&gt;Applet Version 3.6.0&lt;BR /&gt;ex_get_version, PASSED&lt;BR /&gt;Error in Se05x_API_WriteECKey&lt;BR /&gt;ex_generate_nist256_key, FAILED&lt;BR /&gt;Error in Se05x_API_WriteECKey&lt;BR /&gt;ex_set_get_nist256_key, FAILED&lt;BR /&gt;Error in Se05x_API_WriteECKey&lt;BR /&gt;ex_nist256_sign_verify, FAILED&lt;BR /&gt;curveID = 4 already exists&lt;BR /&gt;ex_generate_nist384_key, PASSED&lt;BR /&gt;ex_set_get_nist384_key, PASSED&lt;BR /&gt;ex_nist384_sign_verify, PASSED&lt;BR /&gt;ex_set_certificate, PASSED&lt;BR /&gt;Error in Se05x_API_WriteECKey&lt;BR /&gt;ex_ecdh, FAILED&lt;BR /&gt;ex_aes_ECB_NOPAD, PASSED&lt;BR /&gt;ex_aes_CBC_NOPAD, PASSED&lt;BR /&gt;ex_aes_CTR, PASSED&lt;BR /&gt;Error in Se05x_API_WriteECKey&lt;BR /&gt;ex_nist256_sign_policy, FAILED&lt;BR /&gt;Error in Se05x_API_WriteECKey&lt;BR /&gt;ex_read_attst_object, FAILED&lt;BR /&gt;Close i2c device 3.&lt;BR /&gt;SE05x crypto Example Success !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sureshkumar R&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 06:50:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2217314#M1934</guid>
      <dc:creator>krsuresh</dc:creator>
      <dc:date>2025-11-20T06:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2217367#M1935</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210184"&gt;@krsuresh&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to enable the debug log? You may enable this by modifying the prj.conf file with the following configurations:&lt;/P&gt;
&lt;P&gt;CONFIG_LOG=&lt;STRONG&gt;y&lt;/STRONG&gt;&lt;BR /&gt;CONFIG_PLUGANDTRUST_LOG_LEVEL_DBG=&lt;STRONG&gt;y&lt;/STRONG&gt;&lt;BR /&gt;CONFIG_LOG_MODE_IMMEDIATE=&lt;STRONG&gt;y&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 07:08:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2217367#M1935</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-11-20T07:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2218390#M1936</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the quick response.&lt;/P&gt;&lt;P&gt;I thought prj.conf was only used for Zephyr and not for Linux. For my Linux build, I enabled the debug logs using -DPLUGANDTRUST_DEBUG_LOGS=ON instead. The debug output is attached here for your reference.&lt;/P&gt;&lt;P&gt;Please let me know if there is any additional configuration needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sureshkumar R&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 08:29:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2218390#M1936</guid>
      <dc:creator>krsuresh</dc:creator>
      <dc:date>2025-11-20T08:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2219254#M1937</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210184"&gt;@krsuresh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks but I could not find the attachment, would you please update your message with the new log?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kan&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 09:42:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2219254#M1937</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-11-20T09:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2228845#M1938</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the log details attached. I am unsure why the attachment is not displaying on your end, even though I have already included the log information here.&lt;/P&gt;&lt;P&gt;Log Details:&lt;/P&gt;&lt;P&gt;Se05x crypto Example !&lt;BR /&gt;Plug and Trust nano package - version: 1.5.4&lt;BR /&gt;I2C driver supports plain i2c-level commands.&lt;BR /&gt;APDU Tx&amp;gt; :00 a4 04 00 10 a0 00 00 03 96 54 53 00 00 00 01 03 00 00 00 00 00&lt;BR /&gt;APDU Rx&amp;lt; :03 01 00 6f ff 01 0b 90 00&lt;BR /&gt;Establish Secure Channel to SE05x !&lt;BR /&gt;hostChallenge ==&amp;gt; :11 22 33 44 55 66 77 88&lt;BR /&gt;Sending GP Initialize Update Command !!!&lt;BR /&gt;APDU Tx&amp;gt; :80 50 0b 00 08 11 22 33 44 55 66 77 88&lt;BR /&gt;APDU Rx&amp;lt; :90 03 92 84 04 50 05 99 37 34 0b 03 00 49 87 9e 91 c8 8e a5 05 4e c7 68 e0 01 db cd fb 90 00&lt;BR /&gt;Output: keyDivData :90 03 92 84 04 50 05 99 37 34&lt;BR /&gt;Output: keyInfo :0b 03 00&lt;BR /&gt;Output: cardChallenge :49 87 9e 91 c8 8e a5 05&lt;BR /&gt;Output: cardCryptoGram :4e c7 68 e0 01 db cd fb&lt;BR /&gt;Set the Derviation data to generate Session ENC key&lt;BR /&gt;Output:scp03_session_enc_Key ==&amp;gt; :3b aa cc 97 b6 9a c8 67 81 1c 43 da 4b c8 50 ac&lt;BR /&gt;Set the Derviation data to generate Session MAC key&lt;BR /&gt;Output:scp03_session_mac_Key ==&amp;gt; :50 aa 3d e2 bd 41 13 f8 4f 99 4c e1 24 08 65 3d&lt;BR /&gt;Set the Derviation data to generate Session RMAC key&lt;BR /&gt;Output:scp03_session_rmac_Key ==&amp;gt; :b4 ab 4b 42 1a b5 47 8f 0e e9 47 36 9d 52 a1 8c&lt;BR /&gt;Output:cardCryptogram ==&amp;gt; :4e c7 68 e0 01 db cd fb fb 61 21 7c aa 3b c8 fd&lt;BR /&gt;cardCryptoGram ==&amp;gt; :4e c7 68 e0 01 db cd fb&lt;BR /&gt;CardCryptogram verified successfully...Calculate HostCryptogram&lt;BR /&gt;Output:hostCryptogram ==&amp;gt; :0d fd 88 98 2e f2 d9 18 93 36 df 2c 42 76 52 1c&lt;BR /&gt;hostCryptogram ==&amp;gt; :0d fd 88 98 2e f2 d9 18&lt;BR /&gt;Output: Calculated MAC ==&amp;gt; :35 2e 69 65 bc 68 58 32 22 ce aa fc 6c ef 60 80&lt;BR /&gt;Add calculated MAC Value to cmd DataSending GP External Authenticate Command !!!APDU Tx&amp;gt; :84 82 33 00 10 0d fd 88 98 2e f2 d9 18 35 2e 69 65 bc 68 58 32&lt;BR /&gt;APDU Rx&amp;lt; :90 00&lt;BR /&gt;Authentication Successful!!!&lt;BR /&gt;Created scp03 Session&lt;BR /&gt;Get Version ==&amp;gt;&lt;BR /&gt;APDU - GetVersion []&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 04 00 20 08 f0 fa c1 18 c7 92 28 ea&lt;BR /&gt;APDU Tx&amp;gt; :84 04 00 20 08 f0 fa c1 18 c7 92 28 ea&lt;BR /&gt;APDU Rx&amp;lt; :b6 3b eb a7 99 31 df c8 8d 5b e9 5b 8d bd 8d 03 13 08 e8 34 6a c5 b6 0c 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :41 82 00 07 03 01 00 6f ff 01 0b 90 00&lt;BR /&gt;Applet Version 3.1.0&lt;BR /&gt;ex_get_version, PASSED&lt;BR /&gt;APDU - CheckObjectExists []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["object id"] = 0x7B0001F3&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 04 00 27 18 ed cb 0e b5 59 73 8e 7c d0 a2 27 f5 a4 93 f9 d0 1f 1f 2b 97 1f 55 b9 bb&lt;BR /&gt;APDU Tx&amp;gt; :84 04 00 27 18 ed cb 0e b5 59 73 8e 7c d0 a2 27 f5 a4 93 f9 d0 1f 1f 2b 97 1f 55 b9 bb&lt;BR /&gt;APDU Rx&amp;lt; :73 a3 2a 78 0b 78 a0 e3 09 07 f3 9e 25 bb 38 1b 6b 50 49 fa 36 fb f5 38 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :41 01 02 90 00&lt;BR /&gt;APDU - Se05x_API_CreateECCurve []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["curve id"] = 0x3&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 01 0b 04 18 a9 e2 3c 38 29 44 85 c3 74 71 60 4d ed 0a a2 93 30 71 36 d7 0f 96 dd c2&lt;BR /&gt;APDU Tx&amp;gt; :84 01 0b 04 18 a9 e2 3c 38 29 44 85 c3 74 71 60 4d ed 0a a2 93 30 71 36 d7 0f 96 dd c2&lt;BR /&gt;APDU Rx&amp;lt; :84 2c c7 02 74 30 da dc 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :90 00&lt;BR /&gt;APDU - Se05x_API_SetECCurveParam []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["curve id"] = 0x3&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_2["ecCurveParam"] = 0x1&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_3["inputData"] :ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fe ff ff ff ff 00 00 00 00 00 00 00 00 ff ff ff fc&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 01 0b 40 48 9d 8b bf 11 43 e1 fb 31 17 34 36 e2 5e 4f d1 bd e5 ee 66 37 98 c5 32 83 e0 cb fb 52 47 37 52 a8 dc 1f a5 08 a5 1d b0 2d 98 b2 17 2f 50 2c 61 1d 4e 87 64 57 80 99 e5 b2 a3 37 70 17 80 ad ae 7f 63 cf 10 85 92 8a 5b 04&lt;BR /&gt;APDU Tx&amp;gt; :84 01 0b 40 48 9d 8b bf 11 43 e1 fb 31 17 34 36 e2 5e 4f d1 bd e5 ee 66 37 98 c5 32 83 e0 cb fb 52 47 37 52 a8 dc 1f a5 08 a5 1d b0 2d 98 b2 17 2f 50 2c 61 1d 4e 87 64 57 80 99 e5 b2 a3 37 70 17 80 ad ae 7f 63 cf 10 85 92 8a 5b 04&lt;BR /&gt;APDU Rx&amp;lt; :69 85&lt;BR /&gt;Error in ex_se05x_create_curve&lt;BR /&gt;ex_generate_nist256_key, FAILED&lt;BR /&gt;APDU - CheckObjectExists []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["object id"] = 0x7B000223&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 04 00 27 18 fc d1 4c 76 77 1c 23 86 f4 0a e6 6c 74 40 74 f9 ac a8 25 20 16 28 3a 1a&lt;BR /&gt;APDU Tx&amp;gt; :84 04 00 27 18 fc d1 4c 76 77 1c 23 86 f4 0a e6 6c 74 40 74 f9 ac a8 25 20 16 28 3a 1a&lt;BR /&gt;APDU Rx&amp;lt; :08 5a fe 92 6c 33 d0 be 7b 6e 11 d8 b7 fe b4 d7 a5 53 5c f6 dc ae 3b 69 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :41 01 02 90 00&lt;BR /&gt;APDU - WriteECKey []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_MAX_ATTEMPTS["maxAttempt"] = 0x0&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["object id"] = 0x7B000223&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_2["curveID"] = 0x3&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_3["privKey"] :e4 ee 5f 99 d9 d8 37 8f 39 c2 c9 fd a9 12 5e a7 3f b8 fd 00 b5 19 e6 94 1e f1 34 75 8d 33 59 8a&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_4["pubKey"] :04 f2 24 bc 5e ea 74 28 a1 20 d3 d2 69 fe 22 f3 59 9c 20 33 a2 e0 cb 81 c2 ce a9 d6 d4 66 c3 68 f8 b6 a8 9c de 08 88 b5 49 cd ed 85 d3 b5 88 72 0a dc 26 32 b0 30 bf b1 67 d0 fd bc 89 e7 2b 9c c1&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 01 61 00 78 78 06 6e 6b 30 9d 1e 3a 1e 5e 5a 42 54 ef b4 04 17 db ab 49 3e e6 4a 90 29 64 13 73 2a bb 9e ce 27 f0 5d 04 4c 96 8b c6 cb e4 15 74 7a 75 97 35 08 c2 98 c0 3b 8f 6d fa 58 f8 f5 23 f6 f4 ca 96 8e 1b c3 f2 c3 c1 66 33 e9 24 e1 cd 83 ca a1 47 5d d6 e5 fb c0 ec e8 52 d0 c0 7f b6 32 fb e1 75 ab d4 36 38 ba a6 8a 06 15 1b d4 13 a9 e8 f7 6e cf c7 96 75 0a b7 54 82&lt;BR /&gt;APDU Tx&amp;gt; :84 01 61 00 78 78 06 6e 6b 30 9d 1e 3a 1e 5e 5a 42 54 ef b4 04 17 db ab 49 3e e6 4a 90 29 64 13 73 2a bb 9e ce 27 f0 5d 04 4c 96 8b c6 cb e4 15 74 7a 75 97 35 08 c2 98 c0 3b 8f 6d fa 58 f8 f5 23 f6 f4 ca 96 8e 1b c3 f2 c3 c1 66 33 e9 24 e1 cd 83 ca a1 47 5d d6 e5 fb c0 ec e8 52 d0 c0 7f b6 32 fb e1 75 ab d4 36 38 ba a6 8a 06 15 1b d4 13 a9 e8 f7 6e cf c7 96 75 0a b7 54 82&lt;BR /&gt;APDU Rx&amp;lt; :69 85&lt;BR /&gt;Error in Se05x_API_WriteECKey&lt;BR /&gt;ex_set_get_nist256_key, FAILED&lt;BR /&gt;APDU - CheckObjectExists []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["object id"] = 0x7B00025E&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 04 00 27 18 96 34 9b ee 76 9f 60 d1 08 4f 46 41 e8 df 1c 24 f5 d3 71 f5 b1 be cf 19&lt;BR /&gt;APDU Tx&amp;gt; :84 04 00 27 18 96 34 9b ee 76 9f 60 d1 08 4f 46 41 e8 df 1c 24 f5 d3 71 f5 b1 be cf 19&lt;BR /&gt;APDU Rx&amp;lt; :d5 3f d5 a4 87 54 fa fe 1e cf e7 14 b9 19 21 ef cd 48 6f f4 c5 d5 0c ff 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :41 01 02 90 00&lt;BR /&gt;APDU - WriteECKey []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_MAX_ATTEMPTS["maxAttempt"] = 0x0&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["object id"] = 0x7B00025E&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_2["curveID"] = 0x3&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_3["privKey"] :&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_4["pubKey"] :&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 81 61 00 18 15 b7 bf a6 af 1a 00 63 b7 37 d1 c7 cb 14 70 31 ae 07 63 b6 01 be cf b1&lt;BR /&gt;APDU Tx&amp;gt; :84 81 61 00 18 15 b7 bf a6 af 1a 00 63 b7 37 d1 c7 cb 14 70 31 ae 07 63 b6 01 be cf b1&lt;BR /&gt;APDU Rx&amp;lt; :69 85&lt;BR /&gt;Error in Se05x_API_WriteECKey&lt;BR /&gt;ex_nist256_sign_verify, FAILED&lt;BR /&gt;APDU - Se05x_API_ReadECCurveList []&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 02 0b 25 08 e3 fc c6 50 cd 1b 88 50&lt;BR /&gt;APDU Tx&amp;gt; :84 02 0b 25 08 e3 fc c6 50 cd 1b 88 50&lt;BR /&gt;APDU Rx&amp;lt; :55 49 93 04 25 48 e5 02 b4 45 9a 75 98 40 2c a7 bd 22 8c 24 62 23 33 12 f8 a1 52 93 5b c4 34 32 19 f2 3c 1e e5 a8 82 a4 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :41 82 00 11 01 01 02 02 02 01 02 01 01 01 01 01 01 01 01 02 01 90 00&lt;BR /&gt;curveID = 4 already exists&lt;BR /&gt;APDU - CheckObjectExists []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["object id"] = 0x7B0002EF&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 04 00 27 18 d1 b6 cc 45 d1 7d ac 8d cb 3f c6 cb 45 48 00 6a c1 53 88 d8 a2 86 de 25&lt;BR /&gt;APDU Tx&amp;gt; :84 04 00 27 18 d1 b6 cc 45 d1 7d ac 8d cb 3f c6 cb 45 48 00 6a c1 53 88 d8 a2 86 de 25&lt;BR /&gt;APDU Rx&amp;lt; :f0 ff 7f 0d 5a ae 24 1d a5 01 6c 8e 22 a6 8a 43 f2 2d 86 29 f2 e8 6c 31 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :41 01 02 90 00&lt;BR /&gt;APDU - WriteECKey []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_MAX_ATTEMPTS["maxAttempt"] = 0x0&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["object id"] = 0x7B0002EF&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_2["curveID"] = 0x4&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_3["privKey"] :&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_4["pubKey"] :&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 01 61 00 18 be 74 54 b5 11 5d 57 12 d1 cf 85 61 10 d9 8a 51 61 15 b0 92 7a 91 7c ca&lt;BR /&gt;APDU Tx&amp;gt; :84 01 61 00 18 be 74 54 b5 11 5d 57 12 d1 cf 85 61 10 d9 8a 51 61 15 b0 92 7a 91 7c ca&lt;BR /&gt;APDU Rx&amp;lt; :be ac eb f1 87 4e e5 93 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :90 00&lt;BR /&gt;APDU - Se05x_API_DeleteSecureObject []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["object id"] = 0x7B0002EF&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 04 00 28 18 9c 5d 90 bf 78 d3 5f 13 d7 fc fa 20 23 9a 7f c1 37 61 f2 7c d3 3a a0 31&lt;BR /&gt;APDU Tx&amp;gt; :84 04 00 28 18 9c 5d 90 bf 78 d3 5f 13 d7 fc fa 20 23 9a 7f c1 37 61 f2 7c d3 3a a0 31&lt;BR /&gt;APDU Rx&amp;lt; :c3 e9 ab 19 4c 45 95 9e 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :90 00&lt;BR /&gt;ex_generate_nist384_key, PASSED&lt;BR /&gt;APDU - CheckObjectExists []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["object id"] = 0x7B00032F&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 04 00 27 18 0b 44 54 e9 70 89 ab 65 c9 bc 29 9b 79 f6 53 21 99 f6 44 e7 40 36 e6 da&lt;BR /&gt;APDU Tx&amp;gt; :84 04 00 27 18 0b 44 54 e9 70 89 ab 65 c9 bc 29 9b 79 f6 53 21 99 f6 44 e7 40 36 e6 da&lt;BR /&gt;APDU Rx&amp;lt; :81 d5 e6 69 21 05 7e 38 7e 30 90 6c 09 ad 30 ce 8d 36 dc 7c 3d 9f 2d 46 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :41 01 02 90 00&lt;BR /&gt;APDU - WriteECKey []&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sureshkumar R&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 02:06:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2228845#M1938</guid>
      <dc:creator>krsuresh</dc:creator>
      <dc:date>2025-11-21T02:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2248088#M1943</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210184"&gt;@krsuresh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the info! I can see&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;Se05x_API_SetECCurveParam&amp;nbsp;had a 6985 error, which means the curve has already be set up , but might not set up correctly, so you can not set it up again , neither using it for create key pairs, so please remove this curve at first. and re-run the se05x_crypto demo.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please kindly refer to the following for details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_0-1764053560292.png" style="width: 658px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/367094iAC093025C3FA4F42/image-dimensions/658x278?v=v2" width="658" height="278" role="button" title="Kan_Li_0-1764053560292.png" alt="Kan_Li_0-1764053560292.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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 06:53:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2248088#M1943</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-11-25T06:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2248200#M1944</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for the information. I have attempted to remove the curve using Se05x_API_DeleteECCurve, but I am still encountering the same 0x6985 error.&lt;BR /&gt;Could you please confirm if this is the correct procedure to delete a curve, or if I am missing any steps? Please find attached the debug log for your reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;status = Se05x_API_DeleteECCurve(session_ctx, kSE05x_ECCurve_NIST_P256);&lt;BR /&gt;if (status != SM_OK) {&lt;BR /&gt;SMLOG_E("Error in Se05x_API_DeleteECCurve \n");&lt;BR /&gt;return 1;&lt;BR /&gt;} else {&lt;BR /&gt;SMLOG_I("Curve Deleted Success.... \n");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;status = ex_se05x_create_curve(session_ctx, curveID);&lt;BR /&gt;if (status != SM_OK) {&lt;BR /&gt;SMLOG_I("Error in ex_se05x_create_curve \n");&lt;BR /&gt;goto exit;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Log Details:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ex_get_version, PASSED&lt;BR /&gt;APDU - CheckObjectExists []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["object id"] = 0x7B0001F3&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 04 00 27 18 d3 f3 89 46 7d af 66 e8 67 09 59 27 f3 cb f8 35 b2 3f 88 79 c3 50 2d 3f&lt;BR /&gt;APDU Tx&amp;gt; :84 04 00 27 18 d3 f3 89 46 7d af 66 e8 67 09 59 27 f3 cb f8 35 b2 3f 88 79 c3 50 2d 3f&lt;BR /&gt;APDU Rx&amp;lt; :7b 78 12 39 41 5e 28 e6 ef 8f 93 9c 4b 79 aa 3d 91 a6 7c fe fd 2d 88 15 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :41 01 02 90 00&lt;BR /&gt;&lt;STRONG&gt;APDU - Se05x_API_DeleteECCurve []&lt;/STRONG&gt;&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["curve id"] = 0x3&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 04 0b 28 18 4d d7 f6 7c 76 5b c8 d8 70 bb 72 9d 7e f1 7c 59 ea 04 a3 4c c8 37 65 56&lt;BR /&gt;APDU Tx&amp;gt; :84 04 0b 28 18 4d d7 f6 7c 76 5b c8 d8 70 bb 72 9d 7e f1 7c 59 ea 04 a3 4c c8 37 65 56&lt;BR /&gt;APDU Rx&amp;lt; :17 58 65 57 b6 41 08 ca 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;&lt;STRONG&gt;SCP03: Decrypted Data ==&amp;gt; :90 00 &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Curve Deleted Success....&lt;/STRONG&gt;&lt;BR /&gt;APDU - Se05x_API_CreateECCurve []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["curve id"] = 0x3&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 01 0b 04 18 2c 27 d5 77 43 c8 76 d8 29 04 8b d9 66 d4 db 3e f8 a4 85 a1 26 8c 91 d4&lt;BR /&gt;APDU Tx&amp;gt; :84 01 0b 04 18 2c 27 d5 77 43 c8 76 d8 29 04 8b d9 66 d4 db 3e f8 a4 85 a1 26 8c 91 d4&lt;BR /&gt;APDU Rx&amp;lt; :bf c3 26 f8 16 8a e0 d0 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :90 00&lt;BR /&gt;APDU - Se05x_API_SetECCurveParam []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["curve id"] = 0x3&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_2["ecCurveParam"] = 0x1&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_3["inputData"] :ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fe ff ff ff ff 00 00 00 00 00 00 00 00 ff ff ff fc&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 01 0b 40 48 0b a5 d4 2e 76 eb 95 a5 b0 44 a3 51 ff 9e ec 9d 5f d5 3f c6 98 fc 7c cf 0f 80 e2 59 d6 7b a6 14 07 01 a3 df bb 86 8b 2a 0e d5 f3 4c f3 c9 6b 07 02 1c 77 83 6e 85 e1 f6 dd 9b 9c 4c 6d c8 69 3d a1 df d3 45 e1 dd 6d 7a&lt;BR /&gt;APDU Tx&amp;gt; :84 01 0b 40 48 0b a5 d4 2e 76 eb 95 a5 b0 44 a3 51 ff 9e ec 9d 5f d5 3f c6 98 fc 7c cf 0f 80 e2 59 d6 7b a6 14 07 01 a3 df bb 86 8b 2a 0e d5 f3 4c f3 c9 6b 07 02 1c 77 83 6e 85 e1 f6 dd 9b 9c 4c 6d c8 69 3d a1 df d3 45 e1 dd 6d 7a&lt;BR /&gt;APDU Rx&amp;lt; :69 85&lt;BR /&gt;Error in ex_se05x_create_curve&lt;BR /&gt;ex_generate_nist256_key, FAILED&lt;BR /&gt;APDU - CheckObjectExists []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["object id"] = 0x7B00022C&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 04 00 27 18 94 09 fd ce 6b 42 04 6a f0 08 94 b7 b8 ff 23 63 08 c3 57 ed 9c 2f 1f 0b&lt;BR /&gt;APDU Tx&amp;gt; :84 04 00 27 18 94 09 fd ce 6b 42 04 6a f0 08 94 b7 b8 ff 23 63 08 c3 57 ed 9c 2f 1f 0b&lt;BR /&gt;APDU Rx&amp;lt; :be 03 06 02 b6 29 d7 d3 76 1b 10 bc 4a 6b 22 6b 83 8b f2 21 1b 48 67 e1 90 00&lt;BR /&gt;SCP03: RMAC verified successfully...Decrypt Response Data&lt;BR /&gt;SCP03: Decrypted Data ==&amp;gt; :41 01 02 90 00&lt;BR /&gt;APDU - WriteECKey []&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_MAX_ATTEMPTS["maxAttempt"] = 0x0&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_1["object id"] = 0x7B00022C&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_2["curveID"] = 0x3&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_3["privKey"] :e4 ee 5f 99 d9 d8 37 8f 39 c2 c9 fd a9 12 5e a7 3f b8 fd 00 b5 19 e6 94 1e f1 34 75 8d 33 59 8a&lt;BR /&gt;APDU :DEBUG:kSE05x_TAG_4["pubKey"] :04 f2 24 bc 5e ea 74 28 a1 20 d3 d2 69 fe 22 f3 59 9c 20 33 a2 e0 cb 81 c2 ce a9 d6 d4 66 c3 68 f8 b6 a8 9c de 08 88 b5 49 cd ed 85 d3 b5 88 72 0a dc 26 32 b0 30 bf b1 67 d0 fd bc 89 e7 2b 9c c1&lt;BR /&gt;SCP03: Encrypted Data ==&amp;gt; :84 01 61 00 78 4b c2 7d c9 fc a3 f5 01 27 7c d2 8d d3 03 01 bd bf 56 c6 04 9f 7e 58 40 fa c3 13 67 b2 9a 0e 1e c6 22 a9 87 06 23 74 6c 46 b0 0b 1f 9a e8 eb f3 78 c8 c9 88 a1 d8 ca 71 20 eb 86 ca d8 86 85 13 51 ba bc 3d ed 99 5d 5e f3 ea 79 5c 64 5b 09 bf 0d e2 6a 8e b3 a7 61 c8 e3 0e b4 bf 18 af 56 13 5a e2 4b dc bf 8e f2 db 9c a5 1e 16 df f7 45 cd a0 21 1a 82 78 b3 9f e2&lt;BR /&gt;APDU Tx&amp;gt; :84 01 61 00 78 4b c2 7d c9 fc a3 f5 01 27 7c d2 8d d3 03 01 bd bf 56 c6 04 9f 7e 58 40 fa c3 13 67 b2 9a 0e 1e c6 22 a9 87 06 23 74 6c 46 b0 0b 1f 9a e8 eb f3 78 c8 c9 88 a1 d8 ca 71 20 eb 86 ca d8 86 85 13 51 ba bc 3d ed 99 5d 5e f3 ea 79 5c 64 5b 09 bf 0d e2 6a 8e b3 a7 61 c8 e3 0e b4 bf 18 af 56 13 5a e2 4b dc bf 8e f2 db 9c a5 1e 16 df f7 45 cd a0 21 1a 82 78 b3 9f e2&lt;BR /&gt;APDU Rx&amp;lt; :69 85&lt;BR /&gt;Error in Se05x_API_WriteECKey&lt;BR /&gt;ex_set_get_nist256_key, FAILED&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sureshkumar R&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 08:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2248200#M1944</guid>
      <dc:creator>krsuresh</dc:creator>
      <dc:date>2025-11-25T08:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2249079#M1947</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210184"&gt;@krsuresh&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like you are using the api to generate ECC curve for nist384 to generate ECC curve for nist256, but keep the ECC parameters the same, so lead to this error, you have to use the parameters for nist256 instead.&lt;/P&gt;
&lt;P&gt;#define EC_PARAM_prime256v1_prime \&lt;BR /&gt;0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x01, \&lt;BR /&gt;0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \&lt;BR /&gt;0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, \&lt;BR /&gt;0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF&lt;BR /&gt;#define EC_PARAM_prime256v1_a \&lt;BR /&gt;0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x01, \&lt;BR /&gt;0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \&lt;BR /&gt;0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, \&lt;BR /&gt;0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC&lt;BR /&gt;#define EC_PARAM_prime256v1_b \&lt;BR /&gt;0x5A, 0xC6, 0x35, 0xD8, 0xAA, 0x3A, 0x93, 0xE7, \&lt;BR /&gt;0xB3, 0xEB, 0xBD, 0x55, 0x76, 0x98, 0x86, 0xBC, \&lt;BR /&gt;0x65, 0x1D, 0x06, 0xB0, 0xCC, 0x53, 0xB0, 0xF6, \&lt;BR /&gt;0x3B, 0xCE, 0x3C, 0x3E, 0x27, 0xD2, 0x60, 0x4B&lt;BR /&gt;#define EC_PARAM_prime256v1_x \&lt;BR /&gt;0x6B, 0x17, 0xD1, 0xF2, 0xE1, 0x2C, 0x42, 0x47, \&lt;BR /&gt;0xF8, 0xBC, 0xE6, 0xE5, 0x63, 0xA4, 0x40, 0xF2, \&lt;BR /&gt;0x77, 0x03, 0x7D, 0x81, 0x2D, 0xEB, 0x33, 0xA0, \&lt;BR /&gt;0xF4, 0xA1, 0x39, 0x45, 0xD8, 0x98, 0xC2, 0x96&lt;BR /&gt;#define EC_PARAM_prime256v1_y \&lt;BR /&gt;0x4F, 0xE3, 0x42, 0xE2, 0xFE, 0x1A, 0x7F, 0x9B, \&lt;BR /&gt;0x8E, 0xE7, 0xEB, 0x4A, 0x7C, 0x0F, 0x9E, 0x16, \&lt;BR /&gt;0x2B, 0xCE, 0x33, 0x57, 0x6B, 0x31, 0x5E, 0xCE, \&lt;BR /&gt;0xCB, 0xB6, 0x40, 0x68, 0x37, 0xBF, 0x51, 0xF5&lt;BR /&gt;#define EC_PARAM_prime256v1_order \&lt;BR /&gt;0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, \&lt;BR /&gt;0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, \&lt;BR /&gt;0xBC, 0xE6, 0xFA, 0xAD, 0xA7, 0x17, 0x9E, 0x84, \&lt;BR /&gt;0xF3, 0xB9, 0xCA, 0xC2, 0xFC, 0x63, 0x25, 0x51&lt;BR /&gt;#endif&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 Nov 2025 07:46:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2249079#M1947</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-11-26T07:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2249899#M1949</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for the clarification.&lt;/P&gt;&lt;P&gt;After applying the correct parameters, both the &lt;STRONG&gt;NIST256&lt;/STRONG&gt; and &lt;STRONG&gt;NIST384&lt;/STRONG&gt; ECC curves are now functioning as expected. Could you please provide the &lt;STRONG&gt;documentation or reference material related to the SetECCCurveParam&lt;/STRONG&gt; procedure that you referred to? Having this information would help me better understand the required parameter settings and the underlying behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sureshkumar R&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 01:49:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2249899#M1949</guid>
      <dc:creator>krsuresh</dc:creator>
      <dc:date>2025-11-27T01:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve ECC Curve Details from SE050 using Plug &amp; Trust Nano Package</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2250758#M1950</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210184"&gt;@krsuresh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great to know this issue has been solved! I was referring to the full version of MW, and the definition of ECC curve parameters can be found in "C:\SE-PLUG-TRUST-MW_04.07.01\simw-top\hostlib\hostLib\inc\se05x_ecc_curves_values.h".&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>Fri, 28 Nov 2025 03:35:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/Unable-to-Retrieve-ECC-Curve-Details-from-SE050-using-Plug-amp/m-p/2250758#M1950</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-11-28T03:35:35Z</dc:date>
    </item>
  </channel>
</rss>

