commit | 4861f6dfdd7cd6d36e81f89c2b548fc71de021d0 | [log] [tgz] |
---|---|---|
author | Petr Hosek <phosek@chromium.org> | Fri Dec 01 06:34:33 2017 +0000 |
committer | Petr Hosek <phosek@chromium.org> | Fri Dec 01 06:34:33 2017 +0000 |
tree | 5e9fbe4ce410955289fb5e15a0b6b0624e696656 | |
parent | aec189a8d17d840426dff40ad5ade0b532414014 [diff] |
[libcxx] Support getentropy as a source of randomness for std::random_device Use this source use on Fuchsia where this is the oficially way to obtain randomness. This could be also used on other platforms that already support getentropy such as *BSD or Linux. Differential Revision: https://reviews.llvm.org/D40319 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@319523 91177308-0d34-0410-b5e6-96231b3b80d8