rust/library/std/src/sys/random
Ayush Singh 669564d028
std: sys: random: uefi: Provide rdrand based fallback
Some UEFI systems based on American Megatrends Inc. v3.3 do not provide
RNG support [1]. So fallback to rdrand in such cases.

[1]: https://github.com/rust-lang/rust/issues/138252#issuecomment-2891270323

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-06-06 10:14:08 +05:30
..
apple.rs std: switch to faster random sources on macOS and most BSDs 2024-09-23 10:36:16 +02:00
arc4random.rs Mark extern blocks as unsafe 2025-02-09 17:11:13 +00:00
espidf.rs Mark extern blocks as unsafe 2025-02-09 17:11:13 +00:00
fuchsia.rs Mark extern blocks as unsafe 2025-02-09 17:11:13 +00:00
getentropy.rs std: switch to faster random sources on macOS and most BSDs 2024-09-23 10:36:16 +02:00
getrandom.rs Unify cygwin & horizon random impl 2025-03-10 21:23:32 +08:00
hermit.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
linux.rs use generic Atomic type where possible 2025-04-27 02:18:08 +03:00
mod.rs Rollup merge of #137621 - Berrysoft:cygwin-std, r=joboet 2025-03-17 05:47:49 -04:00
redox.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
sgx.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
solid.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
teeos.rs Mark extern blocks as unsafe 2025-02-09 17:11:13 +00:00
trusty.rs Fix build failure on Trusty 2025-03-19 02:05:01 +09:00
uefi.rs std: sys: random: uefi: Provide rdrand based fallback 2025-06-06 10:14:08 +05:30
unix_legacy.rs std: switch to faster random sources on macOS and most BSDs 2024-09-23 10:36:16 +02:00
unsupported.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
vxworks.rs use generic Atomic type where possible 2025-04-27 02:18:08 +03:00
wasi.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
windows.rs Fix *-win7-windows-msvc target since 26eeac1a1e 2025-02-19 18:05:37 +08:00
zkvm.rs std: implement the random feature 2024-09-23 10:29:51 +02:00