<?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>nRF9160: Offloaded TLS vs. Mbed TLS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106534/nrf9160-offloaded-tls-vs-mbed-tls</link><description>I&amp;#39;m working with the nrf/samples/net/https_client sample for the nRF9160 and am trying to get a better understanding of using the modem&amp;#39;s offloaded TLS capabilities vs. Mbed TLS in the secure environment. 
 It mentions that there are more configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Jun 2024 11:43:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106534/nrf9160-offloaded-tls-vs-mbed-tls" /><item><title>RE: nRF9160: Offloaded TLS vs. Mbed TLS</title><link>https://devzone.nordicsemi.com/thread/488114?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 11:43:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8905e786-2502-4435-a178-b4ccfaf83bda</guid><dc:creator>Stefan Schmidt</dc:creator><description>&lt;p&gt;The major drawback of the offloaded TLS is the limitation of the secure buffers (2 kB)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: Offloaded TLS vs. Mbed TLS</title><link>https://devzone.nordicsemi.com/thread/460190?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2023 16:07:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:991909fa-8698-4a04-a08c-54c02379df03</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;In terms of &amp;#39;&amp;#39;&lt;span&gt;modem&amp;#39;s offloaded TLS capabilities vs. Mbed TLS&amp;#39;&amp;#39;, there are differences between them. But it depends on the modem version.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I do not know about power consumption. It probably depends on how the &amp;#39;&amp;#39;native&amp;#39;&amp;#39; TLS is configured. The modem has some HW acceleration. So, there should not have too many differences. Power consumption is dominated by radio also.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;On the application core, we have the cryptocell, but it might also configure the libraries to use SW implementations, and in that case,&amp;nbsp;we would expect the performance to be worse on the application side. In terms of performance,&amp;nbsp;you could argue that there is no performance cost when using offloaded TLS, as then the heavy&lt;/span&gt;&amp;nbsp;computation happens on the modem side, and the application core is free to do other things.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding memory footprint, when using offloaded TLS, the cost is on the modem side, where you do not get any benefit from not using it, while on the application side, you will lose a lot of flash and RAM that the application could have used otherwise.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From a security point of view, we recommend using offloaded TLS, as then the keys won&amp;#39;t be accessible by the application at all.&lt;/p&gt;
&lt;p&gt;So in general, we recommend offloaded TLS in all cases, unless the TLS stack in the modem is missing some features that they absolutely need. I.e. the only benefit of &amp;quot;native&amp;quot; TLS is the extra configurability.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: Offloaded TLS vs. Mbed TLS</title><link>https://devzone.nordicsemi.com/thread/460141?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2023 12:46:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54551138-0334-4ee7-9548-77df0022ece9</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have been looking at your case. I will get back to you soon.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Kazi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>