Coverage Report

Created: 2021-02-21 07:20

/src/botan/src/fuzzer/ecc_p521.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
3.58k
   {
11
3.58k
   if(len > 2*(521+7)/8)
12
102
      return;
13
3.48k
   static Botan::EC_Group p521("secp521r1");
14
3.48k
   return check_ecc_math(p521, in, len);
15
3.48k
   }