i.MX31 Testing RNGA

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX31 Testing RNGA

i.MX31 Testing RNGA

Random Number Generator - RNGA

Download rng-tools:

http://downloads.sourceforge.net/sourceforge/gkernel/rng-tools-2.tar.gz

This tool tests the link between a random number generator hardware and the kernel's PRNG (pseudo-random number generator).

./ltib -m shell 
LTIB> cd rpm/BUILD/ 
LTIB> cp ~/hwrandom/rng-tools-2.tar.gz . 
LTIB> tar zxvf rng-tools-2.tar.gz 
LTIB> cd rng-tools-2 
LTIB> ./configure --host=arm-linux 
LTIB> make 
LTIB> sudo cp rngtest /tftpboot/ltib/home/

Restart your board and execute this command in the board's console:

$ cat /dev/hwrng | /home/rngtest -c 1000 


Tags (2)
Version history
Revision #:
2 of 2
Last update:
‎09-10-2020 02:12 AM
Updated by:
 
Contributors