<?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>Is there a way to encrypt the bootloader?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103041/is-there-a-way-to-encrypt-the-bootloader</link><description>Hi all, 
 I want to encrypt my firmware, so I find Enabling access port protection from code to enable the read back protection, and it worked. 
 But I also want to know is there a way for me to encrypt the bootloader? And how to make my application only</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Aug 2023 14:38:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103041/is-there-a-way-to-encrypt-the-bootloader" /><item><title>RE: Is there a way to encrypt the bootloader?</title><link>https://devzone.nordicsemi.com/thread/443016?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 14:38:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8463c95b-a73b-444b-a175-25ffe5791719</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Maybe it&amp;#39;s possible to use the ECB driver/HAL functions instead of the SoftDevice &lt;span&gt;ecb&amp;nbsp;&lt;/span&gt;&lt;span&gt;API.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to encrypt the bootloader?</title><link>https://devzone.nordicsemi.com/thread/442907?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 08:59:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:956d1f03-9110-4720-b48c-dca8258b7d06</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;yes, I found this. Since I didn&amp;#39;t use the softdevice, maybe this is not suitable for my case.&lt;/p&gt;
&lt;p&gt;Do you have any other way to achieve it? For example, use a unique identification code to do operations like activation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to encrypt the bootloader?</title><link>https://devzone.nordicsemi.com/thread/442905?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 08:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c858d936-fa98-4f03-b96f-1e13e07ba682</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Lurn_Z"]Does this solution work for non-softdevice?[/quote]
&lt;p&gt;Looking briefly through the code in the post, I see that e.g.&amp;nbsp;nrf_dfu_validation_crypt() uses&amp;nbsp;sd_ecb_block_encrypt() function, so it seems to&amp;nbsp;depend on SoftDevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to encrypt the bootloader?</title><link>https://devzone.nordicsemi.com/thread/442866?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 05:42:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3208cef-e167-445e-b96d-6fe148f76ca4</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Does this solution work for non-softdevice?&lt;/p&gt;
&lt;p&gt;Because when I modify the bootloader I found that some function was&amp;nbsp;declared in softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to encrypt the bootloader?</title><link>https://devzone.nordicsemi.com/thread/442561?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 12:34:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83a70e81-953a-4800-899f-b6c9f64413e2</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The post is a few years old, so you might want to&amp;nbsp;try&amp;nbsp;with an older version of nrfutil.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to encrypt the bootloader?</title><link>https://devzone.nordicsemi.com/thread/442484?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 10:29:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45ff9a9b-216a-4d72-9762-7d3231f2eb05</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Sigurd,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Not sure where the problem is, but I modified nrfutil according to what was said in the case, but I didn&amp;#39;t get the result as said in the case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So&amp;nbsp;&lt;span&gt;I have not continued down to the following operation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Get errors like&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/util_5F00_get.PNG" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/util_5F00_pkg.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;I check the code,&amp;nbsp;since my nrfutil version is higher than the case, so I didn&amp;#39;t replace the code, just add the nonce things in the code.&lt;/p&gt;
&lt;p&gt;I also used the&amp;nbsp;nrfutil.exe provided in the case, it can get a random value.&lt;/p&gt;
&lt;p&gt;can you tell me what&amp;#39;s wrong?&lt;/p&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;p&gt;I think my nrfutil version is 6.17.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1692700148041v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Lurn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to encrypt the bootloader?</title><link>https://devzone.nordicsemi.com/thread/442459?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 08:55:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47b54913-8b49-487d-862d-b00cc0691e13</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Thanks for your reply, I will try to learn it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Lurn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to encrypt the bootloader?</title><link>https://devzone.nordicsemi.com/thread/442456?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 08:49:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a39bebe1-ece8-44ae-921c-ce670350a5ad</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no official support for encrypted secure DFU in the nRF5-SDK. However, a user have implemented this, and provided a guide on how it can be done here:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37260/adding-encryption-to-secure-dfu-sdk-v15"&gt;Adding Encryption to Secure DFU SDK v15&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:75%;"&gt;Disclaimer: This 3rd party guide&amp;nbsp;has not been tested by Nordic, so there might be unknown issues. It is hence provided by this 3rd party as-is, without any warranty.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>