aboutsummaryrefslogtreecommitdiffstats
path: root/src/extra_tests/fuzzers/jigs/ecc_p521.cpp
blob: c2d1e36bbe3c78945ebf8d0a5abb2afb626e0c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
* (C) 2015,2016 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include "driver.h"
#include "ecc_helper.h"

void fuzz(const uint8_t in[], size_t len)
   {
   if(len > 2*(521+7)/8)
      return;
   static EC_Group p521("secp521r1");
   return check_ecc_math(p521, in, len);
   }