Coverage Report

Created: 2024-05-20 06:13

/src/botan/src/fuzzer/ecc_bp256.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
8
#include "ecc_helper.h"
9
10
5.33k
void fuzz(const uint8_t in[], size_t len) {
11
5.33k
   if(len > 2 * 256 / 8) {
12
98
      return;
13
98
   }
14
15
5.23k
   static Botan::EC_Group bp256("brainpool256r1");
16
5.23k
   return check_ecc_math(bp256, in, len);
17
5.33k
}