<?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>Crypto backend module used by DFU and Appication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75000/crypto-backend-module-used-by-dfu-and-appication</link><description>Hi. 
 I am using the oberon crypto backend module to use LESC in the application firmware. (I referred to the GLS example) 
 And I am trying to add a boot loader to use DFU. However, the boot loader cannot be added because the flash size is insufficient</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 May 2021 06:41:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75000/crypto-backend-module-used-by-dfu-and-appication" /><item><title>RE: Crypto backend module used by DFU and Appication</title><link>https://devzone.nordicsemi.com/thread/309369?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 06:41:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3156d011-0c0a-4ea8-9fd6-e9e54f19c390</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;No, the security will be exactly the same, and the connection will also be established in the exact same way. It is just that the crypto operation done during the&amp;nbsp;Diffie&amp;ndash;Hellman key exchange will take slightly more time and consume more power. But this is a one-time operation per pairing so if this is all you use crypto for in your application, it has no practical implications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Crypto backend module used by DFU and Appication</title><link>https://devzone.nordicsemi.com/thread/309343?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 23:43:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a81850c4-a914-48ea-a767-a92fc6f9c06d</guid><dc:creator>moon.kim</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for reply&lt;/p&gt;
&lt;p&gt;I have one question about this.&lt;/p&gt;
&lt;p&gt;Does poor performance mean that the connection may not be possible during pairing? Or does it mean that security is weak?&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/75000/crypto-backend-module-used-by-dfu-and-appication/309205#309205"] If you only use crypto for LESC and DFU, then you could use micro-ecc in the app as well (it will not have as good performance, but that only matters when pairing which is not a common task. And you should expect to see a reduction in application size.[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Crypto backend module used by DFU and Appication</title><link>https://devzone.nordicsemi.com/thread/309205?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 11:38:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1232c39d-9079-44e2-80dd-836b82ae7516</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Question 1.&amp;nbsp;Can use the same crypto backend module in bootloader and application?[/quote]
&lt;p&gt;No, you cannot. The crypto module is part of the binary, and is separate for the bootloader and application. Note that micro-ECC is quite small, so you do not have any other real option for the bootloader.&lt;/p&gt;
&lt;p&gt;How does your memory layout look? Would it be possible to compress the application a bit to give room to increase the bootloader sizes? Perhaps by using something other than oberon in the application as well? If you only use crypto for LESC and DFU, then you could use micro-ecc in the app as well (it will not have as good performance, but that only matters when pairing which is not a common task. And you should expect to see a reduction in application size.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>