aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove inner/outer OID check in EC_PrivateKey ctorRené Korthaus2017-09-133-5/+31
| | | | | | | | RFC 5915 mandates that the OID of an ECDSA ECPrivateKey shall be id-ecPublicKey with the named curve as the parameters. ECPrivateKey may contain the named curve OID, too, which is compared to id-ecPublicKey. Such keys could not be loaded. We remove this check and add a test vector from strongswan.
* Reference the right pipeJack Lloyd2017-09-111-1/+1
| | | | This didn't affect the results [ci skip]
* Merge GH #1202 Fix CFB IV carryover closes #1200Jack Lloyd2017-09-113-47/+115
|\
| * Address CFB carryover bugJack Lloyd2017-09-103-47/+115
| | | | | | | | | | | | Test data generated by 1.10 so hopefully no further issues here. GH #1200
* | Change SM2 encryption to match updated standard.Jack Lloyd2017-09-102-6/+7
| | | | | | | | | | | | | | | | Unfortunately it seems the SM2 format changed between 2010 and 2012, now the ciphertext is C1 || C3 || C2. Unfortunate no matter how you slice it, but at least it's easy to convert from one form to another.
* | Use prebuilt ccache binaryJack Lloyd2017-09-101-6/+1
| |
* | Remove test branch from appveyor yamlJack Lloyd2017-09-101-1/+0
| |
* | Fix a couple more VC warningsJack Lloyd2017-09-102-3/+3
| |
* | Fix bogus ffi testJack Lloyd2017-09-101-1/+1
| | | | | | | | Caught by a warning from VC
* | Enable clcacheJack Lloyd2017-09-102-1/+16
| |
* | Merge GH #1199 Run Windows CI build via Python scriptJack Lloyd2017-09-108-67/+126
|\ \
| * | Fix Sonar buildJack Lloyd2017-09-081-1/+1
| | |
| * | Fix var assignmentJack Lloyd2017-09-081-2/+2
| | |
| * | Fix ccache detectionJack Lloyd2017-09-081-1/+2
| | |
| * | Script the Windows CI buildJack Lloyd2017-09-088-66/+124
| |/
* | Merge GH #1203 Add Win32 filesystem API access for MinGWJack Lloyd2017-09-102-6/+55
|\ \
| * | Make it actually workJack Lloyd2017-09-101-2/+6
| | | | | | | | | | | | | | | Weirdly Wine at least does not set FILE_ATTRIBUTE_NORMAL on the files, instead sets FILE_ATTRIBUTE_ARCHIVE. ?? I have no idea what that's about.
| * | Well, it compilesJack Lloyd2017-09-102-6/+51
| |/
* | Homebrew helpfully autoupdatesJack Lloyd2017-09-101-2/+1
| | | | | | | | | | | | Taking 60-90 seconds per commit... [ci skip]
* | Fix bad comparison in Winsock codeJack Lloyd2017-09-101-1/+1
|/ | | | [ci skip]
* Merge GH #1197 Fix loading of plaintext PKCS#8 private keys in FFIJack Lloyd2017-09-082-8/+20
|\
| * Fix loading of plaintext PKCS#8 private keysRené Korthaus2017-09-082-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 logicJack Lloyd2017-09-081-0/+25
|\ \
| * | Adjust min version for non "based on LLVM" appleclangSimon Warta2017-09-071-1/+1
| | |
| * | Improve appleclang version logicSimon Warta2017-09-071-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 installationSimon Warta2017-09-081-0/+2
|/
* Avoid throwing in deallocateJack Lloyd2017-09-071-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 typeJack Lloyd2017-09-071-1/+2
| | | | Found by Coverity
* Fix bad write if a socket error occurred using --dump-tracesJack Lloyd2017-09-071-5/+5
| | | | Found by Coverity
* Bump version for SM2Jack Lloyd2017-09-071-1/+1
| | | | | | To reflect support for arbitrary hashes [ci skip]
* Merge GH #1190 Correct Apple clang version detection for XCode 9Jack Lloyd2017-09-071-0/+14
|\
| * Add appleclang compiler version testsSimon Warta2017-09-071-0/+14
| |
* | Merge GH #1189 Correct return value of botan_pk_op_verify_finishJack Lloyd2017-09-074-11/+13
|\ \
| * | Correct return value of botan_pk_op_verify_finishJack Lloyd2017-09-064-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 SM2Jack Lloyd2017-09-077-25/+110
|\ \
| * | Add support for computing SM2 ZA field to FFIJack Lloyd2017-09-063-0/+50
| | | | | | | | | | | | This is a contribution from Ribose Inc.
| * | Support arbitrary hashes for SM2 signaturesJack Lloyd2017-09-063-9/+40
| | | | | | | | | | | | This is a contribution from Ribose Inc
| * | Remove unused memberJack Lloyd2017-09-061-1/+0
| | |
| * | Support arbitrary hashes for SM2 encryptionJack Lloyd2017-09-052-15/+20
| |/ | | | | | | This is a contribution from Ribose Inc.
* / Exclude build/* from Sonar analysisJack Lloyd2017-09-071-0/+2
|/ | | | Otherwise it marks all of our header files as 'duplicates' ...
* Name files as codecov script expectsJack Lloyd2017-09-051-3/+6
| | | | | It searches for files with specific patterns which cov.info did not match.
* Simplify polynomial doubling codeJack Lloyd2017-09-056-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_versionJack Lloyd2017-09-041-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.pyJack Lloyd2017-09-041-13/+20
|
* Move travis.yml to src/scripts/ciJack Lloyd2017-09-041-0/+132
|
* Added SHA3_XXX_PKCS OIDFrancis Dupont2017-09-041-0/+28
|
* Header shuffleJack Lloyd2017-09-041-5/+10
| | | | Still need basic system headers even when using asio for network
* MinGW fixesJack Lloyd2017-09-042-4/+4
|
* Merge GH #1182 Add support for ARMv8 AES instructionsJack Lloyd2017-09-034-0/+367
|\
| * Add support for AES extensions on ARMv8Jack Lloyd2017-09-034-0/+367
| | | | | | | | Based on the patch in GH #1146