<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>Replace Oberon backend with uECC backend in LESC device app</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88166/replace-oberon-backend-with-uecc-backend-in-lesc-device-app</link><description>In my project I use nRF52832 embedded in MuRata module. I have a BLE service with capabilities very similar to NUS service. 
 I&amp;#39;ve managed to add support for LESC + SEC_MITM to my BLE service while using the Oberon backend. I&amp;#39;ve also managed to build</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Tue, 24 May 2022 15:48:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88166/replace-oberon-backend-with-uecc-backend-in-lesc-device-app" /><item><title>RE: Replace Oberon backend with uECC backend in LESC device app</title><link>https://test-devzone.nordicsemi.com/thread/369354?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 15:48:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:739b01ac-35b8-48be-9648-bd3814acae9c</guid><dc:creator>user116355</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I failed to understand correctly your&amp;nbsp;initial answer.&lt;/p&gt;
&lt;p&gt;After reading again and again the crypto backends related documentation I was sure that you mentioned the compilation flags to be used while building the uECC library. But after I looked more carefully I see that the same flags have to be used also in the project using the uECC library. And that is because&amp;nbsp;&lt;strong&gt;uECC_VLI_NATIVE_LITTLE_ENDIAN&lt;/strong&gt; flag is also used by the &lt;strong&gt;micro-ecc backend&lt;/strong&gt;&amp;nbsp;which is compiled as a part of the project.&lt;/p&gt;
&lt;p&gt;Please update the documentation of the backend.&lt;/p&gt;
&lt;p&gt;Now while compiling my project with uECC the pairing works.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ron.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replace Oberon backend with uECC backend in LESC device app</title><link>https://test-devzone.nordicsemi.com/thread/369280?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 12:33:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b40531cd-36e8-419b-bc62-2a02c2e8bb44</guid><dc:creator>user4240</dc:creator><description>&lt;p&gt;Hello Ron,&lt;/p&gt;
[quote user="Ron."]I see no issue here, it is probably something else.[/quote]
&lt;p&gt;Probably. But I&amp;#39;m not really sure what it could be considering uECC is just another backend for nRF crypto (i.e. should only be a matter of changing some config. settings)&lt;/p&gt;
&lt;p&gt;Please try to run the project below and see if you get the same result. It&amp;#39;s a modified version of the ble_app_hrs example from SDK 16 that I made to test out LESC pairing with uECC instead of Oberon. It did not get any pairing failures when I tested it at least.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://test-devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_hrs_5F00_uecc_5F00_lesc.zip"&gt;test-devzone.nordicsemi.com/.../ble_5F00_app_5F00_hrs_5F00_uecc_5F00_lesc.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replace Oberon backend with uECC backend in LESC device app</title><link>https://test-devzone.nordicsemi.com/thread/369065?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 13:39:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0a5b207-643a-444e-99d8-659757b83b09</guid><dc:creator>user116355</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;Please see the flags I use to build the uECC library:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;uECC_ENABLE_VLI_API=0&lt;/p&gt;
&lt;p&gt;uECC_OPTIMIZATION_LEVEL=3&lt;/p&gt;
&lt;p&gt;uECC_SQUARE_FUNC=0&lt;/p&gt;
&lt;p&gt;uECC_SUPPORT_COMPRESSED_POINT=0&lt;/p&gt;
&lt;p&gt;uECC_VLI_NATIVE_LITTLE_ENDIAN=1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I see no issue here, it is probably something else.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Ron.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replace Oberon backend with uECC backend in LESC device app</title><link>https://test-devzone.nordicsemi.com/thread/369052?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 13:21:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88f821a9-f4cb-45d5-b895-36a33e68c6ea</guid><dc:creator>user4240</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please make sure you are building your project with these uECC_* flags like in the ecdh crypto example (/examples/crypto/nrf_crypto/ecdh) &lt;br /&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653311505645v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The last symbol highlighted in read is the most important one. Without it, the nrf crypto library will assume the uECC backend is big endian like the others and cause computation of the shared secret to fail.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replace Oberon backend with uECC backend in LESC device app</title><link>https://test-devzone.nordicsemi.com/thread/368894?ContentTypeID=1</link><pubDate>Sun, 22 May 2022 19:26:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a098696-9554-43e4-aae2-561eb1879b39</guid><dc:creator>user116355</dc:creator><description>&lt;p&gt;I forgot to mention that&amp;nbsp;the projects are built with&amp;nbsp;nRF5 SDK 16.0.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>