<?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>Enable Encryption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66532/enable-encryption</link><description>Hi, I am working on a project to send commands from mobile to device and vice versa. I am using nRF5_SDK_17.0.0_9d13099\examples\ble_peripheral\ble_app_template . I have made a custom service and characteristics and made secured like this. Now is there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Oct 2020 11:14:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66532/enable-encryption" /><item><title>RE: Enable Encryption</title><link>https://devzone.nordicsemi.com/thread/272491?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 11:14:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:929316c9-dc69-4f32-8adb-f5d8b135ee44</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You can read more about the cryptocell cc310 here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/cryptocell.html?cp=4_0_0_5_5"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/cryptocell.html?cp=4_0_0_5_5&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But it&amp;#39;s basically a hardware cryptography peripheral that can be utilized to encrypt your data, it can be faster and more efficient compare to using software cryptography library.&amp;nbsp;&lt;br /&gt;It wouldn&amp;#39;t help you to encrypt the actual firmware of your application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To protect your firmware you can use the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/uicr.html?cp=4_0_0_3_4_0_4#register.APPROTECT"&gt;APPROTECT&lt;/a&gt;&amp;nbsp;to block the debug/programmer access, and use the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/acl.html?cp=4_0_0_5_2"&gt;ACL &lt;/a&gt;if you want to block access internally from different parts of the flash memory.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable Encryption</title><link>https://devzone.nordicsemi.com/thread/272438?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 07:49:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fb9ac76-a54d-4be4-9d48-546145bc622c</guid><dc:creator>Muqarrab</dc:creator><description>&lt;p&gt;Thanks,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I am asking about the &amp;quot;&lt;strong&gt;&lt;em&gt;Arm CryptoCell CC310 cryptographic security module&lt;/em&gt;&lt;/strong&gt;&amp;quot; in the nRF52840 document. What is this? Can you please explain what is this and how can I achieve this?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable Encryption</title><link>https://devzone.nordicsemi.com/thread/272295?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 12:13:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:385f47a0-c703-464b-aeca-bcdbec627b59</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Muqarrab,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please describe what exactly you meant by &amp;quot;Secure firmware&amp;quot; or &amp;quot;Secure my firmware&amp;quot;. What kind of protection you want to your firmware ?&amp;nbsp;&lt;br /&gt;Regarding encrypting data communication, the ble_app_template uses peer manager library so most of the security procedures are handled by the library.&amp;nbsp;&lt;br /&gt;When you configure the characteristic with&amp;nbsp;BLE_GAP_CONN_SEC_MODE_SET_ENC_NO_MITM(), the central/client will receive a Insufficient Authorization when it tries to read/write to the characteristic. After that the default behavior is that the central will initiate the pairing/bonding process. And the link will be encrypted after that.&amp;nbsp;&lt;br /&gt;You don&amp;#39;t need to trigger pairing from the server/peripheral side.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable Encryption</title><link>https://devzone.nordicsemi.com/thread/272220?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 09:34:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e709368-d880-455d-8708-8e2bee894769</guid><dc:creator>Muqarrab</dc:creator><description>&lt;p&gt;Yes, I want both.&lt;br /&gt;1- Secure Firmware&lt;br /&gt;2-&lt;span&gt;encrypt data communications&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable Encryption</title><link>https://devzone.nordicsemi.com/thread/272219?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 09:32:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f595414-b9fd-44f3-8c74-1494ecaa16ba</guid><dc:creator>awneil</dc:creator><description>[quote userid="67200" url="~/f/nordic-q-a/66532/enable-encryption"]My main purpose is to secure my firmware[/quote]
&lt;p&gt;&amp;quot;securing&amp;quot; firmware is usually a different topic from encrypting your data communications&lt;/p&gt;
&lt;p&gt;Could you clarify what you mean by that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>