<?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>CRYS_ECDSA_Verify returns 0x00F00871 [SDK14]</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27176/crys_ecdsa_verify-returns-0x00f00871-sdk14</link><description>I am trying to use the cryptocell in the bootloader (bootloader_secure_ble) for verifying dfu packages, but fails in signature verification for the same dfu package, same public key as I used with micro-ecc crypto library, where it works as it should</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Nov 2017 13:21:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27176/crys_ecdsa_verify-returns-0x00f00871-sdk14" /><item><title>RE: CRYS_ECDSA_Verify returns 0x00F00871 [SDK14]</title><link>https://devzone.nordicsemi.com/thread/107054?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2017 13:21:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12f4870a-b056-457a-bc03-1494d751d808</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Ola,&lt;/p&gt;
&lt;p&gt;the error code &lt;code&gt;0x000F00781&lt;/code&gt; corresponds to &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/group__crys__ecpki__error.html?resultof=%22%43%52%59%53%5f%45%43%44%53%41%5f%56%45%52%49%46%59%5f%49%4e%56%41%4c%49%44%5f%55%53%45%52%5f%43%4f%4e%54%45%58%54%5f%50%54%52%5f%45%52%52%4f%52%22%20"&gt;CRYS_ECDSA_VERIFY_INVALID_USER_CONTEXT_PTR_ERROR&lt;/a&gt;. Hence its the&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CRYS_ECDSA_VerifyUserContext_t * p_verify_context_user = NULL; 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;line in &lt;code&gt;nrf_crypto_ecdsa_verify_hash()&lt;/code&gt; that is the cause of the error. I discussed this with one of the SW developers responsible for the Cryptocell libraries and its been declared as a null pointer intentionally.  This pointer should have been passed as an argument to the nrf_crypto_ecdsa_verify_hash() function, containing the results from the previously called nrf_crypto_hash_compute() function. However, there was not enough time to implement this prior to the release of the SDK.&lt;/p&gt;
&lt;p&gt;Furthermore,  the CC310_keil_0.9.0.lib much larger than we would like, so we&amp;#39;re in the process looking into how we can reduce the code size and we&amp;#39;re also re-writting the nrf_crypto library.&lt;/p&gt;
&lt;p&gt;Thus, I would not spend to much time on this as it will most likely change significantly once the CryptoCell library and the nrf_crypto libraries are production-ready.&lt;/p&gt;
&lt;p&gt;Best regards
Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CRYS_ECDSA_Verify returns 0x00F00871 [SDK14]</title><link>https://devzone.nordicsemi.com/thread/107053?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 08:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80fb34e8-3664-4d4e-b342-7139837078ed</guid><dc:creator>Ola</dc:creator><description>&lt;p&gt;No, I have not yet found a solution - I am waiting for your response.
So what do I need to do with the parameters (public key, and signature) before the call to CRYS_ECDSA_Verify(...), and how do I do what I need to do.&lt;/p&gt;
&lt;p&gt;/Ola.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CRYS_ECDSA_Verify returns 0x00F00871 [SDK14]</title><link>https://devzone.nordicsemi.com/thread/107052?ContentTypeID=1</link><pubDate>Sat, 04 Nov 2017 00:59:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:285be894-4ef8-4227-9492-f7c0e17b9f73</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I apologize for the late reply. Are you still having this issue or have you found a solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>