AOCL-RNG
AOCL-RNG is a high-performance, vector-based random number generation library optimized for AMD “Zen” processors. It offers a comprehensive suite of pseudorandom and quasi-random number generators, along with statistical distribution functions covering both continuous and discrete types. The library supports integer, single-precision, and double-precision outputs, featuring seven base generators and 23 distribution generators. Users can also specify a custom-built generator as the base for all distribution generators. AOCL-RNG depends on AOCL-LibM and the single-threaded AOCL-BLAS library.
Highlights of AOCL-RNG 5.2
- There are no updates or modifications since version 5.1.
The package containing AOCL-RNG binaries, examples, and documentation can be found in the Downloads section.
AOCL-SecureRNG
The AOCL-SecureRNG library provides APIs to access the cryptographically secure random numbers generated by AMD’s AOCL-RNG. It uses RDRAND and RDSEED x86 instructions provided by AMD hardware. Applications can link to the library and invoke either a single or a stream of random numbers in 16-, 32-, or 64-bit formats or arbitrary sized bytes.
Highlights of AOCL-SecureRNG 5.2
- There are no updates or modifications since version 5.1.
Documentation
- AOCL-RNG API guide
- Blog: AMD Secure Random Number Generator Library
- Prior versions: Random Number Generator Libraries Archive
Downloads
| File Name | Version | Size | Launch Date | OS | Bitness | Description |
| Binary Packages Compiled with AOCC 5.1 | ||||||
| aocl-rng-linux-aocc-5.2.0.tar.gz | 5.2 | 888KB | 12/31/2025 | RHEL, Ubuntu, SLES | 64-bit | AOCC compiled AOCL-RNG library binary package sha256 Checksum: 0dc7093a3019d31b029680da1f1261e38026d9eacc9df8a9d23c632bb591e6e1 |
| aocl-securerng-linux-aocc-5.2.0.tar.gz | 5.2 | 14KB | 12/31/2025 | RHEL, Ubuntu, SLES | 64-bit | AOCC compiled AOCL-SecureRNG library binary package SHA-256 checksum: 127d60cd6c52cf4996ee470d8f90952ea7b70d2a851c0dc15d46db8089ca493b |
| Binary Packages Compiled with GCC 14.2.1 | ||||||
| aocl-rng-linux-gcc-5.2.0.tar.gz | 5.2 | 783KB | 12/31/2025 | RHEL, Ubuntu, SLES | 64-bit | GCC compiled AOCL-RNG library binary package SHA-256 checksum: 6edc9aad6111ad381d5a9b81a05c4cce39e593584cf8cc1fe716a5c2748489e6 |
| aocl-securerng-linux-gcc-5.2.0.tar.gz | 5.2 | 13KB | 12/31/2025 | RHEL, Ubuntu, SLES | 64-bit | GCC compiled AOCL-SecureRNG library binary package SHA-256 checksum: ad9b5d2282f73f4da56a40ab8b42704ebe4b9d339b824130566f920cc6e5716f |
| Windows Installer Compiled with Clang 18 | ||||||
| AOCL_Windows-setup-5.2.0-AMD.exe | 5.2 | 154MB | 12/31/2025 | Windows 11, Windows 10 | 64-bit | Windows installer file containing all the AOCL library binaries compiled with Clang 18. SHA-256 checksum: 0caf97420a5e1372aab6c70160f977f4a36c26cee89b88856145af82df2fe096 |