Random number generation

QNX SDP8.0QNX OS System Security GuideAPIConfiguration

For best security, QNX recommends you use the QNX OS random service for random number generation instead of the random number functions that libc provides.

The random service is the provider of the /dev/random and /dev/urandom system interfaces that provide random data. See random in the Utilities Reference.

Alternatively, you can access /dev/urandom via the QNX cryptography library by specifying urandom as the algorithm name when you request an RNG algorithm (using qcrypto_rng_request()). For more information, see QNX Cryptography Library.

Page updated: