cloud-hypervisor/vendor/registry-40351f815f426200/rdrand/README.mkd
Samuel Ortiz d5f5648b37 vendor: Add vendored dependencies
We use cargo vendor to generate a .cargo/config file and the vendor
directory. Vendoring allows us to lock our dependencies and to modify
them easily from the top level Cargo.toml.

We vendor all dependencies, including the crates.io ones, which allows
for network isolated builds.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-06-04 17:51:52 +02:00

9 lines
498 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

An implementation of random number generators based on `rdrand` and `rdseed` instructions.
The random number generators provided by this crate are fairly slow (the latency for these
instructions is pretty high), but provide high quality random bits. Caveat is: neither AMDs
nor Intels designs are public and therefore are not verifiable for lack of backdoors.
Unless you know what you are doing, use the random number generators provided by the `rand`
crate (such as `EntropyRng`) instead.