<?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>Updating\removing BLE related libraries in SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115887/updating-removing-ble-related-libraries-in-sdk</link><description>Hi, 
 I&amp;#39;m using nRF52832 with SDK 17.0.2. We were using the Snyk Vulnerability Database to scan our code and found issues with the libraries mbedtls , lwip-tcpip and micro-ecc. 
 mbedtls and lwip-tcpip offered version upgrades to fix the issue, while</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Nov 2024 08:33:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115887/updating-removing-ble-related-libraries-in-sdk" /><item><title>RE: Updating\removing BLE related libraries in SDK</title><link>https://devzone.nordicsemi.com/thread/511599?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 08:33:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5337e10-7c5a-4101-a415-c844e929f395</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Glad to hear that Eyal. I&amp;#39;ll make note of that for future reference too. Thanks for letting us know, and don&amp;#39;t hesitate to create a new ticket if you run into new issues.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating\removing BLE related libraries in SDK</title><link>https://devzone.nordicsemi.com/thread/511506?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2024 14:11:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cbaa3ce-e84c-45b1-baf7-daa2086dea8a</guid><dc:creator>EyalR</dc:creator><description>&lt;p&gt;I just wanna update that I found the .h with all of the defines and prerequistes for mbedtls.&lt;/p&gt;
&lt;p&gt;It is called&amp;nbsp;nrf_crypto_mbedtls_config.h and it&amp;#39;s inside &amp;lt;SDK_PATH&amp;gt;\external\nrf_tls\mbedtls\nrf_crypto\config&lt;/p&gt;
&lt;p&gt;I couldn&amp;#39;t find it because it wasn&amp;#39;t in the actual mbedtls folder.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m still testing it but it seems that after updating the defines it compiles fine and updates mbedtls&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating\removing BLE related libraries in SDK</title><link>https://devzone.nordicsemi.com/thread/510919?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 14:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87311350-b41c-430f-a03b-7b5bf83d3f3a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again Eyal&lt;/p&gt;
&lt;p&gt;Hmm, I can&amp;#39;t say we&amp;#39;re able to see what&amp;#39;s missing here I&amp;#39;m afraid. But discussing this case with a colleague, we realized that since you don&amp;#39;t actually use encryption or cryptography on your end, it might be easier to just remove embedtls and micro-ecc from the external folder in the SDK entirely. Would that be an option here?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating\removing BLE related libraries in SDK</title><link>https://devzone.nordicsemi.com/thread/510799?ContentTypeID=1</link><pubDate>Sun, 17 Nov 2024 09:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25e6ff3d-7ebc-4898-9abf-d04c963afd45</guid><dc:creator>EyalR</dc:creator><description>&lt;p&gt;The full error is:&lt;/p&gt;
&lt;p&gt;#if defined(MBEDTLS_CERTS_C) &amp;amp;&amp;amp; !defined(MBEDTLS_X509_USE_C)&lt;br /&gt;#error &amp;quot;MBEDTLS_CERTS_C defined, but not all prerequisites&amp;quot;&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;in check_config.h.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure where either&amp;nbsp;&lt;span&gt;MBEDTLS_X509_USE_C or&amp;nbsp;MBEDTLS_CERTS_C are defined.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating\removing BLE related libraries in SDK</title><link>https://devzone.nordicsemi.com/thread/510329?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2024 14:29:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df3399e4-50e4-4858-8bbf-599c0c40ac96</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Can you let me know what prereqs these are exactly that you&amp;#39;re looking for, and I&amp;#39;ll help you look for them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating\removing BLE related libraries in SDK</title><link>https://devzone.nordicsemi.com/thread/510297?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2024 13:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b90325c8-73c8-4e1c-9d55-5dbd160180af</guid><dc:creator>EyalR</dc:creator><description>&lt;p&gt;I can see the prerequisites&amp;nbsp;I just don&amp;#39;t understand where are they defined. I thought conifg.h in the include folder of mbed is the file that holds all of the defines but when I tried commenting on\off various defines it had no affect. is there any other place where those defines could be?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating\removing BLE related libraries in SDK</title><link>https://devzone.nordicsemi.com/thread/510262?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2024 10:25:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92dfa45a-0134-46f5-8b91-a5c832196b84</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Are you able to see what prerequisites aren&amp;#39;t defined, or see what prerequisites the MBEDTLS certs would need and make sure they&amp;#39;re all defined in your project too. Sorry I don&amp;#39;t have anything more specific to go on here.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating\removing BLE related libraries in SDK</title><link>https://devzone.nordicsemi.com/thread/510129?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2024 14:10:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f446b822-f52b-4881-a9b1-e43127ddb65d</guid><dc:creator>EyalR</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;Thanks for the answer. I tried replacing &lt;span&gt;mbedtls to version 2.28.9 since I read that versions 2.xx shouldn&amp;#39;t break coompilations. I copied the entire library into External\mbedtls\&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When compiling I get the error &amp;quot;MBEDTLS_CERTS_C defined, but not all prerequisites&amp;quot;. I&amp;#39;ve tried using the same config.h or CMakeLists.txt as the current version of mbedtls but it didn&amp;#39;t help. Any ideas where to go from here?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating\removing BLE related libraries in SDK</title><link>https://devzone.nordicsemi.com/thread/508311?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 09:35:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b3ba08f-8948-4195-9cc3-316895374098</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Eyal&lt;/p&gt;
&lt;p&gt;1. In a perfect world it should be that simple, and although I think it is, we can&amp;#39;t guarantee that it is. Please give it a try and see if that&amp;#39;s sufficient.&lt;/p&gt;
&lt;p&gt;2. To remove encryption, open you sdk_config.h file, search for any settings related to micro-ecc (NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED for example). Set all these options you might find to 0. At least the one mentioned as an example should prevent that library from being included in the build.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>