ladybird/Meta/Lagom/Fuzzers/FuzzMD5.cpp
2022-04-01 21:24:45 +01:00

15 lines
313 B
C++

/*
* Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibCrypto/Hash/MD5.h>
#include <stddef.h>
#include <stdint.h>
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
{
Crypto::Hash::MD5::hash(data, size);
return 0;
}