The alperftest
utility can be used on Linux, macOS, freeBSD and Windows to test AlphaRNG performance for different transmission modes.
For Linux and freeBSD, make sure the alperftest
utility is successfully built with make
. Plug the AlphaRNG device in a USB port.
For the alperftest
utility, run the following command:
alperftest
alperftest
will discover all of the AlphaRNG devices connected to the system, run general device performance test for different transmission modes and,
report the random number generation speed in killobits per second.
The output may look similar to this:
-------------------------------------------------------------------------------
-------- TectroLabs - alperftest - AlphaRNG performance test utility ----------
-------------------------------------------------------------------------------
Searching for devices ----------------------------- found 1 AlphaRNG device(s)
Opening device 0 ----------------------------------------------------- Success
Measuring performance for 'Alpha True RNG ', S/N: 39BA396CCA9D7BB, version: 1.0
MAC: None , cipher: None , session pk: RSA-2048 ...... 24414 KB/sec
MAC: HMAC-MD5 , cipher: None , session pk: RSA-2048 ...... 3417 KB/sec
MAC: HMAC-SHA160, cipher: None , session pk: RSA-2048 ...... 2278 KB/sec
MAC: HMAC-SHA256, cipher: None , session pk: RSA-2048 ...... 1367 KB/sec
MAC: None , cipher: AES-128-GCM, session pk: RSA-2048 ...... 683 KB/sec
MAC: HMAC-MD5 , cipher: AES-128-GCM, session pk: RSA-2048 ...... 569 KB/sec
MAC: HMAC-SHA160, cipher: AES-128-GCM, session pk: RSA-2048 ...... 525 KB/sec
MAC: HMAC-SHA256, cipher: AES-128-GCM, session pk: RSA-2048 ...... 455 KB/sec
MAC: None , cipher: AES-256-GCM, session pk: RSA-2048 ...... 569 KB/sec
MAC: HMAC-MD5 , cipher: AES-256-GCM, session pk: RSA-2048 ...... 525 KB/sec
MAC: HMAC-SHA160, cipher: AES-256-GCM, session pk: RSA-2048 ...... 488 KB/sec
MAC: HMAC-SHA256, cipher: AES-256-GCM, session pk: RSA-2048 ...... 427 KB/sec