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 | #include "ecc_helper.h" | |
8 | ||
9 | void fuzz(const uint8_t in[], size_t len) | |
10 | 3.22k | { |
11 | 3.22k | if(len > 2*384/8) |
12 | 102 | return; |
13 | 3.11k | static Botan::EC_Group p384("secp384r1"); |
14 | 3.11k | return check_ecc_math(p384, in, len); |
15 | 3.11k | } |