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.87k | void fuzz(std::span<const uint8_t> in) { |
11 | 3.87k | if(in.size() > 2 * 512 / 8) { |
12 | 260 | return; |
13 | 260 | } |
14 | 3.61k | static const Botan::EC_Group bp512("brainpool512r1"); |
15 | 3.61k | return check_ecc_math(bp512, in); |
16 | 3.87k | } |