<?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>How to get PSA random number generation working on nRF52832?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108915/how-to-get-psa-random-number-generation-working-on-nrf52832</link><description>I&amp;#39;m working with an nRF52832 and am trying to get random number generation to work, having spent the better part of a day trying. I&amp;#39;m attempting to use the PSA library (psa_crypto_init() and psa_generate_random() functions) in the nRF Connect SDK. 
 I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Apr 2024 12:10:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108915/how-to-get-psa-random-number-generation-working-on-nrf52832" /><item><title>RE: How to get PSA random number generation working on nRF52832?</title><link>https://devzone.nordicsemi.com/thread/478541?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 12:10:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6930ae1-2cf0-4898-a60b-c786d0368c9b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That is unfortunate. The nRF52832 does not have Cryptocell, TrustZone SPU or KMU available, and ACL should be replaced by BPROT. It looks like the link to the nRF52832 product brief have been removed from the product page. I would recommend to reference the &lt;a href="https://infocenter.nordicsemi.com/topic/struct_nrf52/struct/nrf52.html"&gt;infocenter&lt;/a&gt; for supported features in the different chip variants.&lt;/p&gt;
&lt;p&gt;Regarding RNG support, this is described in the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/nrf/libraries/security/nrf_security/doc/driver_config.html#rng-support"&gt;RNG support&lt;/a&gt;&amp;nbsp;documentation in NCS:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;&lt;span&gt;For devices without a hardware-accelerated cryptographic engine, entropy is provided by the nRF RNG peripheral. PRNG support is provided by the Oberon PSA driver, which is implemented using software.&lt;/span&gt;&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get PSA random number generation working on nRF52832?</title><link>https://devzone.nordicsemi.com/thread/472553?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2024 16:18:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:821aa7be-fc13-44cf-8666-b676237d7457</guid><dc:creator>HenryHunt</dc:creator><description>&lt;p&gt;So, I had been referencing &lt;a href="https://www.nordicsemi.com/-/media/Software-and-other-downloads/Product-Briefs/nRF52832-product-brief.pdf"&gt;this&lt;/a&gt; datasheet, which is explicitly for the nRF52832 and states that it does have a CryptoCell-312 under &amp;quot;Application Core,&amp;quot; which is why I have been confused as to why I couldn&amp;#39;t get it working. After your response though, the actual datasheet for the chip does indeed not mention a CryptoCell.&lt;/p&gt;
&lt;p&gt;In that case then, what is the recommended/default way to generate random numbers on this chip without such hardware support? Using the RNG peripheral? Note that in this case I don&amp;#39;t need them to be cryptographically secure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get PSA random number generation working on nRF52832?</title><link>https://devzone.nordicsemi.com/thread/472311?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2024 17:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc5177ef-571d-435f-a73d-c3a6ef07b51b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The samples are not written to support device that does not have a HW crypto acceleration unit (Cryptocell). I&amp;#39;m checking if it is possible to configure the sample to run on devices without this unit present.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>