mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 01:46:36 +02:00
23 lines
325 B
C++
23 lines
325 B
C++
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
#include <string>
|
|
|
|
#include <Blinding.h>
|
|
|
|
#include "fuzzing.h"
|
|
|
|
|
|
bool
|
|
fuzzing_testinput(const uint8_t * data, size_t size)
|
|
{
|
|
std::string str((const char *) data, size);
|
|
i2p::data::BlindedPublicKey * bpk;
|
|
|
|
|
|
bpk = new i2p::data::BlindedPublicKey(str);
|
|
delete bpk;
|
|
|
|
return true;
|
|
}
|