diff options
Diffstat (limited to 'tests/fuzz/fuzz.c')
-rw-r--r-- | tests/fuzz/fuzz.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/fuzz/fuzz.c b/tests/fuzz/fuzz.c new file mode 100644 index 0000000..6045186 --- /dev/null +++ b/tests/fuzz/fuzz.c @@ -0,0 +1,7 @@ +#include "sha3.h" + +int LLVMFuzzerTestOneInput(const uint8_t *src, size_t len) { + uint8_t dst[128]; + shake128_xof_once(src, len, dst, sizeof(dst)); + return 0; +} |