<?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>Smart Cards and Secure Element中的主题 Re: SE050 returns wrong length when generating ECC signature</title>
    <link>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/SE050-returns-wrong-length-when-generating-ECC-signature/m-p/1662295#M43</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218188"&gt;@djdirkj&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is your application based on the latest MW for SE05x? or just a demo out of the MW? Which platform is using with SE050? Would you please tell me more details about the SE050, such as variant, OEF ID, etc., I will try to reproduce this issue here.&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 Jun 2023 02:30:08 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2023-06-02T02:30:08Z</dc:date>
    <item>
      <title>SE050 returns wrong length when generating ECC signature</title>
      <link>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/SE050-returns-wrong-length-when-generating-ECC-signature/m-p/1661827#M42</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've been working with the #SE050 for ECDSA signature generation and I'm noticing that it sometimes returns a wrong length, and it is occurring in the ASN1.DER part of the response.&lt;/P&gt;&lt;P&gt;30 =&amp;gt; SEQUENCE&lt;/P&gt;&lt;P&gt;34 =&amp;gt; 52 bytes&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;02 =&amp;gt; INTEGER&lt;/P&gt;&lt;P&gt;18 =&amp;gt; 24 bytes&lt;/P&gt;&lt;P&gt;55 9e f2 42 37 34 a7 43 9c 7d&lt;BR /&gt;4d d5 d8 63 41 95 a8 da 51 df&lt;BR /&gt;2d 6b ae -&amp;gt; 23 bytes?&lt;/P&gt;&lt;P&gt;02 =&amp;gt; INTEGER&lt;BR /&gt;18 =&amp;gt; 24 bytes&lt;/P&gt;&lt;P&gt;6e 4c 69 ee 62 9a 8f cc aa cc&lt;BR /&gt;03 02 bb 31 9d ad 83 2a 3e bf&lt;BR /&gt;a6 43 ce df -&amp;gt; 24 bytes&lt;/P&gt;&lt;P&gt;90 00&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Another fault case&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;41 82 00 37 30 35&lt;/P&gt;&lt;P&gt;02 18&lt;BR /&gt;4a 59 98 83 45 6b 5c c4 79 c1&lt;BR /&gt;c8 c4 98 0a ae b8 db 60 f3 c5&lt;BR /&gt;1e 29 05 67&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;02 19&lt;BR /&gt;00 f9 75 95 a4 33 cb 9c 13 47&lt;BR /&gt;8b 43 eb 96 c5 34 a4 8b bb 0d&lt;BR /&gt;a1 06 ae 34&lt;/P&gt;&lt;P&gt;90 00&lt;/P&gt;&lt;P&gt;I'm curious if this is a known issue, it is very troublesome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 10:50:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/SE050-returns-wrong-length-when-generating-ECC-signature/m-p/1661827#M42</guid>
      <dc:creator>djdirkj</dc:creator>
      <dc:date>2023-06-01T10:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 returns wrong length when generating ECC signature</title>
      <link>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/SE050-returns-wrong-length-when-generating-ECC-signature/m-p/1662295#M43</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218188"&gt;@djdirkj&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is your application based on the latest MW for SE05x? or just a demo out of the MW? Which platform is using with SE050? Would you please tell me more details about the SE050, such as variant, OEF ID, etc., I will try to reproduce this issue here.&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 Jun 2023 02:30:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/SE050-returns-wrong-length-when-generating-ECC-signature/m-p/1662295#M43</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2023-06-02T02:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 returns wrong length when generating ECC signature</title>
      <link>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/SE050-returns-wrong-length-when-generating-ECC-signature/m-p/1662545#M44</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;we are not using the MW from NXP, we have developed our own communication stack for the SE050. I'm not quite sure what you mean with "platform" but we are using a microcontroller to communicate with the SE050. I think it's good to understand that the response I provided above was measured directly on the I2C lines by means of a logic analyzer, there was interference by any software at this point.&lt;/P&gt;&lt;P&gt;The variant we are using is the SE050A2, and the applet version is 3.1.1. Where can I find the OEF ID?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 08:59:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/SE050-returns-wrong-length-when-generating-ECC-signature/m-p/1662545#M44</guid>
      <dc:creator>djdirkj</dc:creator>
      <dc:date>2023-06-02T08:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 returns wrong length when generating ECC signature</title>
      <link>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/SE050-returns-wrong-length-when-generating-ECC-signature/m-p/1663094#M45</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218188"&gt;@djdirkj&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the information! Actually supporting a custom MW is just out of my service range, but anyway, your issue is most likely a software issue, and you may check it in the APDU spec and T=1 Over I2C, and both of them can be verified with the demos out of our MW. Please refer to "simw-top/doc/demos/se05x/se05x_GetAPDUBuffer/Readme.html" and use it to check if your APDU command is constructed correctly, and please also use the demo of "simw-top/doc/demos/apdu_player/Readme.html" and check if your APDU command was sent to SE05x correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, may I have your concern using our MW? Even if the MCU you selected is not supported by the latest version, porting should cost less time than developing a custom MW.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For porting , you may refer to the Nano package which just contain the least components needed, and we also provide a general porting guide for reference, please kindly refer to the following for details.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/NXPPlugNTrust/nano-package" target="_blank"&gt;https://github.com/NXPPlugNTrust/nano-package&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12448.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12448.pdf&lt;/A&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 02:45:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/SE050-returns-wrong-length-when-generating-ECC-signature/m-p/1663094#M45</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2023-06-05T02:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 returns wrong length when generating ECC signature</title>
      <link>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/SE050-returns-wrong-length-when-generating-ECC-signature/m-p/1682065#M49</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;most likely it was a software issue, but I have many boards lying around so I can't be too sure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main reason that we don't use the nano-package is that at the time we started using the SE050 (end 2020/beginning 2021) there was no nano-package available. And the other MW was using a massive amount of stack (&amp;gt;8KB) which was completely unacceptable. So, by the middle of 2021 we had a minimal implementation of the communication stack. We wanted to launch our product in 2022, but we got sidetracked due to issues. NXP launched the nano-package somewhere in 2022, you were just too late for us. And still we will not use the nano-package, our implementation is according to our philosophy and it is flexible enough to be used with secure elements from other vendors not only NXP. Being flexible is one of the important lessons that the supply chain issues tought everyone.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 13:55:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/SE050-returns-wrong-length-when-generating-ECC-signature/m-p/1682065#M49</guid>
      <dc:creator>djdirkj</dc:creator>
      <dc:date>2023-07-05T13:55:30Z</dc:date>
    </item>
  </channel>
</rss>

