<?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>CC310 Crypto Libraries giving Hanging Issue.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71872/cc310-crypto-libraries-giving-hanging-issue</link><description>Hi Team, 
 We are using the nRF52840 DK for one of our project, as part of that we are using the RNG functionality with CC310 Library. 
 When we call this &amp;quot;CRYS_RND_GenerateVector&amp;quot; function or any Crypto related functions at fixed time interval like for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Apr 2021 12:12:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71872/cc310-crypto-libraries-giving-hanging-issue" /><item><title>RE: CC310 Crypto Libraries giving Hanging Issue.</title><link>https://devzone.nordicsemi.com/thread/305089?ContentTypeID=1</link><pubDate>Thu, 15 Apr 2021 12:12:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28409520-d2fe-4466-913e-71a4e6663cbc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Srinivas,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know where it hangs in your code, but you can find our nrf crypto examples in the nrf_crypto directory here:&amp;nbsp; \nRF5_SDK_17.0.2_d674dde\examples\crypto\nrf_crypto that you can use references.&lt;/p&gt;
&lt;p&gt;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: CC310 Crypto Libraries giving Hanging Issue.</title><link>https://devzone.nordicsemi.com/thread/305046?ContentTypeID=1</link><pubDate>Thu, 15 Apr 2021 10:24:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b236b469-cca5-49ec-8ae3-e80599b9640e</guid><dc:creator>Srinivas V</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. Even after using CC310 with&amp;nbsp; &amp;quot;nrf_crypto&amp;quot; front end with mutex provision also it is hanging between multiple calls.&lt;/p&gt;
&lt;p&gt;Any body is faced the same issue with CC310 HW RNG and With Crypto Functionalities. If you have any source code could you please share with us , we will use the same .&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Srinivas.V&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CC310 Crypto Libraries giving Hanging Issue.</title><link>https://devzone.nordicsemi.com/thread/295754?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 09:24:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:208ced08-c627-432c-a96b-0244310f21c2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please consider using the &lt;span&gt;&lt;a title="Cryptography library - nrf_crypto" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_crypto.html?cp=7_1_3_11"&gt;nrf_crypto&lt;/a&gt;&lt;/span&gt; module with the cryptocell as the backend instead of trying to work directly with the SaSi API. From the code you posted I see you are not using mutex to ensure exlusive access, so the problem might be that you are calling &amp;quot;CRYS_RND_GenerateVector&amp;quot; while the cryptocell HW is busy with another task.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>