<?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>ECDSA verify with Optiga Trust X</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75836/ecdsa-verify-with-optiga-trust-x</link><description>Hello, 
 I&amp;#39;m using the Infineon Optiga Trust X chip for ECDSA signature verification but I&amp;#39;m having trouble saving the public key. 
 Currently the public key is generated by a remote server and is received by the device via bluetooth but in the code below</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Jun 2021 13:44:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75836/ecdsa-verify-with-optiga-trust-x" /><item><title>RE: ECDSA verify with Optiga Trust X</title><link>https://devzone.nordicsemi.com/thread/312908?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 13:44:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab4e5301-c221-47b7-928a-7fdfb8e2f2e3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I am not familiar with this, but I assume it fails in&amp;nbsp;nrf_crypto_ecc_public_key_calculate() where:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    // Check and prepare parameters
    result = nrf_crypto_internal_ecc_key_input_check(
        p_private_key_header,
        NRF_CRYPTO_INTERNAL_ECC_PRIVATE_KEY_INIT_VALUE);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The actual check in&amp;nbsp;nrf_crypto_internal_ecc_key_input_check() is:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    // Check init value
    VERIFY_TRUE(p_key_header-&amp;gt;init_value == init_value, NRF_ERROR_CRYPTO_ECC_KEY_NOT_INITIALIZED);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It should be possible to breakpoint here and find the difference, e.g.&amp;nbsp;NRF_CRYPTO_INTERNAL_ECC_PRIVATE_KEY_INIT_VALUE is not set.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>