diff options
author | Vitaly Buka <vitalybuka@google.com> | 2018-04-09 22:46:40 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2018-04-09 22:46:40 +0000 |
commit | 3539c09d3bd6118c87c8557df80391cdc3ba102b (patch) | |
tree | 83b04fa73d8aac8303b188e7ef9b035cd6fc0b13 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | 2a84e4ab129d407edae0b843f122ef0d6a2d39d7 (diff) | |
download | bcm5719-llvm-3539c09d3bd6118c87c8557df80391cdc3ba102b.tar.gz bcm5719-llvm-3539c09d3bd6118c87c8557df80391cdc3ba102b.zip |
GetRandom / OpenBSD, using getentropy to get high quality randomness
Summary:
- getentropy presence since late 2014, safe to use.
- guarantees to delivers good random data up to 256 bytes.
- fall back to /dev/urandom as long the buffer is correct.
Patch by David CARLIER
Reviewers: kubamracek, vitalybuka
Reviewed By: vitalybuka
Subscribers: cryptoad, llvm-commits, #sanitizers
Differential Revision: https://reviews.llvm.org/D44866
llvm-svn: 329633
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions