1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-10 07:22:07 +00:00
serenity/Meta/Lagom/Fuzzers/FuzzRSAKeyParsing.cpp
2022-04-01 21:24:45 +01:00

15 lines
315 B
C++

/*
* Copyright (c) 2021, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibCrypto/PK/RSA.h>
#include <stddef.h>
#include <stdint.h>
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
{
Crypto::PK::RSA::parse_rsa_key({ data, size });
return 0;
}