aboutsummaryrefslogtreecommitdiffstats
path: root/src/extra_tests/fuzzers/jigs/ecc_bp256.cpp
blob: 07833c6399627d882a5b035ef8c76cad27972798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
* (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*256/8)
      return;

   static EC_Group bp256("brainpool256r1");
   return check_ecc_math(bp256, in, len);
   }