commit | ca0aaa604168d87ae848e96549345d7f0ba2a322 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@chromium.org> | Mon Jan 06 10:39:58 2014 -0800 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Tue Jan 28 13:52:03 2014 +0000 |
tree | fa92d2610bb32fcce44e3b75749a5437f68b5e8f | |
parent | 133f892757c10d4e42602bfacd5f8324ea4f6999 [diff] |
PolicyManager: Add a random number provider. This patch adds a new provider with a single variable that returns a random value from /dev/urandom every time it is called. The variable is exported to all the policy implementations (currently none) in the policy_manager/all_variables.h file. BUG=None TEST=unittests. Change-Id: I6efdecd0f37f1a706b5a0dfd3a77ac4205e35aa0 Reviewed-on: https://chromium-review.googlesource.com/181537 Reviewed-by: Gilad Arnold <garnold@chromium.org> Commit-Queue: Alex Deymo <deymo@chromium.org> Tested-by: Alex Deymo <deymo@chromium.org>