Coverage Report

Created: 2024-11-29 06:10

/src/botan/src/fuzzer/ecc_p384.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
3.39k
void fuzz(std::span<const uint8_t> in) {
11
3.39k
   if(in.size() > 2 * 384 / 8) {
12
85
      return;
13
85
   }
14
3.30k
   static Botan::EC_Group p384("secp384r1");
15
3.30k
   return check_ecc_math(p384, in);
16
3.39k
}