AIX use /dev/urandom for impl
This commit is contained in:
parent
86d69c705a
commit
8ca39104f1
@ -38,7 +38,7 @@ use crate::sys::random as sys;
|
|||||||
/// Vita | `arc4random_buf`
|
/// Vita | `arc4random_buf`
|
||||||
/// Hermit | `read_entropy`
|
/// Hermit | `read_entropy`
|
||||||
/// Horizon | `getrandom` shim
|
/// Horizon | `getrandom` shim
|
||||||
/// Hurd, L4Re, QNX | `/dev/urandom`
|
/// AIX, Hurd, L4Re, QNX | `/dev/urandom`
|
||||||
/// Redox | `/scheme/rand`
|
/// Redox | `/scheme/rand`
|
||||||
/// RTEMS | [`arc4random_buf`](https://docs.rtems.org/branches/master/bsp-howto/getentropy.html)
|
/// RTEMS | [`arc4random_buf`](https://docs.rtems.org/branches/master/bsp-howto/getentropy.html)
|
||||||
/// SGX | [`rdrand`](https://en.wikipedia.org/wiki/RDRAND)
|
/// SGX | [`rdrand`](https://en.wikipedia.org/wiki/RDRAND)
|
||||||
|
@ -40,6 +40,7 @@ cfg_if::cfg_if! {
|
|||||||
mod horizon;
|
mod horizon;
|
||||||
pub use horizon::fill_bytes;
|
pub use horizon::fill_bytes;
|
||||||
} else if #[cfg(any(
|
} else if #[cfg(any(
|
||||||
|
target_os = "aix",
|
||||||
target_os = "hurd",
|
target_os = "hurd",
|
||||||
target_os = "l4re",
|
target_os = "l4re",
|
||||||
target_os = "nto",
|
target_os = "nto",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user