Module rdrand

Source
Available on x86 or x86-64 only.
Expand description

RDRAND and RDSEED instructions for returning random numbers from an Intel on-chip hardware random number generator which has been seeded by an on-chip entropy source.

Functions§

_rdrand16_steprdrand
Read a hardware generated 16-bit random value and store the result in val. Returns 1 if a random value was generated, and 0 otherwise.
_rdrand32_steprdrand
Read a hardware generated 32-bit random value and store the result in val. Returns 1 if a random value was generated, and 0 otherwise.
_rdseed16_steprdseed
Read a 16-bit NIST SP800-90B and SP800-90C compliant random value and store in val. Return 1 if a random value was generated, and 0 otherwise.
_rdseed32_steprdseed
Read a 32-bit NIST SP800-90B and SP800-90C compliant random value and store in val. Return 1 if a random value was generated, and 0 otherwise.
x86_rdrand16_step 🔒
x86_rdrand32_step 🔒
x86_rdseed16_step 🔒
x86_rdseed32_step 🔒