Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test output_length of cipher modes | Jack Lloyd | 2017-12-29 | 1 | -0/+13 |
| | |||||
* | Test AEAD provider strings | Jack Lloyd | 2017-12-29 | 1 | -0/+7 |
| | |||||
* | Add explicit int return type declarations on FFI lambdas. | Jack Lloyd | 2017-12-28 | 13 | -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 Lloyd | 2017-12-28 | 1 | -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 string | Jack Lloyd | 2017-12-28 | 1 | -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_DB | Jack Lloyd | 2017-12-28 | 1 | -0/+11 |
| | |||||
* | Correct OpenSSL RC4 naming | Jack Lloyd | 2017-12-28 | 1 | -1/+1 |
| | |||||
* | Add passhash9 tests for edge cases | Jack Lloyd | 2017-12-28 | 2 | -3/+20 |
| | | | | And correct exception message which referred to bcrypt | ||||
* | Deprecate CMAC::poly_double | Jack Lloyd | 2017-12-28 | 1 | -1/+7 |
| | | | | We use the internal util API now | ||||
* | Fix RC4 name in case of skipped bytes | Jack Lloyd | 2017-12-28 | 4 | -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 formatting | Jack Lloyd | 2017-12-28 | 4 | -145/+216 |
|\ | |||||
| * | Refactor ASN1_Pretty_Printer | Jack Lloyd | 2017-12-28 | 4 | -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 enum | Jack Lloyd | 2017-12-28 | 1 | -0/+1 |
|/ | | | | So I can find it and remove it in 3.x | ||||
* | Add final annotation on Data_Store | Jack Lloyd | 2017-12-28 | 1 | -1/+1 |
| | |||||
* | Avoid prefixing siglongjmp or sigsetjmp with :: | Jack Lloyd | 2017-12-28 | 1 | -2/+2 |
| | | | | Apparently these are macros on Cygwin/newlib | ||||
* | Merge GH #1374 Remove unneeded XMSS-WOTS operations | Jack Lloyd | 2017-12-27 | 11 | -397/+0 |
|\ | |||||
| * | Remove the unused XMSS-WOTS operations | Jack Lloyd | 2017-12-27 | 11 | -397/+0 |
| | | |||||
* | | Change X509_Certificate::subject_public_key_bitstring_sha1 to return const ref | Jack Lloyd | 2017-12-27 | 2 | -2/+3 |
|/ | |||||
* | In dist script set gzip header time to the tag timestamp | Jack Lloyd | 2017-12-27 | 1 | -18/+19 |
| | | | | Also use the tag time for the tar timestamps instead of arbitrary 6am | ||||
* | Fix a couple Doxygen format errors [ci skip] | Jack Lloyd | 2017-12-26 | 2 | -9/+11 |
| | |||||
* | Avoid warnings about unused params in minimal builds [ci skip] | Jack Lloyd | 2017-12-24 | 1 | -1/+5 |
| | |||||
* | Fixes #1370 UBSan incompatible function ptr type | Matthias Gierlings | 2017-12-24 | 1 | -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 printer | Jack Lloyd | 2017-12-23 | 1 | -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 Lloyd | 2017-12-23 | 1 | -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 groups | Jack Lloyd | 2017-12-23 | 2 | -2/+2 |
| | | | | | Allows avoiding -pthread on Haiku which doesn't support that flag. (Even though it has pthreads, go figure...) | ||||
* | Build improvements | Jack Lloyd | 2017-12-23 | 8 | -6/+4 |
| | | | | | | | | | | 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 RNG | Jack Lloyd | 2017-12-23 | 1 | -1/+1 |
| | | | | Now the value round trips with Entropy_Source::create | ||||
* | Enable additional Haiku features | Jack Lloyd | 2017-12-23 | 1 | -1/+3 |
| | |||||
* | Fix socket libs for Solaris | Jack Lloyd | 2017-12-23 | 1 | -0/+1 |
| | |||||
* | Enable shared libs on Haiku | Jack Lloyd | 2017-12-23 | 1 | -1/+2 |
| | | | | Works fine, think this was a problem with their old gcc2 toolchain. | ||||
* | Avoid defining LIB_LINK_CMD if we are not creating a shared object. | Jack Lloyd | 2017-12-23 | 1 | -3/+2 |
| | | | | Makes the output look buggy on non-shared builds | ||||
* | Fix build issue on Haiku | Jack Lloyd | 2017-12-23 | 3 | -0/+4 |
| | | | | Undeprecate it since it seems easy enough to support. | ||||
* | Move DN upper bound function to X509_DN static function | Jack Lloyd | 2017-12-23 | 6 | -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 API | Jack Lloyd | 2017-12-23 | 3 | -176/+159 |
|\ | |||||
| * | Convert TLS server to new style TLS interface (GH #1350) | Jack Lloyd | 2017-12-23 | 1 | -78/+71 |
| | | |||||
| * | Add wrapper functions to clean up cli code using sockets | Jack Lloyd | 2017-12-23 | 3 | -98/+88 |
| | | |||||
* | | Initialize CRL_Code field in CRL_Entry data | Jack Lloyd | 2017-12-23 | 1 | -1/+1 |
|/ | | | | If no extensions in the CRL, the field was left uninitialized | ||||
* | Avoid (implicitly) using std::rand with std::random_shuffle | Jack Lloyd | 2017-12-23 | 1 | -1/+8 |
| | | | | This causes link-time warnings on BSD and may make static analyzers angry. | ||||
* | Avoid uninitialized field warnings | Jack Lloyd | 2017-12-23 | 1 | -1/+2 |
| | |||||
* | FreeBSD removed support for proc filesystem a while ago | Jack Lloyd | 2017-12-23 | 1 | -1/+0 |
| | |||||
* | Increase size of CRL code enum to 32-bits | Jack Lloyd | 2017-12-23 | 1 | -1/+1 |
| | | | | BSI test is using a large enum value somewhere. | ||||
* | Avoid undefined behavior in SipHash | Jack Lloyd | 2017-12-23 | 2 | -1/+60 |
| | |||||
* | Avoid uninitialized param warning | Jack Lloyd | 2017-12-23 | 1 | -0/+1 |
| | |||||
* | Deinline functions in EMSA, add pubkey as dependency | Jack Lloyd | 2017-12-23 | 12 | -22/+48 |
| | |||||
* | Avoid relying on AutoSeeded_RNG in XMSS | Jack Lloyd | 2017-12-23 | 2 | -3/+4 |
| | | | | Just needed for the self-benchmark easier to just use fixed input. | ||||
* | PSK_DB requires base64 [ci skip] | Jack Lloyd | 2017-12-23 | 1 | -0/+1 |
| | |||||
* | EMSA has a build-time dependency on ASN.1 now [ci skip] | Jack Lloyd | 2017-12-23 | 1 | -0/+1 |
| | |||||
* | Avoid possible null pointer deref | Jack Lloyd | 2017-12-22 | 1 | -2/+2 |
| | | | | Caught with Coverity | ||||
* | Fix error reporting in dist script under Python3 | Jack Lloyd | 2017-12-22 | 1 | -5/+10 |
| | | | | bin vs str strikes again | ||||
* | Break out of Win32 entropy poll as soon as entropy goal is reached. | Jack Lloyd | 2017-12-22 | 1 | -7/+15 |
| | | | | | | Rather than running over the entire heap list which may be long. Fixes #1369 |