<?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>Regarding aes CCM and edch related examples</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70858/regarding-aes-ccm-and-edch-related-examples</link><description>Hi, 
 I am currently working on the ble mesh project. I would like to know whether there is any cybersecurity related examples in SDK . 
 1. Can you list out some of the security based examples (related to pairing,bonding, encryption)available in sdk17</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jan 2021 15:04:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70858/regarding-aes-ccm-and-edch-related-examples" /><item><title>RE: Regarding aes CCM and edch related examples</title><link>https://devzone.nordicsemi.com/thread/291086?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 15:04:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e81d4c2-135c-4ca1-9d09-8f7ac2f2fd41</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;Pairing and bonding are almost the same process, the only difference is that with pairing, the LTK (long term key) is not generated/reused like with bonding. So with pairing, the pairing process will need to be executed every time the connection is established/reconnected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can find the example of bonding and pairing in any of our example, for example ble_app_proximity, or ble_app_gls (with passkey).&lt;/p&gt;
&lt;p&gt;The actual encryption is handled inside the softdevice so you don&amp;#39;t need to handle that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please let us know what exactly you want to do or if you have a particular question.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to study how the pairing and encryption work I would suggest ot have a look at the spec, for example Chapter 2 Security Manager in Vol 3 Part H Bluetooth Core Specification v5.2 :&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/679x490/__key/communityserver-discussions-components-files/4/8561.pastedimage1611587032914v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Phase 2 (page 1696):&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/901x953/__key/communityserver-discussions-components-files/4/7573.pastedimage1611587087206v2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding aes CCM and edch related examples</title><link>https://devzone.nordicsemi.com/thread/291061?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 14:11:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43fdb13f-12b9-4fd2-ba1c-77642a7ece80</guid><dc:creator>Priyadharshini</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Thanks for the clear information.I would like to about the security related examples in main SDK 17.02.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I would like to compile examples related to&lt;/p&gt;
&lt;p&gt;&amp;nbsp; 1. Pairing&lt;/p&gt;
&lt;p&gt;&amp;nbsp; 2.bonding&lt;/p&gt;
&lt;p&gt;&amp;nbsp; 3. Aes CCM ,aes aar based examples in ble SDK.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Is there any ble example in nrf5 main SDK which composes the features all together.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding aes CCM and edch related examples</title><link>https://devzone.nordicsemi.com/thread/291053?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 13:52:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aa63b2d-a5db-4d90-8a2b-441137098a71</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you let us know what exactly you meant by &amp;quot;cybersecurity related examples&amp;quot; ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please clarify that you are asking about BLE mesh SDK example or BLE example in nRF5 SDK ? Note that there is no pairing/bonding in Mesh.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In all of our mesh examples the security, encryption is implemented as defined in the spec .&lt;/p&gt;
&lt;p&gt;I would suggest to have a look at section 5.4.2.5 in the Mesh profile specification v1.0.1 . I quoted here:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/761x333/__key/communityserver-discussions-components-files/4/4544.pastedimage1611582681089v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t really have a page that explain about cybersecurity as it&amp;#39;s not something we develop or define, please look for ECDH and AES CCM on the internet for definition of those protocols.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>