commit | 5d6e7b062dca1d155ab0d4c2dc38664192871339 | [log] [tgz] |
---|---|---|
author | Scott Graham <scottmg@chromium.org> | Fri Jun 02 03:03:33 2017 +0900 |
committer | Qijiang Fan <fqj@google.com> | Fri Jun 05 06:17:25 2020 +0900 |
tree | 50e22e92a9c85bf9846092db5101247c377d06d4 | |
parent | 953147fb74f30ba28d971e9853b86c38bb2f3b10 [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} CrOS-Libchrome-Original-Commit: 4ffd63b5892e5a92f7fecb1a873883f406bb8033