mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
da69086e9f
Devices may not have access to /dev/urandom so refactor the random string generation code so that it can also be used by SimpleRng. Also implement Iterator for SimpleRng to make the string generator implementation easier. BUG=b:152806644,b:159285544 TEST=unit tests Change-Id: I245c90dc44cfa53a7e12343925b1e04a5df55255 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2260252 Auto-Submit: Chirantan Ekbote <chirantan@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org> Commit-Queue: Chirantan Ekbote <chirantan@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |