<?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>How to use LESC Encryption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61950/how-to-use-lesc-encryption</link><description>Hi Guys, 
 
 I am trying to enable LESC Encryption, but I do not understand how to generate keys_own.p_pk and DH keys. 
 
 The sequence is the following: 
 1. I receive BLE_GAP_EVT_SEC_PARAMS_REQUEST with following parameters: 
 bond = 1, mitm =1, lesc</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 May 2020 12:40:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61950/how-to-use-lesc-encryption" /><item><title>RE: How to use LESC Encryption</title><link>https://devzone.nordicsemi.com/thread/252413?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 12:40:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a736d1e-c46a-48c4-93d6-76ec919de572</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please check out&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/20764/questions-about-ble-multirole-lesc/81070#81070"&gt; this thread&lt;/a&gt;, as I think it explains LESC very well, and should answer most of your questions. You should also check out the&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_peer_manager.html"&gt; Peer Manager in our SDK&lt;/a&gt;, which we use to manage BLE security. It can handle LESC for you as well, so please give it a read.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>