2023-09-16 17:01:54 +04:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2023, the SerenityOS developers
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <LibCrypto/Hash/BLAKE2b.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
|
|
|
{
|
2023-11-03 17:49:54 +00:00
|
|
|
AK::set_debug_enabled(false);
|
2023-09-16 17:01:54 +04:00
|
|
|
Crypto::Hash::BLAKE2b::hash(data, size);
|
|
|
|
return 0;
|
|
|
|
}
|