ladybird/Meta/Lagom/Fuzzers/FuzzBLAKE2b.cpp
2023-09-17 16:49:35 +03:30

16 lines
313 B
C++

/*
* 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)
{
Crypto::Hash::BLAKE2b::hash(data, size);
return 0;
}