aboutsummaryrefslogtreecommitdiff
path: root/fuzz/fuzzer.h
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/fuzzer.h')
-rw-r--r--fuzz/fuzzer.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/fuzz/fuzzer.h b/fuzz/fuzzer.h
new file mode 100644
index 000000000000..cd460dea8d94
--- /dev/null
+++ b/fuzz/fuzzer.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * https://www.openssl.org/source/license.html
+ * or in the file LICENSE in the source distribution.
+ */
+
+int FuzzerTestOneInput(const uint8_t *buf, size_t len);
+int FuzzerInitialize(int *argc, char ***argv);
+void FuzzerCleanup(void);
+
+void FuzzerSetRand(void);
+void FuzzerClearRand(void);