aboutsummaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2019-10-16 09:56:38 -0700
committerCQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>2019-10-17 21:38:38 +0000
commit3e502c84f049d1cad180d61257971b733d836df1 (patch)
tree5da09847dadb908163fcbfbdde5456d21f0c1f06 /third_party
parent76918d016414bf1d71a86d28239566fbcf8aacf0 (diff)
downloadboringssl-3e502c84f049d1cad180d61257971b733d836df1.zip
boringssl-3e502c84f049d1cad180d61257971b733d836df1.tar.gz
boringssl-3e502c84f049d1cad180d61257971b733d836df1.tar.bz2
Add test for urandom.c
This change adds a test to try and prevent errors like b8f760191e. Since it's challenging to test this code, it uses ptrace to capture a trace of the PRNG behaviour and checks that the observed behaviour matches a much smaller model of the code. The model is hopefully easier to read and believe correct. Change-Id: I00b811dc5692e2fbe3dcc16c622d4eb706f16ce0 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/38265 Commit-Queue: Adam Langley <agl@google.com> Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions