Coverage Report

Created: 2022-06-23 06:44

/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
4.98k
   {
11
4.98k
   if(len > 2*256/8)
12
98
      return;
13
4.88k
   static Botan::EC_Group p256("secp256r1");
14
4.88k
   return check_ecc_math(p256, in, len);
15
4.98k
   }