Random number generation
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
The random service
The random service provides random data via the /dev/random and /dev/urandom system interfaces. It uses the Fortuna algorithm and mixes entropy from fixed sources as well as optional plugin sources that can be added to the system, such as hardware or other entropy sources. The random service underpins most of the seeding of random sources in cryptography libraries like OpenSSL. Further, it also feeds entropy to the QNX OS kernel on a regular basis for ASLR and other features that depend on random data.Kernel PRNG seeding
The QNX OS kernel can obtain additional random data to initialize its PRNG at startup, filled from a SoC’s TRNG, from the system page. This data is mixed with other kernel entropy sources to provide better randomness to the PRNG seed. The system page provides random data via the system_private data structure. For more information, see system_private in theSystem Pagechapter of Building Embedded Systems.
Page updated: