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 | 277 | void fuzz(std::span<const uint8_t> in) { |
11 | 277 | if(in.size() > 2 * 256 / 8) { |
12 | 94 | return; |
13 | 94 | } |
14 | 183 | static Botan::EC_Group p256("secp256r1"); |
15 | 183 | return check_ecc_math(p256, in); |
16 | 277 | } |