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.

AMD Random Number Generator Includes

  • API to generate random numbers seeded by hardware generated Cryptographically Secure Random Number Generator (CSRNG). The function uses AMD Secure RNG library to seed the Mersenne Twister base generator and generates uniform distribution random numbers.

The package containing AMD Random Number Generator Library binaries, examples, and documentation are available in the following Downloads section:

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-based random number generator implementation. These are high quality robust random numbers designed to be suitable for cryptographic applications. The library makes use of RDRAND and RDSEED x86 instructions exposed by the AMD hardware. Applications can just link to the library and invoke either a single or a stream of random numbers. The random numbers can be of 16-bit, 32-bit, 64-bit or arbitrary size bytes.

AMD Secure RNG includes

  • 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
  • Bug fixes and improvements

The package containing AMD Secure RNG Library source, binaries, examples, and documentation are available in the following Downloads section:

Download:

Refer here for older versions

File Name Version Size Launch Date OS Bitness Description
AOCC compiled binary packages

File Name

Version

3.0

Size

2.41MB

Launch Date

03/15/2021

OS

Ubuntu, SLES, CentOS, RHEL

Bitness

64-bit

Description

AOCC compiled AMD Random Number Generator Library binary package sha256 Checksum : 5271352b6f6166c219f4d845200c427d95d90e425ad040c395da19761126cc91

File Name

Version

3.0

Size

183KB

Launch Date

03/15/2021

OS

Ubuntu, SLES, CentOS, RHEL

Bitness

64-bit

Description

AOCC compiled AMD Random Number Generator Library binary package sha256 Checksum : c4b0fae7b779b1089e96af9778820e7fa6df78b94962f5c6230fb6b3fac863a2
GCC compiled binary packages

File Name

Version

3.0

Size

2.37MB

Launch Date

03/15/2021

OS

Ubuntu, SLES, CentOS, RHEL

Bitness

64-bit

Description

GCC compiled AMD Random Number Generator Library binary package sha256 Checksum : 3ed1c37e315e72a9cc7a58820847810d6e522bca81b78f9e76b1367f5a20840d

File Name

Version

3.0

Size

184KB

Launch Date

03/15/2021

OS

Ubuntu, SLES, CentOS, RHEL

Bitness

64-bit

Description

GCC compiled AMD Random Number Generator Library binary package sha256 Checksum : 9758f60db77cf264e3f17c7af35ff3c3105d4192f4eb3614e267db11442b028b