<?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>Differences between RNG drivers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46582/differences-between-rng-drivers</link><description>Hi, 
 I&amp;#39;m working on a project where I need to use an RNG. 
 I worked with the nrf_drv_rng function with previous SDK but in the latest SDK (15.3) the is nrfx and nrf drivers. Moreover there is a nrf_crypto_rng driver. 
 I had performance issues with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Apr 2019 07:37:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46582/differences-between-rng-drivers" /><item><title>RE: Differences between RNG drivers</title><link>https://devzone.nordicsemi.com/thread/183661?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 07:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7de4c380-1162-405a-a705-0e0812070fd0</guid><dc:creator>Zoptune</dc:creator><description>&lt;p&gt;Ok everything is clear now, thank you :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Differences between RNG drivers</title><link>https://devzone.nordicsemi.com/thread/183659?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 07:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:823d841e-8d69-4c08-9fe9-479a83186f56</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Yes, the memory impact is higher with nrf_crypto_rng compared to using the RNG peripheral directly. To what degree depend on which backed you use. But that only matters if your design is memory constrained.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Differences between RNG drivers</title><link>https://devzone.nordicsemi.com/thread/183654?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 07:18:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2edf7a5-8afd-4564-9fc4-6a63f93081d3</guid><dc:creator>Zoptune</dc:creator><description>&lt;p&gt;Hi and thank you for your clear answer. I now understand.&lt;/p&gt;
&lt;p&gt;I think that the memory impact is higher with the nrf_crypto_rng. Am I wrong ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Differences between RNG drivers</title><link>https://devzone.nordicsemi.com/thread/183547?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 14:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a5715c1-202c-4aba-ae34-e0ab4b02208c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The nrf_drv_rng uses nrfx_rng for low level handling of the RNG, but provide a more user-friendly API. the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_crypto_rng.html?cp=5_0_3_11_15_10"&gt;nrf_crypto_rng &lt;/a&gt;is an even higher level API that is uniform across the RNG peripherals (CC310 RNG and nRF RNG). Moreover, this supports using the RNG peripheral to seed a&amp;nbsp;CTR-DRBG algorithm, which is why you get better performance. I recommend using nrf_crypto_rng unless you have a good reason not to (I cannot think of any).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>