aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More fixes for the fuzzer setupJack Lloyd2016-10-312-14/+14
| | | | [ci skip]
* Fix configure when building outside of main source dirJack Lloyd2016-10-311-3/+12
| | | | | When configuring from fuzzer dir, object files would get names starting with '..'
* Compile fixJack Lloyd2016-10-311-2/+2
|
* Import fuzzer driversJack Lloyd2016-10-3030-4/+1104
| | | | | | | | | | | 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.
* Add P-521 ECDSA testJack Lloyd2016-10-301-0/+9
| | | | GH #681
* Merge GH #696 Add ECKCDSA and ECGDSA speed testsJack Lloyd2016-10-301-0/+62
|\
| * Add speedtests for ECKCDSA and ECGDSANever2016-10-301-0/+62
| |
* | Fix crash when default IV is empty. GH #697Jack Lloyd2016-10-301-1/+2
| |
* | Salsa20 accepts empty IVsJack Lloyd2016-10-302-4/+9
| | | | | | | | Treats it as an all-zero 64-bit IV. GH #697
* | Update 1.11.34 release notesJack Lloyd2016-10-301-7/+19
| |
* | Remove openpgp moduleJack Lloyd2016-10-303-266/+0
| | | | | | | | | | | | | | Just handled base64 encoding/decoding with a CRC and that's it. This would be better off being rewritten as part of a larger effort to support a meaningful subset of OpenPGP, and does not seem useful on its own.
* | Remove use of deprecated constructors in PKCS11 testsJack Lloyd2016-10-301-6/+6
|/
* Merge GH #692 Remove deprecated RNGs and entropy sourcesJack Lloyd2016-10-3027-2990/+38
|\
| * Remove HMAC_RNG, X9.31-RNG, BeOS stats, EGD reader, Unix process runnerJack Lloyd2016-10-2827-2990/+38
| | | | | | | | | | Change AutoSeeded_RNG to use SHA-384, SHA-256, SHA-3(256), or SHA-1, whichever is available (in that order).
* | Merge GH #693 Filter testsJack Lloyd2016-10-302-17/+117
|\ \
| * | More filter testsJack Lloyd2016-10-292-17/+117
| |/ | | | | | | Simplify algo_filt.cpp using create_or_throw
* / Add note on status of Pipe/Filter APIJack Lloyd2016-10-291-0/+15
|/ | | | [ci skip]
* Update release notes with 1.11.34 so farJack Lloyd2016-10-281-0/+10
| | | | [ci skip]
* Merge GH #691/#488 Add GMAC. Add MessageAuthenticationCode::start_msgJack Lloyd2016-10-289-9/+389
|\
| * Add MAC::start_msg, update GMACJack Lloyd2016-10-284-47/+59
| | | | | | | | | | | | | | | | GMAC needs a per-message nonce specified with `start`, and other MACs are capable of using nonces (Skein-MAC, for instance) so move this API up to MAC class. Change GMAC::clone to clone the owned cipher.
| * Implements GMAC with GHASH.Matthias Gierlings2016-10-287-98/+192
| | | | | | | | | | Adds support for Galois Message Authentication Code calculation based on GHASH, rather than GCM_Mode.
| * Added implementation for GMACMatthias Gierlings2016-10-279-58/+332
| | | | | | | | | | | | - Added GMAC class - Integrated GMAC into MAC-Class test bench. Run GMAC tests using ./botan-test mac
* | Add TLS callbacks for debug and error logging.Jack Lloyd2016-10-281-2/+28
| | | | | | | | | | Not currently called but leaves us the opening to use them in the future without breaking ABI.
* | HMAC_DRBG - Fix constructor init order. Use create_or_throw to simplify.Jack Lloyd2016-10-281-6/+3
| |
* | Update modern policy: Add NewHope, SQL, ChaCha20 SSE2. Prohibit TLS-CBCJack Lloyd2016-10-281-1/+8
| |
* | Remove bogus filter dependency in TSSJack Lloyd2016-10-282-2/+0
| | | | | | | | [ci skip]
* | Merge GH #687 Avoid unused return value warning under GCCJack Lloyd2016-10-281-2/+3
|\ \
| * | Fixes randombit/botan#677Matthias Gierlings2016-10-271-2/+3
| |/
* | Merge GH #690 HMAC_DRBG: Make max_number_of_bytes_per_request configurableJack Lloyd2016-10-283-28/+139
|\ \
| * | make max_number_of_bytes_per_request configurableDaniel Neus2016-10-283-28/+139
|/ /
* | Small pushes on test coverageJack Lloyd2016-10-272-1/+16
| | | | | | | | | | No real way to test what/if `clear` does, but at least we know it runs and doesn't crash which is an improvement over the status quo.
* | Correct name for Comb4PJack Lloyd2016-10-271-1/+1
| |
* | Merge GH #689 Add tests for Pipe/Filter systemJack Lloyd2016-10-272-16/+172
|\ \
| * | Add more tests for Pipe/FilterJack Lloyd2016-10-272-16/+172
| |/ | | | | | | | | | | | | | | | | | | | | | | | | In this round of write some tests and find a bug, Threaded_Fork seems to be completely broken. I don't think the semaphore approach it uses really works (consistently) because a single worker thread can acquire the semaphore more than once. This can be seen in the (disabled) test of Threaded_Fork. Not sure what to do about Threaded_Fork - it has been broken since introduction and nobody has mentioned any problems so likely nobody has ever used it. May actually be better to remove it entirely rather than to fix it.
* | Merge GH #688 Fix TLS session resumption bugsJack Lloyd2016-10-273-113/+195
|\ \ | |/ |/|
| * More tests for session managers.Jack Lloyd2016-10-271-1/+13
| | | | | | | | | | | | Using sqlite3 for one and memory for another meant only half of each implementation was tested. Instead use sqlite3 for a while, then switch to in-memory, to ensure both are covered.
| * Test MtE then EtM CBC modesJack Lloyd2016-10-271-1/+1
| | | | | | | | | | | | | | | | Otherwise we may end up trying to renegotiate EtM to MtE which is an error. Only occured sporadically due to low timeout set on session cache; only if we retried really quickly did it fail. Feels kind of hacky, but disabling EtM is a corner case anyway.
| * Fix TLS resumption bugsJack Lloyd2016-10-273-112/+182
|/ | | | | | | | | | | | | | | | | | | | | The client would attempt to resume a session, even if the session was for a version other than what it wanted to offer. If the server resumed with the original version, the client would then reject the 'incorrect' version. Instead, if the session is for a version other than what we want to offer, just start a fresh handshake. Fix resuming in the EtM case - even if the policy says otherwise, always resume EtM sessions as EtM. Servers are required to reject a MtE resumption on an EtM session. The new client hello already ordered extensions to prevent an empty extension from ever being last (working around a bug in some dumb stack somewhere), but this was not true for the resume case. Fix that. Beef up tests a bit - test ECDSA suites, alerts, and sqlite3 session db. Sharing the session state across all the tests is what tipped me off on the resumption bugs in the first place - as usual, what is not tested does not work correctly.
* Fix ReST formatting [ci skip]Jack Lloyd2016-10-262-2/+2
|
* Tick to 1.11.34-preJack Lloyd2016-10-262-1/+5
|
* Final changes for 1.11.33 release1.11.33Jack Lloyd2016-10-263-6/+22
|
* Avoid timing channel in OAEP decoding (CVE-2016-8871)Juraj Somorovsky2016-10-261-7/+12
|
* Avoid unused warning when no compression libs availableJack Lloyd2016-10-251-0/+2
| | | | [ci skip]
* Fix some formatting issues in 1.11.33 notesJack Lloyd2016-10-251-12/+12
| | | | [ci skip]
* Fix HMAC_DRBG fork testJack Lloyd2016-10-251-8/+14
| | | | | | | The fork test actually closed the pipe early so this test had been busted. Previously missed because the return value of read was not checked. Missed by me in e8908d4fb671 because I changed the test but did not run it before checking in. Hey, it compiled. :(
* Add missing variable to AES test vectorJack Lloyd2016-10-251-0/+1
|
* Static analyzer fixesJack Lloyd2016-10-253-21/+39
| | | | | | | | | Check return value of read, found by Clang. See also #677 Remove unused member variable in OpenSSL ECC, found by Clang. In ECDSA tests, if the pointer is null we should return rather than dereferencing it. Found by Coverity.
* Add long (4+ block) AES KATsJack Lloyd2016-10-251-0/+10
| | | | We were not previously hitting the 4 way unrolled loop in AES-NI in tests
* Missing git add from 4bf869a8Jack Lloyd2016-10-251-1/+1
| | | | [ci skip]
* Tidy readme a bitJack Lloyd2016-10-251-13/+32
| | | | | | | | Too many badges, split them into two groups for easier comprehension. Also include the nice coverage map from codecov, hopefully GH renders that correctly. [ci skip]