commit | 4ffd63b5892e5a92f7fecb1a873883f406bb8033 | [log] [tgz] |
---|---|---|
author | Scott Graham <scottmg@chromium.org> | Thu Jun 01 18:03:33 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 01 20:27:00 2017 |
tree | 15efe6b3cca22a86a35536314dd453a6d907bcc6 | |
parent | eb03fb7939f30e7fce920efde586aed6ff0a1ff3 [diff] |
fuchsia: Implement rand_util There's no /dev/urandom on Fuchsia, but mx_cprng_draw() is similar to base::RandBytes(). Ref: https://fuchsia.googlesource.com/magenta/+/HEAD/docs/syscalls/cprng_draw.md Makes RandUtilTest.* pass. Bug: 706592 Change-Id: Idd16d322b965be498d733aa29a2d7764145408d7 Reviewed-on: https://chromium-review.googlesource.com/520607 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#476410}