<?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>BLE encryption with Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83540/ble-encryption-with-zephyr</link><description>Hi, 
 I&amp;#39;m using nRF Connect SDK v1.7.1 with two nrf5430 DK. My goal is to evaluate the different security levels. For testing i send messages with the Nordic Uart service between those two boards. I used bt_conn_set_security() to increase the security</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jan 2022 14:36:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83540/ble-encryption-with-zephyr" /><item><title>RE: BLE encryption with Zephyr</title><link>https://devzone.nordicsemi.com/thread/347208?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 14:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c961557-16e8-42cf-9f79-da2bbe34266b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;That is correct. It is not the individual messages that are encrypted, but the entire connection. So if you encrypt the link/connection, then all messages are &amp;quot;automatically&amp;quot; encrypted. The reason you can&amp;#39;t see where this encryption happens is because it is done in the Softdevice Controller (in the Link Layer), which is not open source.&lt;/p&gt;
&lt;p&gt;I am not sure about the details, but perhaps the Softdevice Controller uses&amp;nbsp;&lt;span&gt;bt_ccm_encrypt(), or something similar, but I haven&amp;#39;t seen the source code.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edvin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE encryption with Zephyr</title><link>https://devzone.nordicsemi.com/thread/347192?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 14:06:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7a4b8ef-9c41-4fbc-9299-0efb383f04de</guid><dc:creator>Earthworn</dc:creator><description>&lt;p&gt;So i used a Sniffer. Encryption works with only using bt_conn_set_security(). Still confused about Data Signing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>