<?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>Encryption and Decryption process used</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46182/encryption-and-decryption-process-used</link><description>Hi, 
 I am working on a project where my mobile phone will be acting as a central device and nRF52840 DK will be acting as a peripheral device. I used the nRF UART and nRF toolbox app for basic string transfer from my phone to the nRF board. I was able</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Apr 2019 11:34:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46182/encryption-and-decryption-process-used" /><item><title>RE: Encryption and Decryption process used</title><link>https://devzone.nordicsemi.com/thread/182582?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2019 11:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3532122-fb95-4f7e-a4cb-8ccf8e0f8e6c</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Lets continue the discussion in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46213/sending-strings-from-peripheral-nrf52840-dk-to-central-android-device"&gt;this thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Encryption and Decryption process used</title><link>https://devzone.nordicsemi.com/thread/182314?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 09:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb8fd2ac-5709-4a6e-ab68-ccf6ca867193</guid><dc:creator>Anubhav</dc:creator><description>&lt;p&gt;I added the&amp;nbsp;NRF_LOG_INFO statements in my function to check if the particular function is called or no!&lt;/p&gt;
&lt;p&gt;According to the function are called but the strings are not sent over ble as because I am not able to see the received strings in nRF toolbox app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Encryption and Decryption process used</title><link>https://devzone.nordicsemi.com/thread/182313?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 09:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e11ed2aa-11e7-4dd0-9f2a-c655a4beac7e</guid><dc:creator>Anubhav</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for a whole lot of information. It was very helpful.&lt;/p&gt;
&lt;p&gt;I have a small doubt regarding the above project.&lt;/p&gt;
&lt;p&gt;In my code, I am able to send a string from my phone to the nRF52840 board through ble which is getting displayed in nRF Toolbox app. But I am not able to send a string from my peripheral to the phone vial ble.&lt;/p&gt;
&lt;p&gt;Can you please tell me the reason for this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Encryption and Decryption process used</title><link>https://devzone.nordicsemi.com/thread/182305?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 09:22:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b612e27c-a9d7-4c63-a7bd-afd1667b2ee5</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I would recommend you to read&amp;nbsp;the documentation for the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_crypto.html&amp;amp;cp=5_4_1_3_11"&gt;Cryptography library&lt;/a&gt;&amp;nbsp;and the different &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_crypto_frontends.html&amp;amp;cp=5_4_1_3_11_15"&gt;frontend&lt;/a&gt; and &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_crypto_backends.html&amp;amp;cp=5_4_1_3_11_16"&gt;backend&lt;/a&gt; modules. Eventually you should take a look at &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_crypto_config.html"&gt;this link&lt;/a&gt;, which explains how t&lt;span&gt;he nrf_crypto frontend and multiple backends can be configured.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;E.g. if you are using LESC, you have to call&amp;nbsp;&lt;em&gt;compute_and_give_dhkey(..)&lt;/em&gt;--&amp;gt;&lt;em&gt;nrf_crypto_ecdh_compute(..), &lt;/em&gt;and inside the latter function you&amp;nbsp; call&amp;nbsp;&lt;em&gt;BACKEND_IMPL_GET(..)&amp;nbsp;&lt;/em&gt;in order to get the backend specifc information. The frontend and backend used depends on the defines in the sdk_config.h file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If anything is unclear, pleas ask.&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;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>