<?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 KPRTL on nRF52840?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61537/how-to-use-kprtl-on-nrf52840</link><description>Hello, 
 Is there any way to use the Kprtl as stated in the documentation of the nRF52840? 
 
 
 
 Best regards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 May 2020 09:29:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61537/how-to-use-kprtl-on-nrf52840" /><item><title>RE: How to use KPRTL on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/250887?ContentTypeID=1</link><pubDate>Wed, 20 May 2020 09:29:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5035a68b-8f74-4bba-b2fd-94761f6cc5d5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Azox,&lt;/p&gt;
&lt;p&gt;I did not follow you. Which key do you intend to use? If the developers have access to the debug interface, and that is not locked down, then they will have access to any key in flash (even the key that you will, in turn, write to KDR. And as mentioned the KRTL is useless in our HW implementation, it is unfortunate that the documentation mentions it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use KPRTL on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/250829?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 21:47:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8f48473-5fcc-406c-b8e7-6f04a7acb710</guid><dc:creator>Azox</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thank you for your answer.&lt;/p&gt;
&lt;p&gt;For my use case, two nRF52840 need to exchange encrypted data with a key which should not be known by the developer. Since the key is hardcoded within the devices and not recoverable, it could be a viable option as the devices are mutually authenticated by other means.&lt;/p&gt;
&lt;p&gt;I followed the instruction in the&amp;nbsp;documentation to set the registers of the CryptoCell accordingly, would this work or do I need to set additional parameters/registers ?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_CRYPTOCELL-&amp;gt;ENABLE = 1;

NRF_CC_HOST_RGF-&amp;gt;HOST_IOT_LCS = 2

NRF_CC_HOST_RGF-&amp;gt;HOST_CRYPTOKEY_SEL = 1; 
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;To be honest, I understand the concern of using such key from a security perspective. However, since such feature is detailed within the documentation, it should be possible to use it even by manually setting registers with/without usage of&amp;nbsp;the software library.&lt;/p&gt;
&lt;p&gt;If you could provide any additional guidance on how to properly use it I would be very grateful.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use KPRTL on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/250709?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 12:14:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:463bac4c-79ec-4519-97d7-f57da81279f8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The RTL key cannot be used for anything useful in the nRF52840. (The key is hardcoded and identical for all nRF52840 devices.)&lt;/p&gt;
&lt;p&gt;The device root key (KDR) could be usable, but the SW support is currently lacking. Also, this resides in RAM so you would need to keep the key in flash as well for it to be persistent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>