<?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: MbedTLS3 and CAAM driver for Non-PSA operations in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/MbedTLS3-and-CAAM-driver-for-Non-PSA-operations/m-p/2293190#M5429</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It seems there are mbedtls and mebedtls 3.x in the SDK as following, and CAAM(&lt;SPAN&gt;Cryptographic Acceleration and Assurance Module&lt;/SPAN&gt;) example as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/latest/html/examples/driver_examples/caam/readme.html" target="_blank"&gt;https://mcuxpresso.nxp.com/mcuxsdk/latest/html/examples/driver_examples/caam/readme.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/latest/html/examples/mbedtls3x_examples/index.html" target="_blank"&gt;https://mcuxpresso.nxp.com/mcuxsdk/latest/html/examples/mbedtls3x_examples/index.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/latest/html/examples/mbedtls_examples/index.html" target="_blank"&gt;https://mcuxpresso.nxp.com/mcuxsdk/latest/html/examples/mbedtls_examples/index.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, it is a&amp;nbsp;&lt;SPAN&gt;blocking operation.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jan 2026 10:03:38 GMT</pubDate>
    <dc:creator>Sam_Gao</dc:creator>
    <dc:date>2026-01-14T10:03:38Z</dc:date>
    <item>
      <title>MbedTLS3 and CAAM driver for Non-PSA operations</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MbedTLS3-and-CAAM-driver-for-Non-PSA-operations/m-p/2290143#M5422</link>
      <description>&lt;P&gt;Dear Everyone,&lt;/P&gt;&lt;P&gt;We followed the deprecation note about the mbedTLS 2 and we did an update to mbedTLS3. We found out that NXP has two repositories of mbedTLS.&lt;/P&gt;&lt;P&gt;(ver 2.x deprecated)&lt;BR /&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mbedtls" target="_blank"&gt;https://github.com/nxp-mcuxpresso/mbedtls&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(ver 3.x)&lt;BR /&gt;&lt;A href="https://github.com/NXP/nxp_mbedtls" target="_blank"&gt;https://github.com/NXP/nxp_mbedtls&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We found it by reading through the yaml file which sdk uses - we're wondering if we'll lose performance if we choose ver 3x and won't use PSA API?&lt;/P&gt;&lt;P&gt;Version 2 provided a set of alternate functions through port/ksdk which could be used to delegate cryptographic operations to CAAM driver like ksdk_mbedtls:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mbedtls/blob/release/25.06.00/port/ksdk/ksdk_mbedtls.c" target="_blank"&gt;https://github.com/nxp-mcuxpresso/mbedtls/blob/release/25.06.00/port/ksdk/ksdk_mbedtls.c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We use raw CAAM driver through fsl_caam for aes256 encryption and we would like to use mbedtls to generate a pair of ecdsa keys.&lt;STRONG&gt; Our goal is to have mbedTLS3 and delegate all possible jobs to CAAM hardware&lt;/STRONG&gt; - if anyone knows an application note/port done or a guideline on how to design such it would be great.&lt;/P&gt;&lt;P&gt;Thank you for any support &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 10:17:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MbedTLS3-and-CAAM-driver-for-Non-PSA-operations/m-p/2290143#M5422</guid>
      <dc:creator>jslota13245</dc:creator>
      <dc:date>2026-01-08T10:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: MbedTLS3 and CAAM driver for Non-PSA operations</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MbedTLS3-and-CAAM-driver-for-Non-PSA-operations/m-p/2290860#M5423</link>
      <description>&lt;P&gt;Also minor info, we're using imxrt1176 and have a FreeRTOS on it, do we read the port right that the mbedtls_ksdk.c:&lt;BR /&gt;672 - 674&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mbedtls/blob/release/25.06.00/port/ksdk/ksdk_mbedtls.c" target="_blank" rel="noopener"&gt;https://github.com/nxp-mcuxpresso/mbedtls/blob/release/25.06.00/port/ksdk/ksdk_mbedtls.c&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#endif /* MBEDTLS_THREADING_C */&lt;BR /&gt;if (ctx-&amp;gt;mode == MBEDTLS_DES_ENCRYPT) {&lt;BR /&gt;status = CAAM_DES_EncryptEcb(CAAM_INSTANCE, &amp;amp;s_caamHandle, input, output, 8, key);&lt;BR /&gt;&lt;BR /&gt;Does this port use blocking operations? So that the other FreeRTOS Threads are blocked - we found this port to be used in freertos examples of mbedtls so it was a surprise for us&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 10:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MbedTLS3-and-CAAM-driver-for-Non-PSA-operations/m-p/2290860#M5423</guid>
      <dc:creator>jslota13245</dc:creator>
      <dc:date>2026-01-09T10:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: MbedTLS3 and CAAM driver for Non-PSA operations</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MbedTLS3-and-CAAM-driver-for-Non-PSA-operations/m-p/2293190#M5429</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It seems there are mbedtls and mebedtls 3.x in the SDK as following, and CAAM(&lt;SPAN&gt;Cryptographic Acceleration and Assurance Module&lt;/SPAN&gt;) example as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/latest/html/examples/driver_examples/caam/readme.html" target="_blank"&gt;https://mcuxpresso.nxp.com/mcuxsdk/latest/html/examples/driver_examples/caam/readme.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/latest/html/examples/mbedtls3x_examples/index.html" target="_blank"&gt;https://mcuxpresso.nxp.com/mcuxsdk/latest/html/examples/mbedtls3x_examples/index.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/latest/html/examples/mbedtls_examples/index.html" target="_blank"&gt;https://mcuxpresso.nxp.com/mcuxsdk/latest/html/examples/mbedtls_examples/index.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, it is a&amp;nbsp;&lt;SPAN&gt;blocking operation.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2026 10:03:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MbedTLS3-and-CAAM-driver-for-Non-PSA-operations/m-p/2293190#M5429</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2026-01-14T10:03:38Z</dc:date>
    </item>
  </channel>
</rss>

