Function core::arch::x86_64::_rdseed64_step

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

读取符合 NIST SP800-90B 和 SP800-90C 的 64 位随机值,并存储在 val 中。 如果生成随机值,则返回 1,否则返回 0。

Intel’s documentation