aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Check that Cipher_Mode::start with invalid nonce size throwsJack Lloyd2017-12-291-0/+6
|
* Test output_length of cipher modesJack Lloyd2017-12-291-0/+13
|
* Test AEAD provider stringsJack Lloyd2017-12-291-0/+7
|
* Add explicit int return type declarations on FFI lambdas.Jack Lloyd2017-12-2813-53/+53
| | | | | | Sun Studio gives a strange warning about this. This probably doesn't help actually compile under Sun Studio. But it doesn't hurt to be explicit.
* Hack for building on Cygwin (newlib)Jack Lloyd2017-12-281-0/+1
| | | | | | | Newlib hides system functions if __STRICT_ANSI__ is defined, as happens with -std=c++11. To get access to POSIX APIs you must use a -std=gnu variant. However doing that in the build is kind of painful, it's easier to selectively undefine the macro.
* Add a test of Skein using personalization stringJack Lloyd2017-12-281-0/+5
| | | | | Need to confirm this against another impl but at least this prevents regressions.
* Add a test for distinct master keys in a single PSK_DBJack Lloyd2017-12-281-0/+11
|
* Correct OpenSSL RC4 namingJack Lloyd2017-12-281-1/+1
|
* Add passhash9 tests for edge casesJack Lloyd2017-12-282-3/+20
| | | | And correct exception message which referred to bcrypt
* Deprecate CMAC::poly_doubleJack Lloyd2017-12-281-1/+7
| | | | We use the internal util API now
* Fix RC4 name in case of skipped bytesJack Lloyd2017-12-284-39/+19
| | | | | | | | | | Add a test to detect that. Add test that stream ciphers throw if they are asked to use a nonce of a size they don't support. Remove "In = 00...00" blocks since that's implicit in the stream cipher tests.
* Merge GH #1375 Refactor ASN1_Pretty_Printer to allow custom formattingJack Lloyd2017-12-284-145/+216
|\
| * Refactor ASN1_Pretty_PrinterJack Lloyd2017-12-284-145/+216
| | | | | | | | | | | | Now the base class ASN1_Formatter parses the data and calls virtuals to format. This allows custom formatting, or in the case of the fuzzer skipping the overhead of formatting entirely.
* | Add a comment about an unused enumJack Lloyd2017-12-281-0/+1
| | | | | | | | So I can find it and remove it in 3.x
* | Note that PSK database is now availableJack Lloyd2017-12-281-0/+1
|/
* Add final annotation on Data_StoreJack Lloyd2017-12-281-1/+1
|
* Avoid prefixing siglongjmp or sigsetjmp with ::Jack Lloyd2017-12-281-2/+2
| | | | Apparently these are macros on Cygwin/newlib
* Officially deprecate Perl-XS wrapper [ci skip]Jack Lloyd2017-12-272-0/+5
| | | | | | a) I don't care about Perl b) Apparently nobody else does c) Would be better to use SWIG, or ffi via XS
* Merge GH #1374 Remove unneeded XMSS-WOTS operationsJack Lloyd2017-12-2711-397/+0
|\
| * Remove the unused XMSS-WOTS operationsJack Lloyd2017-12-2711-397/+0
| |
* | Change X509_Certificate::subject_public_key_bitstring_sha1 to return const refJack Lloyd2017-12-272-2/+3
|/
* Correct script nameJack Lloyd2017-12-271-1/+1
|
* In dist script set gzip header time to the tag timestampJack Lloyd2017-12-271-18/+19
| | | | Also use the tag time for the tar timestamps instead of arbitrary 6am
* Fix a couple Doxygen format errors [ci skip]Jack Lloyd2017-12-262-9/+11
|
* Avoid warnings about unused params in minimal builds [ci skip]Jack Lloyd2017-12-241-1/+5
|
* Merge GH #1373 Fix UbSan warning in NIST reduction tests fixes #1370Jack Lloyd2017-12-241-5/+35
|\
| * Fixes #1370 UBSan incompatible function ptr typeMatthias Gierlings2017-12-241-5/+35
|/ | | | | | Calls `Botan::redc_pXXX` directly inside non-capturing lambda function, which can be converted to `std::function<void (...)>`, instead of passing an incompatible `void(*)` to `NIST_Curve_Reduction_Tests::random_redc_test`.
* Avoid printing integers in decimal in ASN.1 printerJack Lloyd2017-12-231-11/+1
| | | | | Having the integers be sometimes hex and other times decimal made the output very hard to interpret correctly. Better to just pick one.
* Correctly handle ASN.1 data inside octet strings.Jack Lloyd2017-12-231-1/+6
| | | | | If we were able to successfully parse ASN.1 data embedded in an OCTET STRING, we ended up not reporting the OCTET STRING tagging.
* Add exceptions to mach_abi_linking groupsJack Lloyd2017-12-233-6/+16
| | | | | Allows avoiding -pthread on Haiku which doesn't support that flag. (Even though it has pthreads, go figure...)
* Build improvementsJack Lloyd2017-12-239-11/+19
| | | | | | | | | | Derive the fact that shared libs are not supported from the lack of information about shared object names. If soname_suffix and co are not set -> shared libs are disabled. Disable stack protector by default on OSes where it has proven a problem namely AIX and Haiku. Add --with-stack-protector option to force turning it on.
* Use a better name for the entropy source that reads the system RNGJack Lloyd2017-12-231-1/+1
| | | | Now the value round trips with Entropy_Source::create
* Enable additional Haiku featuresJack Lloyd2017-12-231-1/+3
|
* Fix socket libs for SolarisJack Lloyd2017-12-231-0/+1
|
* Enable shared libs on HaikuJack Lloyd2017-12-231-1/+2
| | | | Works fine, think this was a problem with their old gcc2 toolchain.
* Always note if shared lib is being disabled due to platform limitationsJack Lloyd2017-12-231-3/+7
|
* Avoid defining LIB_LINK_CMD if we are not creating a shared object.Jack Lloyd2017-12-231-3/+2
| | | | Makes the output look buggy on non-shared builds
* Fix build issue on HaikuJack Lloyd2017-12-234-1/+5
| | | | Undeprecate it since it seems easy enough to support.
* Move DN upper bound function to X509_DN static functionJack Lloyd2017-12-236-36/+21
| | | | | Avoids another public header, and it just makes sense that it be declared there.
* Merge GH #1371 Add socket helpers, convert tls_server to new APIJack Lloyd2017-12-233-176/+159
|\
| * Convert TLS server to new style TLS interface (GH #1350)Jack Lloyd2017-12-231-78/+71
| |
| * Add wrapper functions to clean up cli code using socketsJack Lloyd2017-12-233-98/+88
| |
* | Initialize CRL_Code field in CRL_Entry dataJack Lloyd2017-12-231-1/+1
|/ | | | If no extensions in the CRL, the field was left uninitialized
* Avoid (implicitly) using std::rand with std::random_shuffleJack Lloyd2017-12-231-1/+8
| | | | This causes link-time warnings on BSD and may make static analyzers angry.
* Avoid uninitialized field warningsJack Lloyd2017-12-231-1/+2
|
* FreeBSD removed support for proc filesystem a while agoJack Lloyd2017-12-231-1/+0
|
* Increase size of CRL code enum to 32-bitsJack Lloyd2017-12-231-1/+1
| | | | BSI test is using a large enum value somewhere.
* Avoid undefined behavior in SipHashJack Lloyd2017-12-232-1/+60
|
* Avoid uninitialized param warningJack Lloyd2017-12-231-0/+1
|
* Deinline functions in EMSA, add pubkey as dependencyJack Lloyd2017-12-2312-22/+48
|