<?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 without any</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19474/ble-encryption-without-any</link><description>I&amp;#39;m using the nRF52DK and S132. Is it possible to encrypt a link without any pairing, bonding and authentication process ? Please show me the way how to implement with the APIs if it is.
Thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Feb 2017 08:53:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19474/ble-encryption-without-any" /><item><title>RE: BLE Encryption without any</title><link>https://devzone.nordicsemi.com/thread/75636?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 08:53:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ca76371-2642-48b5-81d4-6cf597f0bd2c</guid><dc:creator>Jusang Kim</dc:creator><description>&lt;p&gt;I did not know that.
Anyway I followed what you said.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Encryption without any</title><link>https://devzone.nordicsemi.com/thread/75638?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 08:02:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd112409-8a7f-468e-a467-a3e63f2fed76</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Np. If I answered your question, please accept my answer by clicking the grey circle next to it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Encryption without any</title><link>https://devzone.nordicsemi.com/thread/75637?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 06:24:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:534ea3f3-9199-4542-8776-d07ab7b8f91f</guid><dc:creator>Jusang Kim</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Encryption without any</title><link>https://devzone.nordicsemi.com/thread/75634?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2017 11:50:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:debb2360-80b9-449b-b956-db84f3474b6f</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Yes, that is possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Encryption without any</title><link>https://devzone.nordicsemi.com/thread/75635?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2017 23:31:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92fd6135-7c50-4093-8971-14987fcd80fb</guid><dc:creator>Jusang Kim</dc:creator><description>&lt;p&gt;Thank you for reply.&lt;/p&gt;
&lt;p&gt;Whst about the role of the central ?
Is it possible to call sd_ble_gap_encrypt () without calling any pairing API functions or bonding API function in the role of central in nRF52 DK just for test purpose ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Encryption without any</title><link>https://devzone.nordicsemi.com/thread/75633?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2017 15:02:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a24fc8c-7130-4478-b37e-75a74dd0de13</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The peripheral/slave cannot initiate the encryption procedure, it cannot call sd_ble_gap_encrypt().&lt;/p&gt;
&lt;p&gt;It can only call &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___g_a_p___p_e_r_i_p_h___s_e_c___r_e_q___m_s_c.html?cp=2_3_0_1_1_2_1_3_8_8"&gt;sd_ble_gap_authenticate()&lt;/a&gt;, and then it is up to the central device to initiate the procedure and encrypt the link (if the devices have a bond).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Encryption without any</title><link>https://devzone.nordicsemi.com/thread/75640?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2017 10:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ba322bf-7dc7-4824-ab54-c98060ba7624</guid><dc:creator>Jusang Kim</dc:creator><description>&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;Firstly let me check the specification that you mentioned about.
I&amp;#39;ll let you know if i have a further question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Encryption without any</title><link>https://devzone.nordicsemi.com/thread/75639?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2017 09:15:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4caa850-f97c-4045-b60c-a963b1db6d04</guid><dc:creator>Youssif</dc:creator><description>&lt;p&gt;According to the Bluetooth Specification: &amp;quot;If at least one authentication has been performed, encryption may be used&amp;quot;. So no, this is not possible. The reason for this is that ediv and rand (along with the other keys) are distributed during the pairing process (specifically phase 3, Key Distribution).&lt;/p&gt;
&lt;p&gt;Have a look at the Core Specification Version 5.0, Vol 3, Part H, Section 2.4. It covers the details of pairing and encryption.&lt;/p&gt;
&lt;p&gt;The only workaround is if the two devices were bonded (i.e. if the devices were previously paired, and the keys distributed have been stored by the slave). The previously distributed keys can then be used to encrypt the connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Encryption without any</title><link>https://devzone.nordicsemi.com/thread/75632?ContentTypeID=1</link><pubDate>Sun, 05 Feb 2017 04:35:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ebd2c28-a28f-42b2-b599-56c3c140c66d</guid><dc:creator>Jusang Kim</dc:creator><description>&lt;p&gt;Well... what i ment is that i want to know whether there is a way for slave to encrypt a link by using ediv and rand from a master through sd_ble_gap_encrypt() or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>