blob: b5f7ef4fac61aed959d1a62e5d85f6048a3264a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
* 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;
}
|