core::arch::x86_64

Function _rdseed16_step

1.27.0 · source
pub unsafe fn _rdseed16_step(val: &mut u16) -> i32
Available on (x86 or x86-64) and target feature rdseed and x86-64 only.
Expand description

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.

Intel’s documentation