aboutsummaryrefslogtreecommitdiff
path: root/FUZZING.md
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2016-09-22 00:11:43 -0400
committerCQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>2016-09-22 21:14:00 +0000
commit01a905717c39d155ccb3f3d568f6817badea30a6 (patch)
tree9e3c3495cba6bcd559e2fbcfa648c3554e908323 /FUZZING.md
parentac5e47f300b7c59e6d9073efd287bf85a78288a7 (diff)
downloadboringssl-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.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/FUZZING.md b/FUZZING.md
index 9f4edef..bf54829 100644
--- a/FUZZING.md
+++ b/FUZZING.md
@@ -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.