Line | Count | Source |
1 | /* | |
2 | * Copyright (c) 2021, the SerenityOS developers. | |
3 | * | |
4 | * SPDX-License-Identifier: BSD-2-Clause | |
5 | */ | |
6 | ||
7 | #include <LibCrypto/PK/RSA.h> | |
8 | #include <stddef.h> | |
9 | #include <stdint.h> | |
10 | ||
11 | extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) | |
12 | 93.2k | { |
13 | 93.2k | AK::set_debug_enabled(false); |
14 | 93.2k | Crypto::PK::RSA::parse_rsa_key({ data, size }); |
15 | 93.2k | return 0; |
16 | 93.2k | } |