Coverage Report

Created: 2021-11-25 09:31

/src/botan/src/fuzzer/ecc_p256.cpp
Line
Count
Source
1
/*
2
* (C) 2015,2016 Jack Lloyd
3
*
4
* Botan is released under the Simplified BSD License (see license.txt)
5
*/
6
#include "fuzzers.h"
7
#include "ecc_helper.h"
8
9
void fuzz(const uint8_t in[], size_t len)
10
5.54k
   {
11
5.54k
   if(len > 2*256/8)
12
85
      return;
13
5.45k
   static Botan::EC_Group p256("secp256r1");
14
5.45k
   return check_ecc_math(p256, in, len);
15
5.54k
   }