aboutsummaryrefslogtreecommitdiffstats
path: root/src/extra_tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix afl fuzzer build [ci skip]Jack Lloyd2017-04-091-1/+1
|
* Remove old timing test suiteJack Lloyd2017-03-2818-659/+0
| | | | Replaced by version in cli added in #894
* Fix ECDSA timing test dataJack Lloyd2017-02-201-1/+1
| | | | | | See GH #880 [ci skip]
* Add ecdsa timing testNever2017-02-165-1/+71
|
* Updated the broken link to BSI TLS policyJuraj Somorovsky2017-02-041-2/+2
|
* Fix another libname issueJack Lloyd2017-01-061-1/+1
| | | | [ci skip]
* Fix library name in fuzzer makefileJack Lloyd2017-01-061-5/+6
| | | | [ci skip]
* In ressol and modexp fuzzers, fix the prime pJack Lloyd2017-01-062-37/+29
| | | | | | For ressol this avoids very slow runtimes in situations when p is actually a composite. This normally leads to algorithm failure eventually but can be slow.
* Fix building this fuzzerAlex Gaynor2016-12-281-1/+1
| | | (untested)
* Add OCSP fuzzerJack Lloyd2016-12-173-11/+27
| | | | | | | | | Some attempts at reducing overhead in ECC math tests, unclear if really changed anything for my machine but probably can't hurt. Fix LLVM build flags [ci skip]
* Just expect a byte stream in the TLS fuzzer input, with no length fields.Jack Lloyd2016-12-162-27/+3
| | | | | | | Matches how OpenSSL/BoringSSL fuzzers work which is useful because fuzzer corpus can be cross-pollinated among implementations. [ci skip]
* Add fuzzer for power_modJack Lloyd2016-12-162-6/+69
| | | | [ci skip]
* Update fuzzers with comments from OSS-Fuzz reviewJack Lloyd2016-12-1419-19/+56
| | | | | | | | | | | | Add explicit length limitations, to prevent the fuzzer from just giving us increasingly long inputs until timeout occurs due to non-linear algorithms. Use LLVM fuzzer interface in all cases, and just have AFL driver call that API when a define is set to include a main function. OSS-Fuzz will be using the LLVM API, regardless of the fuzzing engine. [ci skip]
* Fix fuzzer build flags [ci skip]Jack Lloyd2016-12-111-2/+3
|
* Ignore too-large inputs in ressol fuzzerJack Lloyd2016-12-101-1/+6
| | | | | | | | | OSS-Fuzz just gave us a gigantic input and then timed out. In practice ressol is only called with specific primes of various common ECC parameter sets, so limit to 768 bits max. [ci skip]
* Remove bogus abort from ECC math fuzzerJack Lloyd2016-12-101-3/+0
| | | | | | Chromium oss-fuzz bug 275 [ci skip]
* Fix fuzzer builds [ci skip]Jack Lloyd2016-12-091-3/+4
|
* Avoid use of system RNG in fuzzersJack Lloyd2016-12-086-16/+41
| | | | | | Seemingly /dev/urandom not accessible in ClusterFuzz env [ci skip]
* Fix off by one in PKCS #1 v1.5 decryption decodingJack Lloyd2016-12-083-19/+24
| | | | | | | | | | | | When the code was changed in b8966d0f89e, the offset was not changed, so it would reject ciphertexts with exactly 8 bytes of random padding (the required minimum). Found by pkcs1 fuzzer which also had problems due to not having been updated at the same time. Add a test suite for decoding of PK decryption padding to cover the problem cases.
* Fuzzer cleanup, no need for setup script anymoreJack Lloyd2016-11-226-54/+57
| | | | | | Makefile does all the things [ci skip]
* Add policy file for TLS client testingJack Lloyd2016-11-211-0/+19
| | | | [ci skip]
* Add timeouts to TLS scanner [ci skip]Jack Lloyd2016-11-212-4/+17
|
* Merge GH #733 Add timing test suiteJack Lloyd2016-11-2016-0/+589
|\
| * Timing test suite with the mona timing libraryJuraj Somorovsky2016-11-2016-0/+589
| |
* | TLS-Attacker testsuite and fuzzingJuraj Somorovsky2016-11-197-0/+143
|/
* Add a script to test TLS compat with major sitesJack Lloyd2016-11-163-0/+113
|
* More fixes for the fuzzer setupJack Lloyd2016-10-312-14/+14
| | | | [ci skip]
* Import fuzzer driversJack Lloyd2016-10-3027-0/+1090
Originally from https://github.com/randombit/botan-fuzzers but merging to the main tree (without the corpus files, since I suspect the corpus files in that repo are not useful anymore) Adds --unsafe-fuzzer-mode which can be used to selectively disable cryptographic checks which get in the way of fuzzer testing. This setting is reflected in build.h and in the version string. Right now it doesn't actually disable anything.