2
* (C) 2015,2016 Jack Lloyd
4
* Botan is released under the Simplified BSD License (see license.txt)
8
#include <botan/pk_keys.h>
9
#include <botan/pkcs8.h>
10
#include <botan/data_src.h>
12
void fuzz(const uint8_t in[], size_t len)
16
Botan::DataSource_Memory input(in, len);
17
Botan::Null_RNG null_rng;
18
std::unique_ptr<Botan::Private_Key> key(Botan::PKCS8::load_key(input, null_rng));
20
catch(Botan::Exception& e) { }