aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add initial pylint CI setupSimon Warta2017-01-093-0/+24
|
* Merge GH #823 Switch to readthedocs Sphinx themeJack Lloyd2017-01-072-45/+11
|\ | | | | | | [ci skip]
| * Switch to readthedocs Sphinx themeJack Lloyd2017-01-072-45/+11
| | | | | | | | | | | | | | Move some text and change some headers to look better with how rtd theme formats the table of contents. GH #822
* | Cygwin has readdir, so uses it.Jack Lloyd2017-01-071-0/+1
|/ | | | | | | | Fixes a test problem on Cygwin. GH #824 [ci skip]
* Fix another libname issueJack Lloyd2017-01-061-1/+1
| | | | [ci skip]
* Fix library name in fuzzer makefileJack Lloyd2017-01-061-5/+6
| | | | [ci skip]
* Work around an apparent problem with GCC on AIXJack Lloyd2017-01-061-4/+5
| | | | | | | | When compiled by GCC 4.8 on AIX 7.1 ppc32, the TLS policy tests fail because the exception thrown from the TLS policy check ends up not being caught at runtime by the test if the catch statement is for `std::exception&` or even `Botan::Exception&` but only if the actually thrown type `Botan::TLS::TLS_Exception` is caught.
* Update features for AIXJack Lloyd2017-01-061-0/+5
| | | | | | Based on compiling on AIX 7.1 [ci skip]
* Merge GH #818 Fix DL_Group generator selectionJack Lloyd2017-01-066-12/+28
|\
| * Fix how DL_Group chooses generator for strong prime groups.Jack Lloyd2017-01-066-12/+28
| | | | | | | | | | | | | | | | | | | | | | Previously it fixed g=2 but this is not always correct. GH #784 Change default PEM header for X9.42 groups to match OpenSSL. We accept either on decoding. GH #784 Change {DL_Group,EC_Group}::PEM_for_named_curve to return std::string instead of a const char*. That makes a future refactoring I have in mind possible without breaking API.
* | 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 install path for lcov 1.13Jack Lloyd2017-01-061-3/+3
| |
* | Merge GH #817 Add try/catch to PKCS11 destructors that might throwJack Lloyd2017-01-064-16/+42
|\ \ | |/ |/|
| * Another try/catch for the testsJack Lloyd2017-01-061-8/+13
| |
| * Add try/catch blocks in noexcept destructors that might throwJack Lloyd2017-01-063-8/+29
| | | | | | | | Flagged by Coverity
* | Fix install for lcov 1.13Jack Lloyd2017-01-061-2/+1
|/
* Avoid using uninitialized RNG object in tests if construction failsJack Lloyd2017-01-061-4/+11
| | | | Found by Coverity scanner
* Merge GH #802 Update version to 2.0.0, change lib and include dir namesJack Lloyd2017-01-0617-16/+33
|\
| * Update shared object naming for new versioning scheme.Jack Lloyd2017-01-0617-16/+33
| | | | | | | | | | | | | | | | | | | | | | | | Cleans up so object naming since most of the time (across Unix) we follow the exact same naming scheme; just make it the default if only the so suffix is specified in the file. Also updates include header dir to be botan-${major} Changes behavior when shared lib not supported; instead of making the user explicitly try again with --disable-shared, just assume it and continue running.
* | Merge GH #816 Remove unused entries from BOTAN_ENTROPY_DEFAULT_SOURCESJack Lloyd2017-01-061-4/+4
|\ \
| * | remove "timestamp" and "proc_info" from BOTAN_ENTROPY_DEFAULT_SOURCESDaniel Neus2017-01-061-4/+4
| | | | | | | | | | | | these don't exist anymore
* | | Add tests for Stream_Cipher_ModeJack Lloyd2017-01-061-0/+14
| | | | | | | | | | | | GH #713
* | | Update lcov version to 1.13Jack Lloyd2017-01-061-3/+3
|/ / | | | | | | | | It seems the lcov source tarball for 1.12 has been removed from all Debian mirrors. Hopefully 1.13 is a trouble free upgrade.
* | Fix duplicate entry in XMSS speed paramsJack Lloyd2017-01-061-1/+1
| |
* | Merge GH #815 Add NIST build policyJack Lloyd2017-01-062-0/+155
|\ \
| * | Add basic NIST policyJack Lloyd2017-01-052-0/+155
| |/ | | | | | | Just my best reckoning of what is NIST approved, may have errors.
* | Merge GH #814 Avoid negotiating CECPQ1 if x25519 ECC is disabledJack Lloyd2017-01-061-0/+10
|\ \
| * | Avoid negotiating CECPQ1 if x25519 ECC is disabledJack Lloyd2017-01-051-0/+10
| | |
* | | Merge GH #813 Remove obsolete entropy source infoJack Lloyd2017-01-061-18/+0
|\ \ \
| * | | removed two more obsolete entropy source referencesDaniel Neus2017-01-061-14/+0
| | | |
| * | | Remove obsolete hres_timer includeDaniel Neus2017-01-061-4/+0
| | |/ | |/| | | | | | | module doesn't exist anymore
* | | Merge GH #812 Fix missing return in error case in iOS entropy sourceJack Lloyd2017-01-061-0/+2
|\ \ \
| * | | Return 0 bits in Darwin_SecRandom::poll on SecRandomCopyBytes failureDaniel Neus2017-01-061-0/+2
| |/ /
* / / Add iso9796 (required) and cecpq1 (prohibited) to BSI policy/bsi.txtDaniel Neus2017-01-061-0/+2
|/ /
* | Merge GH #806 Add tests for TLS certificate static messageJack Lloyd2017-01-054-13/+62
|\ \
| * | Add tests for certificate status messageJack Lloyd2017-01-044-13/+62
| |/ | | | | | | | | | | | | Currently untested by TLS crosstalk tests because it is not supported on the server side. Exposes the rest of TLS message types to application.
* | Merge GH #803 Add botan_ffi_supports_version funcJack Lloyd2017-01-053-0/+18
|\ \
| * | Add botan_ffi_supports_api functionJack Lloyd2017-01-043-0/+18
| |/ | | | | | | | | | | | | | | | | | | | | | | This lets us upgrade the FFI version over time and still allow applications to reliably detect if the current library binary supports their version. As an example, it would be useful to be able to add features to FFI sometime in 2.x. In that case, we would increase the value of the FFI API version, even though anything calling the old API would still work perfectly. Applications can verify at runtime the API they want to use is supported using this new call.
* | Merge GH #804 Move Data_Store type to x509 moduleJack Lloyd2017-01-055-4/+4
|\ \
| * | Move Data_Store from utils to x509Jack Lloyd2017-01-045-4/+4
| |/ | | | | | | | | It is not a general purpose util or something we want applications to use. It is only used by x509 and hopefully will be removed from there soon enough.
* / Avoid construct in test that causes compilation problem on XCode 6Jack Lloyd2017-01-041-2/+15
|/ | | | GH #798
* Merge GH #793 Add iOS targetJack Lloyd2017-01-035-2/+34
|\
| * Use Botan::X509_CA constructor that takes rng in testsSimon Warta2017-01-031-1/+1
| | | | | | | | because there there is no system_rng on ios
| * travis script: split os and cpu flags for consistencySimon Warta2017-01-031-1/+2
| |
| * Add os iosSimon Warta2017-01-034-0/+31
| |
* | Fix comment typo [ci skip]Jack Lloyd2017-01-031-1/+1
| |
* | Avoid using target function attribute in Clang before 3.8Jack Lloyd2017-01-031-1/+1
|/ | | | | | | | | | We support 3.5 or higher generally, but only Clang 3.8 has the function attributes. This doesn't affect the build with older Clang because the makefile still sets file-wide ISA flags. GCC supports this attribute in all versions we support. Fixes GH #797
* Add some final annotations in the PK testsJack Lloyd2017-01-021-7/+7
|
* Convert DH invalid key test to read from fileJack Lloyd2017-01-023-42/+62
|
* Merge GH #790 Add DH tests from NIST CAVPJack Lloyd2017-01-024-3/+315
|\