AMD Random Number Generator Library
AMD Random Number Generator Library is a pseudorandom number generator library. A pseudo-random number generator (PRNG) produces a stream of variates that are independent and statistically indistinguishable from a random sequence. AMD Random Number Generator Library provides a comprehensive set of statistical distribution functions which are founded on various underlying uniform distribution generators (base generators) including Wichmann-Hill and Mersenne Twister. The library contains five base generators and twenty-three distribution generators. In addition users can supply a custom built generator as the base generator for all of the distribution generators.
Highlights of AMD Random Number Generator 0.95 Beta
- Introduced a new API to generate random numbers seeded by hardware generated Cryptographically Secure Random Number Generator (CSRNG). The function uses the AMD Secure RNG library to seed the Mersenne Twister base generator and generates uniform distribution random numbers.
AMD Secure RNG Library
The AMD Secure Random Number Generator (RNG) is a library that provides APIs to access the cryptographically secure random numbers generated by AMD’s hardware random number generator implementation. These are highly quality robust random numbers suitable for Cryptographic applications. The library makes use RDRAND and RDSEED x86 instructions exposed by the AMD hardware. Applications can just link to the library and invoke either a single or stream of random numbers. The random numbers can be of 16-bit, 32-bit, 64-bit or arbitrary size bytes.
Highlights of AMD Secure RNG 0.1 Beta
- APIs to verify support for RDRAND and RDSEED instructions on the target machine
- Retrieve 16-bit, 32-bit, 64-bit or arbitrary size bytes using RDRAND and RDSEED instructions
- APIs support retrial in case of any failure in RNG hardware
The package containing AMD Secure RNG Library source, binaries, examples and documentation are available in the Downloads section below.