<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>MbedTLS configuration STD functions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126034/mbedtls-configuration-std-functions</link><description>Hello, 
 I am building an example app that uses MbedTLS and non-offloaded sockets, because offloaded ones do not fit my needs - updating security credentials needs disabling the modem, while I perform a Bootstrap operation being connected to one server</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Dec 2025 13:20:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126034/mbedtls-configuration-std-functions" /><item><title>RE: MbedTLS configuration STD functions</title><link>https://devzone.nordicsemi.com/thread/556873?ContentTypeID=1</link><pubDate>Fri, 12 Dec 2025 13:20:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40971ec9-08a0-420e-8091-0ddf9e550fe6</guid><dc:creator>TomaszKucma</dc:creator><description>&lt;p&gt;You can consider this ticket resolved. The order of includes MbedTLS files includes was the problem, &amp;lt;mbedtls/platform.h&amp;gt; needs to be at the bottom, if it needs to be included.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MbedTLS configuration STD functions</title><link>https://devzone.nordicsemi.com/thread/556712?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2025 15:21:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c1430fd-b3f9-4c71-b8a9-05950f6b8eee</guid><dc:creator>TomaszKucma</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reference, although it turned out to be not related to this...&lt;/p&gt;
&lt;p&gt;Oh dear lord. It took me 2 days but I think I got this.&lt;br /&gt;My application included&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;# include &amp;lt;mbedtls/platform.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;which appears to introduce some of these&amp;nbsp;MBEDTLS_PLATFORM_PRINTF and similar definitions not where it&amp;#39;s expected. With a chain&lt;br /&gt;my_header.h -&amp;gt;platform.h + ssl.h -&amp;gt; platform_util.h -&amp;gt; build_info.h -&amp;gt; check_config.h&lt;br /&gt;MbedTLS check config found this conflict and gave compile time errors. Commenting out include platform.h helped.
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I have no idea how and where these defines should be then, but I guess I don&amp;#39;t care now.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Also this worked perfectly fine in older nCS version, so I could not expect such mess.&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MbedTLS configuration STD functions</title><link>https://devzone.nordicsemi.com/thread/556645?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2025 09:19:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be8e3004-5f40-46c8-99d2-5e69a3e0c2cb</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;you can look at the mbedtls related configs in &lt;a href="https://github.com/HakonHL/samples/blob/main/wss_client/prj.conf"&gt;this file&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Also, the legacy crypto API is being deprecated and will be removed in future releases. You can read about it &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/security/nrf_security/doc/backend_config.html#deprecation_of_legacy_crypto_support"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MbedTLS configuration STD functions</title><link>https://devzone.nordicsemi.com/thread/556524?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 08:24:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5af563ec-a084-43b7-a463-a9aab40bbfd9</guid><dc:creator>TomaszKucma</dc:creator><description>&lt;p&gt;I have also tried defining these macros as regular exit, printf etc but maybe in a wrong header?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>