<?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>FAILED1: Sign Failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90186/failed1-sign-failed</link><description>Hello, 
 When we execute the signature via the chip, we get the error message &amp;quot;FAILED1: Sign Failed&amp;quot;. 
 In our main.c, we get the &amp;quot;err_code&amp;quot; = 8516 from the following statement: 
 err_code = nrf_crypto_ecdsa_sign(&amp;amp;sign_context, &amp;amp;private_key, global_raw_message</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Aug 2022 07:49:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90186/failed1-sign-failed" /><item><title>RE: FAILED1: Sign Failed</title><link>https://devzone.nordicsemi.com/thread/382833?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 07:49:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fce62f10-461a-4825-8108-11e6a41d1676</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are these errors from our &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.0/nrf/samples/crypto/ecdsa/README.html"&gt;Crypto: ECDSA&lt;/a&gt; sample?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FAILED1: Sign Failed</title><link>https://devzone.nordicsemi.com/thread/382825?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 07:26:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9ad387d-e990-41e7-aebd-9e4e01fd6ba8</guid><dc:creator>HY Chang</dc:creator><description>&lt;p&gt;Per your suggestion, we have successfully compiled our program, but the program still encounters new error messages while executing. The errors are&amp;nbsp; &amp;quot;undefined reference to psa_sign_message&amp;quot; and &amp;quot;psa_sign_message is undefined&amp;quot;. Could you please tell us how to address the problems&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FAILED1: Sign Failed</title><link>https://devzone.nordicsemi.com/thread/379830?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 09:07:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b61efc10-09c4-4043-9cff-3dec72543f51</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;We do not yet have a reference to the PSA Crypto API in our documentation, but you can use the &lt;a href="https://armmbed.github.io/mbed-crypto/html/index.html"&gt;PSA Cryptography API 1.1&lt;/a&gt; official documentation.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FAILED1: Sign Failed</title><link>https://devzone.nordicsemi.com/thread/379826?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 08:50:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5af8e507-85a3-4287-a98c-693defc6437c</guid><dc:creator>HY Chang</dc:creator><description>&lt;p&gt;Sorry, I would like to ask how&amp;nbsp;to use the &lt;span&gt;PSA Crypto API in the project?&lt;br /&gt; I can&amp;#39;t find any steps for using this API in the document.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FAILED1: Sign Failed</title><link>https://devzone.nordicsemi.com/thread/378014?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2022 08:42:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5098e69a-33eb-45dd-ab9e-daf0fe7f55ff</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes, I think it should be fine on the dongle. &lt;br /&gt;To be sure, I suggest that you try to build it for the dongle and test.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FAILED1: Sign Failed</title><link>https://devzone.nordicsemi.com/thread/377977?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2022 04:51:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35564944-d455-4acc-839a-f37d71bdfd36</guid><dc:creator>HY Chang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.0/nrf/samples/crypto/ecdsa/README.html"&gt;Crypto: ECDSA&lt;/a&gt; sample, the hardware platforms support nRF52840 DK, but our hardware platform is nRF52840 Dongle with PCA10059&lt;/p&gt;
&lt;p&gt;Is this sample support nRF52840 Dongle with PCA10059?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FAILED1: Sign Failed</title><link>https://devzone.nordicsemi.com/thread/377882?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 13:24:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa92c526-4453-42f6-b644-285a003673a2</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;First of all, I recommend that you have a look at our &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.0/nrf/samples/crypto/ecdsa/README.html"&gt;Crypto: ECDSA&lt;/a&gt; sample.&lt;/p&gt;
&lt;p&gt;This uses the PSA crypto API.&lt;br /&gt;This is useful for multiple reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The PSA Crypto API functionality is well documented at &lt;a href="https://armmbed.github.io/mbed-crypto/html/index.html"&gt;https://armmbed.github.io/mbed-crypto/html/index.html&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;The PSA Crypto API will choose the best &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.0/nrfxlib/crypto/README.html"&gt;Crypto Library&lt;/a&gt; for your application. Then you can use Kconfig to enable and disable the backends you want to use.&lt;/li&gt;
&lt;li&gt;The PSA Crypto API will also work with Trusted Firmware-M. Meaning that if you on a later point in time want to change to a nRF5340 or nRF9160, you will have an easier time.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Are you able to use the PSA Crypto API instead of &amp;quot;nrf_crypto_ecdsa_sign&amp;quot;?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>