<?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>LPC MicrocontrollersのトピックRe: LPC55S69 : Casper and ECC521 support</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945398#M37616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jun Zhang !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My application require fast execution of the next cryptoperation what directly supported by mbedtls library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of of K82 we able to use LTC for partially acceleration of all ECC521 relative cryptography and it is faster that pure SW routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K82 150Mhz; ECC521 pure SW&lt;/P&gt;&lt;P&gt;ECDSA-secp521r1 : 6.00 sign/s&lt;BR /&gt; ECDSA-secp521r1 : 2.00 verify/s&lt;BR /&gt; ECDHE-secp521r1 : 2.00 handshake/s&lt;BR /&gt; ECDH-secp521r1 : 3.00 handshake/s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K82 150 Mhz, ECC521 partially HW accelerated ( standart configuration from KSDK )&lt;/P&gt;&lt;P&gt;ECDSA-secp521r1 : 7.67 sign/s&lt;BR /&gt; ECDSA-secp521r1 : 2.33 verify/s&lt;BR /&gt; ECDHE-secp521r1 : 2.33 handshake/s&lt;BR /&gt; ECDH-secp521r1 : 3.33 handshake/s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it little bit faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of LPC55S69- 150 Mhz, I can use only pure SW support for ECC521 operations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ECDSA-secp521r1 : 3.67 sign/s&lt;BR /&gt; ECDSA-secp521r1 : 1.33 verify/s&lt;BR /&gt; ECDHE-secp521r1 : 1.33 handshake/s&lt;BR /&gt; ECDH-secp521r1 : 1.67 handshake/s&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;And they is slowly than even K82 at the same MCU clock. How it is possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can CASPER HW accelerator to be used for partial acceleration of ECC521 cryptography ?&lt;/P&gt;&lt;P&gt;LPC should be faster than K82. Is this so ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Oct 2019 06:32:58 GMT</pubDate>
    <dc:creator>EugeneHiihtaja</dc:creator>
    <dc:date>2019-10-10T06:32:58Z</dc:date>
    <item>
      <title>LPC55S69 : Casper and ECC521 support</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945394#M37612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have taken latest SDK and IDE for LPC55S69 MCU and try to execute mbedtls benchmark test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to me ECC521 cryptography doesn't supported by CASPER accelerator at all.&lt;/P&gt;&lt;P&gt;I have expected if it will be partially accelerated on HW in way how it is done on K82 and LTC.&lt;/P&gt;&lt;P&gt;ecp_alt_ksdk.c have protections like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#if defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED) || defined(MBEDTLS_ECP_DP_SECP224R1_ENABLED) || \&lt;BR /&gt; defined(MBEDTLS_ECP_DP_SECP521R1_ENABLED)&lt;BR /&gt;#error "CASPER hw acceleration currently supported only for SECP256R1 and SECP384R1."&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;#if (ECC_SIZE_BITS == 256)&lt;BR /&gt; CASPER_ECC_SECP256R1_Mul(CASPER, &amp;amp;p.data.w[1], &amp;amp;p.data.w[1 + (ECC_SIZE_BYTES / sizeof(uint32_t))],&lt;BR /&gt; &amp;amp;p.data.w[1], &amp;amp;p.data.w[1 + (ECC_SIZE_BYTES / sizeof(uint32_t))], (void *)M);&lt;BR /&gt;#elif (ECC_SIZE_BITS == 384)&lt;BR /&gt; CASPER_ECC_SECP384R1_Mul(CASPER, &amp;amp;p.data.w[1], &amp;amp;p.data.w[1 + (ECC_SIZE_BYTES / sizeof(uint32_t))],&lt;BR /&gt; &amp;amp;p.data.w[1], &amp;amp;p.data.w[1 + (ECC_SIZE_BYTES / sizeof(uint32_t))], (void *)M);&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it coming at some point or we can expect SW ECC521 only ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, do you have Reference manual for&amp;nbsp;LPC55S69 MCU or only&amp;nbsp; Datasheet and UserGuide ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 10:31:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945394#M37612</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-10-04T10:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Casper and ECC521 support</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945395#M37613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;As I know, only AWS supports 521b(EC_secp521r1). It should be enabled in aws_medtls_config.h of SDK.&lt;/P&gt;&lt;P&gt;if you downloaded the SDK including AWS, you&amp;nbsp;can find aws_examples folder under the package.&lt;/P&gt;&lt;P&gt;Besides user guide and datasheet, other application notes for LPC55s69 are posted here&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc5500-cortex-m33/high-efficiency-arm-cortex-m33-based-microcontroller-family:LPC55S6x?tab=Documentation_Tab" title="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc5500-cortex-m33/high-efficiency-arm-cortex-m33-based-microcontroller-family:LPC55S6x?tab=Documentation_Tab"&gt;LPC55S6x|Arm® Cortex®-M33|32-bit Microcontrollers (MCUs) | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 03:15:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945395#M37613</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-10-09T03:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Casper and ECC521 support</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945396#M37614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jun Zhang !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked aws_mbedtls_config.h file in all 4 examples and ECC521 is not used there at all.&lt;/P&gt;&lt;P&gt;//#define MBEDTLS_ECP_DP_SECP521R1_ENABLED&lt;/P&gt;&lt;P&gt;Not even in pure SW way e.h without acceleration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could it be possible for your to check current state of ECC521 in mdedtls for LPC55S69 ?&lt;/P&gt;&lt;P&gt;Usage of CASPER HW accelerator should increase ECC521 performance twice at list and we need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I haven't find any examples and/or application note for proper activation of L1 caches and flash prefetch caches for burst&lt;/P&gt;&lt;P&gt;SW performance of&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;LPC55S69.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you point me to any material about it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Eugene&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 06:36:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945396#M37614</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-10-09T06:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Casper and ECC521 support</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945397#M37615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="320103" data-username="yevgen.gyl@solita.fi" href="https://community.nxp.com/people/yevgen.gyl@solita.fi" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Eugene Hiihtaja&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I need check its status with SDK team, please let me know what's your project name (application scenarios). I need it to compose my request.&lt;/P&gt;&lt;P&gt;If you don't want to share it to public, please send me message of community.&amp;nbsp; (right click on my name, you can send). Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 05:52:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945397#M37615</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-10-10T05:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Casper and ECC521 support</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945398#M37616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jun Zhang !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My application require fast execution of the next cryptoperation what directly supported by mbedtls library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of of K82 we able to use LTC for partially acceleration of all ECC521 relative cryptography and it is faster that pure SW routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K82 150Mhz; ECC521 pure SW&lt;/P&gt;&lt;P&gt;ECDSA-secp521r1 : 6.00 sign/s&lt;BR /&gt; ECDSA-secp521r1 : 2.00 verify/s&lt;BR /&gt; ECDHE-secp521r1 : 2.00 handshake/s&lt;BR /&gt; ECDH-secp521r1 : 3.00 handshake/s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K82 150 Mhz, ECC521 partially HW accelerated ( standart configuration from KSDK )&lt;/P&gt;&lt;P&gt;ECDSA-secp521r1 : 7.67 sign/s&lt;BR /&gt; ECDSA-secp521r1 : 2.33 verify/s&lt;BR /&gt; ECDHE-secp521r1 : 2.33 handshake/s&lt;BR /&gt; ECDH-secp521r1 : 3.33 handshake/s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it little bit faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of LPC55S69- 150 Mhz, I can use only pure SW support for ECC521 operations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ECDSA-secp521r1 : 3.67 sign/s&lt;BR /&gt; ECDSA-secp521r1 : 1.33 verify/s&lt;BR /&gt; ECDHE-secp521r1 : 1.33 handshake/s&lt;BR /&gt; ECDH-secp521r1 : 1.67 handshake/s&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;And they is slowly than even K82 at the same MCU clock. How it is possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can CASPER HW accelerator to be used for partial acceleration of ECC521 cryptography ?&lt;/P&gt;&lt;P&gt;LPC should be faster than K82. Is this so ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 06:32:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945398#M37616</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-10-10T06:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Casper and ECC521 support</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945399#M37617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got feedback from SDK developerment :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;CASPER HW / SDK CASPER driver doesn’t support ECC521 at this moment..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2019 08:42:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945399#M37617</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-10-14T08:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Casper and ECC521 support</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945400#M37618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhang!&lt;/P&gt;&lt;P&gt;But what about feature?&lt;/P&gt;&lt;P&gt;Or it cant be done in principle and we will have pure SW Ecc521 forever?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2019 08:56:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945400#M37618</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-10-14T08:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Casper and ECC521 support</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945401#M37619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Eugene,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;There is no plan to have &lt;SPAN&gt;CASPER HW / SDK CASPER driver&lt;/SPAN&gt;&amp;nbsp;support on current road map in near future.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I will escalate it as a feature request. But for now, we don't have that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 08:39:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Casper-and-ECC521-support/m-p/945401#M37619</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-10-15T08:39:37Z</dc:date>
    </item>
  </channel>
</rss>

