diff options
author | David Benjamin <davidben@google.com> | 2016-09-22 00:11:43 -0400 |
---|---|---|
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | 2016-09-22 21:14:00 +0000 |
commit | 01a905717c39d155ccb3f3d568f6817badea30a6 (patch) | |
tree | 9e3c3495cba6bcd559e2fbcfa648c3554e908323 /FUZZING.md | |
parent | ac5e47f300b7c59e6d9073efd287bf85a78288a7 (diff) | |
download | boringssl-01a905717c39d155ccb3f3d568f6817badea30a6.zip boringssl-01a905717c39d155ccb3f3d568f6817badea30a6.tar.gz boringssl-01a905717c39d155ccb3f3d568f6817badea30a6.tar.bz2 |
Fix remaining non-determinism in fuzzer transcripts.
Both the C and Go code were sampling the real clock. With this, two
successive iterations of runner transcripts give the same output.
Change-Id: I4d9e219e863881bf518c5ac199dce938a49cdfaa
Reviewed-on: https://boringssl-review.googlesource.com/11222
Commit-Queue: David Benjamin <davidben@google.com>
Commit-Queue: Adam Langley <agl@google.com>
Reviewed-by: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Diffstat (limited to 'FUZZING.md')
-rw-r--r-- | FUZZING.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -60,4 +60,6 @@ When `-DFUZZ=1` is passed into CMake, BoringSSL builds with `BORINGSSL_UNSAFE_FU * Treat every cipher as the NULL cipher. +* Use a hard-coded time instead of the actual time. + This is to prevent the fuzzer from getting stuck at a cryptographic invariant in the protocol. |