Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge duplicated logic for clearing CPUID bits | Jack Lloyd | 2017-09-16 | 4 | -49/+48 |
| | |||||
* | Minor simplifications in SIMD_32 constructor | Jack Lloyd | 2017-09-16 | 1 | -2/+5 |
| | |||||
* | Update Wycheproof GCM tests | Jack Lloyd | 2017-09-15 | 1 | -6/+38 |
| | |||||
* | some formatting | Atanas Filyanov | 2017-09-15 | 1 | -1/+5 |
| | |||||
* | reenable 8 byte gcm tags | Atanas Filyanov | 2017-09-15 | 2 | -1/+11 |
| | |||||
* | Allow GCM tag size in the range 96..128 bits | Atanas Filyanov | 2017-09-14 | 2 | -16/+45 |
| | |||||
* | Merge GH #1208 Fix decoding of RFC 5915 ECC keys | Jack Lloyd | 2017-09-13 | 3 | -5/+31 |
|\ | |||||
| * | Remove inner/outer OID check in EC_PrivateKey ctor | René Korthaus | 2017-09-13 | 3 | -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. | ||||
* | | allow 12 byte GCM tags and add test vectors | Atanas Filyanov | 2017-09-13 | 2 | -1/+49 |
|/ | |||||
* | Reference the right pipe | Jack Lloyd | 2017-09-11 | 1 | -1/+1 |
| | | | | This didn't affect the results [ci skip] | ||||
* | Merge GH #1202 Fix CFB IV carryover closes #1200 | Jack Lloyd | 2017-09-11 | 3 | -47/+115 |
|\ | |||||
| * | Address CFB carryover bug | Jack Lloyd | 2017-09-10 | 3 | -47/+115 |
| | | | | | | | | | | | | Test data generated by 1.10 so hopefully no further issues here. GH #1200 | ||||
* | | Change SM2 encryption to match updated standard. | Jack Lloyd | 2017-09-10 | 2 | -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 binary | Jack Lloyd | 2017-09-10 | 1 | -6/+1 |
| | | |||||
* | | Remove test branch from appveyor yaml | Jack Lloyd | 2017-09-10 | 1 | -1/+0 |
| | | |||||
* | | Fix a couple more VC warnings | Jack Lloyd | 2017-09-10 | 2 | -3/+3 |
| | | |||||
* | | Fix bogus ffi test | Jack Lloyd | 2017-09-10 | 1 | -1/+1 |
| | | | | | | | | Caught by a warning from VC | ||||
* | | Enable clcache | Jack Lloyd | 2017-09-10 | 2 | -1/+16 |
| | | |||||
* | | Merge GH #1199 Run Windows CI build via Python script | Jack Lloyd | 2017-09-10 | 8 | -67/+126 |
|\ \ | |||||
| * | | Fix Sonar build | Jack Lloyd | 2017-09-08 | 1 | -1/+1 |
| | | | |||||
| * | | Fix var assignment | Jack Lloyd | 2017-09-08 | 1 | -2/+2 |
| | | | |||||
| * | | Fix ccache detection | Jack Lloyd | 2017-09-08 | 1 | -1/+2 |
| | | | |||||
| * | | Script the Windows CI build | Jack Lloyd | 2017-09-08 | 8 | -66/+124 |
| |/ | |||||
* | | Merge GH #1203 Add Win32 filesystem API access for MinGW | Jack Lloyd | 2017-09-10 | 2 | -6/+55 |
|\ \ | |||||
| * | | Make it actually work | Jack Lloyd | 2017-09-10 | 1 | -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 compiles | Jack Lloyd | 2017-09-10 | 2 | -6/+51 |
| |/ | |||||
* | | Homebrew helpfully autoupdates | Jack Lloyd | 2017-09-10 | 1 | -2/+1 |
| | | | | | | | | | | | | Taking 60-90 seconds per commit... [ci skip] | ||||
* | | Fix bad comparison in Winsock code | Jack Lloyd | 2017-09-10 | 1 | -1/+1 |
|/ | | | | [ci skip] | ||||
* | 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. |