Difference between revisions of "STM32 Random Number Generator"

From Stm32World Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
== Testing ==
 
== Testing ==
 
To establish a baseline the random generators of the Linux kernel was tested with ''dieharder''
 
To establish a baseline the random generators of the Linux kernel was tested with ''dieharder''
 +
 +
=== Linux /dev/urandom ===
 +
 +
<pre>
 +
dd if=/dev/urandom of=tmp/urandom.dat bs=10K count=1000K status=progress
 +
</pre>
 +
 +
=== Linux /dev/random ===
 +
 +
<pre>
 +
dd if=/dev/random of=tmp/random.dat bs=10K count=1000K status=progress
 +
</pre>

Revision as of 03:17, 23 September 2024

Testing

To establish a baseline the random generators of the Linux kernel was tested with dieharder

Linux /dev/urandom

dd if=/dev/urandom of=tmp/urandom.dat bs=10K count=1000K status=progress

Linux /dev/random

dd if=/dev/random of=tmp/random.dat bs=10K count=1000K status=progress