Function core::arch::x86_64::_rdrand64_step

1.27.0 · source ·
pub unsafe fn _rdrand64_step(val: &mut u64) -> i32
Available on x86-64 and target feature rdrand only.
Expand description

读取硬件生成的 64 位随机值,并将结果存储在 val 中。 如果生成随机值,则返回 1,否则返回 0。

Intel’s documentation