Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge GH #1197 Fix loading of plaintext PKCS#8 private keys in FFI | Jack Lloyd | 2017-09-08 | 2 | -8/+20 |
|\ | |||||
| * | Fix loading of plaintext PKCS#8 private keys | René Korthaus | 2017-09-08 | 2 | -8/+20 |
| | | | | | | | | | | We fixed this in the C++ API in GH #381, but apparently not in ffi. Also adds the missing tests. | ||||
* | | Merge GH #1193 Improve Apple Clang detection logic | Jack Lloyd | 2017-09-08 | 1 | -0/+25 |
|\ \ | |||||
| * | | Adjust min version for non "based on LLVM" appleclang | Simon Warta | 2017-09-07 | 1 | -1/+1 |
| | | | |||||
| * | | Improve appleclang version logic | Simon Warta | 2017-09-07 | 1 | -0/+25 |
| |/ | | | | | | | | | | | | | For appleclang version >= X, return minimal clang version Y. This now works for all intermediate versions between the known fixed points. This is especially important for compiling today's code with a future compiler. | ||||
* / | Add missing pip3 installation | Simon Warta | 2017-09-08 | 1 | -0/+2 |
|/ | |||||
* | Avoid throwing in deallocate | Jack Lloyd | 2017-09-07 | 1 | -4/+4 |
| | | | | | | | Could end up causing a throw during a destructor leading to a crash, if the application created a very large secure_vector. Flagged by Coverity. | ||||
* | Fix invalid comparison, potential segfault on invalid type | Jack Lloyd | 2017-09-07 | 1 | -1/+2 |
| | | | | Found by Coverity | ||||
* | Fix bad write if a socket error occurred using --dump-traces | Jack Lloyd | 2017-09-07 | 1 | -5/+5 |
| | | | | Found by Coverity | ||||
* | Bump version for SM2 | Jack Lloyd | 2017-09-07 | 1 | -1/+1 |
| | | | | | | To reflect support for arbitrary hashes [ci skip] | ||||
* | Merge GH #1190 Correct Apple clang version detection for XCode 9 | Jack Lloyd | 2017-09-07 | 1 | -0/+14 |
|\ | |||||
| * | Add appleclang compiler version tests | Simon Warta | 2017-09-07 | 1 | -0/+14 |
| | | |||||
* | | Merge GH #1189 Correct return value of botan_pk_op_verify_finish | Jack Lloyd | 2017-09-07 | 4 | -11/+13 |
|\ \ | |||||
| * | | Correct return value of botan_pk_op_verify_finish | Jack Lloyd | 2017-09-06 | 4 | -11/+13 |
| |/ | | | | | | | | | | | | | This function changed behavior in 0d403a3 see also GH #1187 Add new return code BOTAN_FFI_INVALID_VERIFIER and use it for both signature and bcrypt verification functions. | ||||
* | | Merge GH #1188 Support arbitrary hashes in SM2 | Jack Lloyd | 2017-09-07 | 7 | -25/+110 |
|\ \ | |||||
| * | | Add support for computing SM2 ZA field to FFI | Jack Lloyd | 2017-09-06 | 3 | -0/+50 |
| | | | | | | | | | | | | This is a contribution from Ribose Inc. | ||||
| * | | Support arbitrary hashes for SM2 signatures | Jack Lloyd | 2017-09-06 | 3 | -9/+40 |
| | | | | | | | | | | | | This is a contribution from Ribose Inc | ||||
| * | | Remove unused member | Jack Lloyd | 2017-09-06 | 1 | -1/+0 |
| | | | |||||
| * | | Support arbitrary hashes for SM2 encryption | Jack Lloyd | 2017-09-05 | 2 | -15/+20 |
| |/ | | | | | | | This is a contribution from Ribose Inc. | ||||
* / | Exclude build/* from Sonar analysis | Jack Lloyd | 2017-09-07 | 1 | -0/+2 |
|/ | | | | Otherwise it marks all of our header files as 'duplicates' ... | ||||
* | Name files as codecov script expects | Jack Lloyd | 2017-09-05 | 1 | -3/+6 |
| | | | | | It searches for files with specific patterns which cov.info did not match. | ||||
* | Simplify polynomial doubling code | Jack Lloyd | 2017-09-05 | 6 | -156/+95 |
| | | | | | | | | | | GCC and Clang generate effectively identical code for a template with parameters, vs completely unrolled code as was used previously. Add a little-endian variant so XTS can use it. This extends XTS support to cover 256 and 512-bit ciphers. I was not able to find another implementation that supports both XTS and ciphers with large blocks, so the XTS test vectors are self-generated. | ||||
* | Correct TLS::Policy::latest_supported_version | Jack Lloyd | 2017-09-04 | 1 | -2/+16 |
| | | | | | This would do the wrong thing if TLS v1.2 was disabled but v1.0/v1.1 allowed. | ||||
* | Small cleanups in ci_build.py | Jack Lloyd | 2017-09-04 | 1 | -13/+20 |
| | |||||
* | Move travis.yml to src/scripts/ci | Jack Lloyd | 2017-09-04 | 1 | -0/+132 |
| | |||||
* | Added SHA3_XXX_PKCS OID | Francis Dupont | 2017-09-04 | 1 | -0/+28 |
| | |||||
* | Header shuffle | Jack Lloyd | 2017-09-04 | 1 | -5/+10 |
| | | | | Still need basic system headers even when using asio for network | ||||
* | MinGW fixes | Jack Lloyd | 2017-09-04 | 2 | -4/+4 |
| | |||||
* | Merge GH #1182 Add support for ARMv8 AES instructions | Jack Lloyd | 2017-09-03 | 4 | -0/+367 |
|\ | |||||
| * | Add support for AES extensions on ARMv8 | Jack Lloyd | 2017-09-03 | 4 | -0/+367 |
| | | | | | | | | Based on the patch in GH #1146 | ||||
* | | Merge GH #1181 Add support for ARMv8 PMULL instruction | Jack Lloyd | 2017-09-03 | 4 | -0/+112 |
|\ \ | |||||
| * | | Add support for ARMv8 PMULL instruction | Jack Lloyd | 2017-09-03 | 4 | -0/+112 |
| |/ | | | | | | | Contributed in GH #842 | ||||
* | | Merge GH #1180 Refactorings to support Windows Phone | Jack Lloyd | 2017-09-03 | 17 | -480/+560 |
|\ \ | |/ |/| | |||||
| * | Typo | Jack Lloyd | 2017-09-03 | 1 | -1/+1 |
| | | |||||
| * | Define macro so windows.h doesn't include winsock.h | Jack Lloyd | 2017-09-03 | 3 | -0/+4 |
| | | | | | | | | Ugh Windows headers y u so nasty. | ||||
| * | Move secure_scrub_memory to os_utils.cpp | Jack Lloyd | 2017-09-03 | 2 | -40/+27 |
| | | |||||
| * | Refactor network code used in http_util | Jack Lloyd | 2017-09-03 | 3 | -140/+303 |
| | | | | | | | | Move the actual socket stuff to os_utils.cpp | ||||
| * | Refactor RNGs to support Windows Phone | Jack Lloyd | 2017-09-02 | 11 | -301/+227 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This OS has its own crypto API and does not support CryptGenRandom. Splits System_RNG_Impl into distinct declarations one per implementation type. Easier to read now that we are up to 4 distinct versions. Removes the CryptoAPI entropy source, and replaces it with an entropy source that calls the system RNG. This is nominally a bit less flexible in that the entropy source allowed polling multiple providers (though we didn't actually make use of that). Plus side is it works on all systems. Currently the dev_random entropy source is still there because we do actually use it to poll both /dev/random and /dev/urandom, and it might be useful (on certain systems) to also poll a HW RNG, which are often assigned their own device node. This could debatably also be removed in favor of just reading the system RNG. | ||||
* | | Cleanups in cpuid handling code | Jack Lloyd | 2017-09-03 | 1 | -47/+47 |
| | | |||||
* | | Avoid g_ prefix on local variable | Jack Lloyd | 2017-09-03 | 1 | -3/+3 |
| | | | | | | | | Reserving it for globals so they are easy to grep for | ||||
* | | Avoid leaking address info in the case of a connection failure | Jack Lloyd | 2017-09-03 | 1 | -2/+2 |
| | | | | | | | | | | | | Not really a problem since we're exiting shortly afterwards. [ci skip] | ||||
* | | Clean up use of <limits> header | Jack Lloyd | 2017-09-03 | 8 | -14/+6 |
| | | | | | | | | Don't include it where it is not needed, included it where it is used. | ||||
* | | Add missing override | Jack Lloyd | 2017-09-03 | 1 | -1/+1 |
|/ | |||||
* | Avoid using std::cout and std::cerr within cli code | Jack Lloyd | 2017-09-02 | 5 | -85/+87 |
| | | | | Prevents redirection using --output and --error-output | ||||
* | Output errors to cerr | Jack Lloyd | 2017-09-02 | 1 | -4/+4 |
| | |||||
* | Avoid using <iostream> header within the library | Jack Lloyd | 2017-09-02 | 2 | -2/+4 |
| | | | | We only need <istream> + <ostream> here | ||||
* | Clean up fuzzer code a bit | Jack Lloyd | 2017-09-02 | 5 | -46/+34 |
| | | | | | If we ever output something to the terminal it should be because we are crashing. | ||||
* | Merge GH #1179 Support negative base in power_mod closes #1168 | Jack Lloyd | 2017-09-02 | 3 | -3/+44 |
|\ | |||||
| * | Support a negative base in power_mod | Jack Lloyd | 2017-09-02 | 3 | -3/+44 |
| | | | | | | | | Closes #1168 | ||||
* | | Merge GH #1178 Use botan-ci-tools repo for binaries needed by CI | Jack Lloyd | 2017-09-02 | 1 | -11/+14 |
|\ \ | |/ |/| |