<?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>failed in compiling DFU Secure Bootloader with uECC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77255/failed-in-compiling-dfu-secure-bootloader-with-uecc</link><description>Dear Nordic, 
 we are developing DFU Secure bootloader for a nRF52832 based HW. 
 We are starting from the &amp;quot;\examples\dfu\secure_bootloader&amp;quot; . First of all, we succesfully compiled the uECC library &amp;quot;micro_ecc_lib_nrf52.lib&amp;quot; for keil , than we added them</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Jul 2021 13:01:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77255/failed-in-compiling-dfu-secure-bootloader-with-uecc" /><item><title>RE: failed in compiling DFU Secure Bootloader with uECC</title><link>https://devzone.nordicsemi.com/thread/320911?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 13:01:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89141b85-c36b-4712-90e0-7ea324a6c8fc</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;uECC is supported for Secure DFU examples. It is one of the supported backends for performing the ECC cryptographic operations required by the solution. Before SDK 15, uECC was the preferred solution for this, but required additional SW backend for performing SHA256/Hash operations. From SDK 15.0.0, we also added nRF_Oberon backend to the nrf_crypto libraries. This Oberon backend supports ECC, but it also supports Hash/SHA256. If you stick with Oberon, you will only need a single backend, while if going for uECC, you will require one additional backend for SHA256 (either SW, Oberon, or mbedTLS).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed in compiling DFU Secure Bootloader with uECC</title><link>https://devzone.nordicsemi.com/thread/319708?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 07:16:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a32f4a8-cf19-4bfb-b928-3a2330bb627e</guid><dc:creator>StefXinet</dc:creator><description>&lt;p&gt;Dear&amp;nbsp;J&amp;oslash;rgen,&lt;/p&gt;
&lt;p&gt;so the Secure DFU example doesn&amp;#39;t support ECC. Could you explain me why I should include uECC library it and compile separately&amp;nbsp;\external\micro-ecc\nrf52nf_keil\armgcc\micro_ecc_lib_nrf52.lib ?&lt;/p&gt;
&lt;p&gt;Why I need uECC if your bootloader does not support it? There iis something not clear in the tutorials...&lt;/p&gt;
&lt;p&gt;I read the following&amp;nbsp;tutorials:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_dfu_bootloader.html"&gt;BLE Secure DFU Bootloader&lt;/a&gt;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Flib_crypto_backend_micro_ecc.html&amp;amp;resultof=%22%49%6e%73%74%61%6c%6c%69%6e%67%22%20%22%69%6e%73%74%61%6c%22%20%22%6d%69%63%72%6f%2d%65%63%63%22%20"&gt;micro_ecc backend&lt;br /&gt;&lt;/a&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Flib_bootloader_dfu_keys.html"&gt;Working with keys&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks for help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed in compiling DFU Secure Bootloader with uECC</title><link>https://devzone.nordicsemi.com/thread/319653?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 15:30:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:507a91bb-2d24-4d3b-b69d-9be1ffcbe814</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The DFU/Bootloader solution uses Hash/SHA256-functions to verify the integrity of the received DFU image. You need to enable another backend that supports &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_crypto.html#lib_crypto_intro_family_hash"&gt;Hash&lt;/a&gt;, as this is not supported in µECC (which only supports &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_crypto.html#lib_crypto_intro_family_ecc"&gt;ECC&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>