aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-072-2/+18
|\
| * Do not fix number of digits in first appleclang version componentSimon Warta2017-09-071-1/+1
| | | | | | | | this will soon exceed 999.
| * Fix appleclang regex pattern to match dot onlySimon Warta2017-09-071-1/+1
| |
| * Add appleclang compiler version testsSimon Warta2017-09-071-0/+14
| |
| * Fix appleclang version tableSimon Warta2017-09-071-1/+3
| |
* | 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' ...
* Add some simple deductions of --cc given --cc-binJack Lloyd2017-09-051-2/+11
| | | | | | | | If --cc is not set but --cc-bin is, try guessing the compiler type based on that. This is useful for OSS-Fuzz (https://github.com/google/oss-fuzz/pull/649) and convenient elsewhere (eg --cc-bin=afl-clang++ now does the right thing)
* 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.
* Better phrasing in this log messageJack Lloyd2017-09-041-1/+1
|
* 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
|
* Add .travis.yml symlinkJack Lloyd2017-09-041-0/+1
|
* Move travis.yml to src/scripts/ciJack Lloyd2017-09-041-0/+0
|
* Merge GH #1184 Add ids for SHA-3 with PKCS1v1.5Jack Lloyd2017-09-041-0/+28
|\
| * 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
|
* Update newsJack Lloyd2017-09-031-1/+11
|
* 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
* | Merge GH #1181 Add support for ARMv8 PMULL instructionJack Lloyd2017-09-034-0/+112
|\ \
| * | Add support for ARMv8 PMULL instructionJack Lloyd2017-09-034-0/+112
| |/ | | | | | | Contributed in GH #842
* | Merge GH #1180 Refactorings to support Windows PhoneJack Lloyd2017-09-0317-480/+560
|\ \ | |/ |/|
| * TypoJack Lloyd2017-09-031-1/+1
| |
| * Define macro so windows.h doesn't include winsock.hJack Lloyd2017-09-033-0/+4
| | | | | | | | Ugh Windows headers y u so nasty.
| * Move secure_scrub_memory to os_utils.cppJack Lloyd2017-09-032-40/+27
| |
| * Refactor network code used in http_utilJack Lloyd2017-09-033-140/+303
| | | | | | | | Move the actual socket stuff to os_utils.cpp
| * Refactor RNGs to support Windows PhoneJack Lloyd2017-09-0211-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 codeJack Lloyd2017-09-031-47/+47
| |
* | Avoid g_ prefix on local variableJack Lloyd2017-09-031-3/+3
| | | | | | | | Reserving it for globals so they are easy to grep for
* | Avoid leaking address info in the case of a connection failureJack Lloyd2017-09-031-2/+2
| | | | | | | | | | | | Not really a problem since we're exiting shortly afterwards. [ci skip]
* | Clean up use of <limits> headerJack Lloyd2017-09-038-14/+6
| | | | | | | | Don't include it where it is not needed, included it where it is used.
* | Add missing overrideJack Lloyd2017-09-031-1/+1
|/
* Avoid using std::cout and std::cerr within cli codeJack Lloyd2017-09-025-85/+87
| | | | Prevents redirection using --output and --error-output
* Output errors to cerrJack Lloyd2017-09-021-4/+4
|
* Avoid using <iostream> header within the libraryJack Lloyd2017-09-022-2/+4
| | | | We only need <istream> + <ostream> here
* Clean up fuzzer code a bitJack Lloyd2017-09-025-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 #1168Jack Lloyd2017-09-023-3/+44
|\