mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
16 lines
313 B
C++
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;
|
|
}
|