1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 07:25:07 +00:00
serenity/Meta/Lagom/Fuzzers/FuzzRSAKeyParsing.cpp
2021-09-06 01:53:26 +02: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(const uint8_t* data, size_t size)
{
Crypto::PK::RSA::parse_rsa_key({ data, size });
return 0;
}