Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Add HOTP (RFC 4226) and TOTP (RFC 6238) | Jack Lloyd | 2017-05-19 | 1 | -0/+4 |
| | |||||
* | Add support for Intel SHA-1/SHA-2 instructions | Jack Lloyd | 2017-05-19 | 1 | -0/+2 |
| | | | | Based on GH #807 and #808 | ||||
* | Merge GH #359 Add botan cli encryption tool | Jack Lloyd | 2017-05-19 | 1 | -0/+139 |
|\ | |||||
| * | Fix 3 space indent | Simon Warta | 2017-04-18 | 1 | -4/+4 |
| | | |||||
| * | Add BOTAN_HAS_AEAD_MODES requirement for encryption cli | Simon Warta | 2017-04-18 | 1 | -1/+1 |
| | | |||||
| * | Update registration format of "encryption" cli command | Simon Warta | 2017-04-18 | 1 | -2/+2 |
| | | |||||
| * | Add more ciphers | Simon Warta | 2017-04-18 | 1 | -6/+20 |
| | | |||||
| * | Adapt cli command encryption to new cli interface | Simon Warta | 2017-04-18 | 1 | -37/+42 |
| | | |||||
| * | Add botan encryption cli app | Simon Warta | 2017-04-18 | 1 | -0/+120 |
| | | |||||
* | | Add ability to clear cpuid bits before running benchmarks. | Jack Lloyd | 2017-05-18 | 1 | -1/+14 |
| | | | | | | | | | | | | | | Should be extended further, and some duplicated logic with the tests here, but useful as is. [ci skip] | ||||
* | | Reformat code with astyle + fix code style | Tomasz Frydrych | 2017-05-01 | 16 | -487/+775 |
|/ | |||||
* | Add hex encoder/decoder CLI util | Jack Lloyd | 2017-04-13 | 1 | -0/+37 |
| | |||||
* | Add HMAC CLI command | René Korthaus | 2017-04-13 | 1 | -0/+48 |
| | |||||
* | Content: | Tomasz Frydrych | 2017-04-03 | 4 | -12/+5 |
| | | | | | | | | | * fixes for deprecated constructions in c++11 and later (explicit rule of 3/5 or implicit rule of 0 and other violations) * `default` specifier instead of `{}` in some places(probably all) * removal of unreachable code (for example `return` after `throw`) * removal of compilation unit only visible, but not used functions * fix for `throw()` specifier - used instead `BOTAN_NOEXCEPT` * removed not needed semicolons | ||||
* | Use entropy source for cli rng. | Alexander Bluhm | 2017-03-29 | 1 | -1/+11 |
| | | | | | With "botan rng --entropy" the global entropy sources are used to seed the auto seeded random number generator. |