i.MX31 Testing RNGA

Document created by jesseg Employee on Aug 21, 2012Last modified by Jodi Paul on Apr 18, 2013
Version 2Show Document
  • View in full screen mode

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 


Attachments

    Outcomes