<?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>Kinetis MicrocontrollersのトピックRe: Reduce memory footprints in mbedtls</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reduce-memory-footprints-in-mbedtls/m-p/1098004#M57915</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" data-content-finding="Community" data-userid="354521" data-username="pritesh.shah@einfochips.com" href="https://community.nxp.com/people/pritesh.shah@einfochips.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 11.9994px;"&gt;Pritesh shah&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; From the kinetis SDK x509_crt.c , this frile is part of mebd TSL(&lt;A class="link-titled" href="https://tls.mbed.org" title="https://tls.mbed.org"&gt;SSL Library mbed TLS / PolarSSL&lt;/A&gt;&amp;nbsp;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; So, if you want to get the&amp;nbsp;&lt;CODE style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;mbedtls_x509_crt_parse_der_nocopy&lt;/CODE&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;() API, you may go the mbed side, find the newest driver which contains &lt;CODE style="border: 0px;"&gt;mbedtls_x509_crt_parse_der_nocopy&lt;/CODE&gt;&lt;SPAN&gt;() api function,&amp;nbsp;&lt;/SPAN&gt;and copy it to the SDK code.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; The newest SDK still didn't add the API which you mentione, but I think you can add it by yoursefl.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kerry&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;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2020 04:32:03 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2020-04-16T04:32:03Z</dc:date>
    <item>
      <title>Reduce memory footprints in mbedtls</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reduce-memory-footprints-in-mbedtls/m-p/1098003#M57914</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 want to reduce the memory footprint of mbedtls library. I found the below link to optimize the mbedtls.&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://tls.mbed.org/kb/how-to/reduce-mbedtls-memory-and-storage-footprint" title="https://tls.mbed.org/kb/how-to/reduce-mbedtls-memory-and-storage-footprint"&gt;https://tls.mbed.org/kb/how-to/reduce-mbedtls-memory-and-storage-footprint&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this document one of the option is to save memory is to use&amp;nbsp;&lt;CODE&gt;mbedtls_x509_crt_parse_der_nocopy&lt;/CODE&gt;() function&lt;/P&gt;&lt;P&gt;instead of &lt;CODE&gt;mbedtls_x509_crt_parse_der().&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;I have downloaded an SDK for Kinetis K64 and in that, i didn't found the &lt;CODE&gt;mbedtls_x509_crt_parse_der_nocopy&lt;/CODE&gt;() function in mbedtls.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;Is there any upgrade in the package ? How can i reduce the memory footprints for mbedtls. ?&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 10:25:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reduce-memory-footprints-in-mbedtls/m-p/1098003#M57914</guid>
      <dc:creator>pritesh_shah</dc:creator>
      <dc:date>2020-04-15T10:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce memory footprints in mbedtls</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reduce-memory-footprints-in-mbedtls/m-p/1098004#M57915</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" data-content-finding="Community" data-userid="354521" data-username="pritesh.shah@einfochips.com" href="https://community.nxp.com/people/pritesh.shah@einfochips.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 11.9994px;"&gt;Pritesh shah&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; From the kinetis SDK x509_crt.c , this frile is part of mebd TSL(&lt;A class="link-titled" href="https://tls.mbed.org" title="https://tls.mbed.org"&gt;SSL Library mbed TLS / PolarSSL&lt;/A&gt;&amp;nbsp;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; So, if you want to get the&amp;nbsp;&lt;CODE style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;mbedtls_x509_crt_parse_der_nocopy&lt;/CODE&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;() API, you may go the mbed side, find the newest driver which contains &lt;CODE style="border: 0px;"&gt;mbedtls_x509_crt_parse_der_nocopy&lt;/CODE&gt;&lt;SPAN&gt;() api function,&amp;nbsp;&lt;/SPAN&gt;and copy it to the SDK code.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; The newest SDK still didn't add the API which you mentione, but I think you can add it by yoursefl.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kerry&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;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 04:32:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reduce-memory-footprints-in-mbedtls/m-p/1098004#M57915</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-04-16T04:32:03Z</dc:date>
    </item>
  </channel>
</rss>

