<?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>Running ECDH and AES256 CTR in the same project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49362/running-ecdh-and-aes256-ctr-in-the-same-project</link><description>Hi, 
 I successfully tested ecdh and aes256 in seperate projects but I want to combine them. 
 This is my code: 
 
 
 Problem is that when i call the ecc functions this happens: 
 &amp;lt;error&amp;gt; app: Error 0x8516: An internal error occurred when calling this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jul 2019 13:46:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49362/running-ecdh-and-aes256-ctr-in-the-same-project" /><item><title>RE: Running ECDH and AES256 CTR in the same project</title><link>https://devzone.nordicsemi.com/thread/196589?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2019 13:46:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c02d0348-7fc4-4f76-ac0f-2aa7e8d6478d</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Can you check which function within &lt;strong&gt;nrf_crypto_ecc_key_pair_generate()&lt;/strong&gt; that returns the error? By stepping through it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running ECDH and AES256 CTR in the same project</title><link>https://devzone.nordicsemi.com/thread/196522?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2019 11:49:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6da8ada0-392f-4593-a268-80ae844e3cb8</guid><dc:creator>AptusBE</dc:creator><description>&lt;p&gt;Yes, the aes functions are&amp;nbsp;OK and when i debug I see the message decrypted so that&amp;#39;s fine. The first ecc function returns an error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running ECDH and AES256 CTR in the same project</title><link>https://devzone.nordicsemi.com/thread/196521?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2019 11:47:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6452268-bd0f-4b77-9751-d53405deb36e</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NRF_ERROR_CRYPTO_INTERNAL &lt;/strong&gt;can come from a few of these function calls. Have you tried to debug and see which function returns this error?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>