Coverage Report

Created: 2025-07-17 06:53

/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
8
#include "ecc_helper.h"
9
10
281
void fuzz(std::span<const uint8_t> in) {
11
281
   if(in.size() > 2 * (521 + 7) / 8) {
12
94
      return;
13
94
   }
14
187
   static Botan::EC_Group p521("secp521r1");
15
187
   return check_ecc_math(p521, in);
16
281
}