Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move block to its own function | Jack Lloyd | 2017-10-02 | 1 | -17/+21 |
| | |||||
* | Remove various unused variables | Jack Lloyd | 2017-10-02 | 2 | -1/+2 |
| | | | | Sonar finds | ||||
* | Remove redundant "virtual override" declarations. | Jack Lloyd | 2017-10-02 | 2 | -3/+3 |
| | |||||
* | Use explicit :: or std:: to refer to functions in namespaces | Jack Lloyd | 2017-10-01 | 2 | -5/+5 |
| | |||||
* | Use class here | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | Fix bad comparison | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | | | | Caught by Sonar | ||||
* | Use class instead of struct for objects with member functions | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | | | | Flagged by Sonar and quite reasonable | ||||
* | Further header cleanups | Jack Lloyd | 2017-09-28 | 2 | -1/+3 |
| | |||||
* | Reindent [ci skip] | Jack Lloyd | 2017-09-24 | 1 | -1/+1 |
| | |||||
* | Further build/test fixes for restricted configurations | Jack Lloyd | 2017-09-24 | 2 | -1/+5 |
| | |||||
* | Fixes for headers missing in certain configurations | Jack Lloyd | 2017-09-23 | 1 | -0/+1 |
| | |||||
* | De-inline TLS::Text_Policy | Jack Lloyd | 2017-09-21 | 1 | -0/+1 |
| | | | | | Getting a little large to be all defined in a header, and sticking it in a source file allows removing several includes from tls_policy.h | ||||
* | More include header cleanups | Jack Lloyd | 2017-09-21 | 7 | -12/+7 |
| | |||||
* | Change header guard format to BOTAN_FOO_H_ | Jack Lloyd | 2017-09-20 | 2 | -4/+4 |
| | | | | | | ISO C++ reserves names with double underscores in them Closes #512 | ||||
* | Reflect -fstack-protector and related flags in `botan config ldflags` | Jack Lloyd | 2017-09-19 | 1 | -0/+2 |
| | | | | | | GH #863 [ci skip] | ||||
* | Correct output of `botan config libs` | Jack Lloyd | 2017-09-16 | 1 | -2/+1 |
| | | | | It output -lbotan-2.x instead of -lbotan-2 | ||||
* | Merge duplicated logic for clearing CPUID bits | Jack Lloyd | 2017-09-16 | 1 | -9/+5 |
| | |||||
* | Fix bad write if a socket error occurred using --dump-traces | Jack Lloyd | 2017-09-07 | 1 | -5/+5 |
| | | | | Found by Coverity | ||||
* | 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] | ||||
* | 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 | ||||
* | Add --dump-traces option to tls_server | Jack Lloyd | 2017-09-02 | 1 | -1/+18 |
| | |||||
* | Add a script for running TLS-Attacker, remove old shell scripts | Jack Lloyd | 2017-09-02 | 1 | -20/+18 |
| | | | | [ci skip] | ||||
* | Add a CLI util for inspecting TLS client hellos | Jack Lloyd | 2017-09-01 | 1 | -0/+111 |
| | |||||
* | Fix --error-output= option to cli | Jack Lloyd | 2017-09-01 | 1 | -3/+3 |
| | | | | [ci skip] | ||||
* | Enforce signature hash policy properly | Jack Lloyd | 2017-08-31 | 1 | -1/+1 |
| | | | | | | | | Previously if the client did not send signature_algorithms, or if it only included algos not in the policy, we would just fallback to the hardcoded SHA-1 default of TLS v1.2 Instead check the policy before accepting anything. | ||||
* | Simplify RNG logic in CLI a bit | Jack Lloyd | 2017-08-31 | 2 | -15/+13 |
| | |||||
* | Merge GH #1169 Add LLVM bitcode target | Jack Lloyd | 2017-08-31 | 2 | -69/+81 |
|\ | |||||
| * | Work around limitation in old GCC and Clang | Jack Lloyd | 2017-08-31 | 1 | -1/+1 |
| | | |||||
| * | Refactor RNG seeding logic in command line interface | Jack Lloyd | 2017-08-30 | 2 | -69/+81 |
| | | | | | | | | | | This is needed for LLVM which doesn't have any usable entropy sources. Also useful for determinsitic private key creation, etc. | ||||
* | | More MSVC warnings fixes | Jack Lloyd | 2017-08-31 | 2 | -3/+11 |
| | | |||||
* | | Fix various MSVC warnings | Jack Lloyd | 2017-08-31 | 1 | -4/+2 |
|/ | | | | Based on VC2017 output | ||||
* | Avoid catching by value | Jack Lloyd | 2017-08-29 | 1 | -1/+1 |
| | | | | Sonar find | ||||
* | Newhope cleanups | Jack Lloyd | 2017-08-18 | 1 | -1/+1 |
| | | | | Formatting, use size_t instead of int, etc | ||||
* | Add support for Windows sockets to http_util | René Korthaus | 2017-08-04 | 2 | -3/+88 |
| | | | | | | Based on the work by @slicer4ever, adds support for Windows sockets to http_util. As a bonus, we get Windows support for tls_client and tls_server CLI. | ||||
* | Add ChaCha_RNG | Jack Lloyd | 2017-07-31 | 1 | -47/+16 |
| | |||||
* | Fix loading of unencrypted PKCS#8 key via CLI | René Korthaus | 2017-07-11 | 1 | -10/+16 |
| | | | | | | | CLI passed an emtpy password to PKCS8::load_key(), even if --pass-in was not given, which caused loading of unencrypted private keys to fail. Fixed by calling the corresponding flavour of load_key(). | ||||
* | Fix sign_cert CLI incorrectly handling --ca-key-pass | René Korthaus | 2017-07-01 | 1 | -2/+4 |
| | |||||
* | Merge GH #1082 Add support for SM2 signature scheme | Jack Lloyd | 2017-06-30 | 1 | -0/+32 |
|\ | |||||
| * | Add SM2 signature scheme | Jack Lloyd | 2017-06-29 | 1 | -0/+32 |
| | | | | | | | | | | | | From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02 This is a contribution from Ribose Inc (@riboseinc). | ||||
* | | Merge GH #1084 Support multiple buffer sizes in speed report | Jack Lloyd | 2017-06-30 | 1 | -86/+446 |
|\ \ | |/ |/| | |||||
| * | use buffer sizes only once in performance tests | 0xdefaced | 2017-06-26 | 1 | -2/+16 |
| | | | | | | | | | | | | Remove duplicates from given buffer sizes in performance tests. Additionally, sort buffer sizes for better grouping in logs and add a colon before printing the measurements. | ||||
| * | print a summary for performance tests | 0xdefaced | 2017-06-24 | 1 | -7/+306 |
| | | |||||
| * | only speed test different msg sizes when tests require a message size | 0xdefaced | 2017-06-24 | 1 | -204/+222 |
| | | | | | | | | | | Don't perform performance tests for different buffer sizes when the algorithm does not care about the message size. | ||||
| * | accept multiple buffer sizes used for speed tests | 0xdefaced | 2017-06-24 | 1 | -141/+170 |
| | | |||||
* | | Fix transcoding of asn1print strings to UTF-8 | René Korthaus | 2017-06-28 | 1 | -2/+2 |
|/ | | | | | | | | When the terminal used supports UTF-8, asn1print should convert strings from internal Latin1 to UTF-8 encoding for printing to terminal. However, it previously tried to convert in the opposite direction, probably because of the misconception that Charset::transcode() expects the two encodings as "from, to" instead of "to, from". | ||||
* | Update speed | Jack Lloyd | 2017-06-07 | 1 | -0/+29 |
| | |||||
* | Fix missing binary mode flag on compression ofstreams | Volker Aßmann | 2017-06-06 | 2 | -4/+4 |
| | |||||
* | Added std::ios::binary option for istream open in compression. Without | Volker Aßmann | 2017-06-05 | 1 | -2/+2 |
| | | | | | this the compress/uncompress methods may produce corrupted files on Windows. | ||||
* | Add --ecc-groups= option to speed | Jack Lloyd | 2017-06-04 | 1 | -37/+41 |
| | | | | Instead of hardcoding which ecc groups to test in each alg. |