aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
Commit message (Collapse)AuthorAgeFilesLines
* RSA - just bench PKCS signaturesJack Lloyd2018-03-011-4/+4
| | | | The rest don't add any additional information
* Optimize FE1 format preserving encryptionJack Lloyd2018-02-281-2/+5
| | | | | Expose the state as the FPE_FE1 class which allows most values to be precomputed. Approx 6-8 times faster.
* Splitout binary extended GCD algorithmJack Lloyd2018-02-281-2/+2
| | | | | Makes it easier to benchmark, or call in cases where the const time algorithm is not required.
* Implement chacha20poly1305 in botan CLISimon Warta2018-02-281-0/+1
|
* Add functions to EC_Group for getting base point coordinatesJack Lloyd2018-02-251-2/+1
|
* Benchmark larger DH valuesJack Lloyd2018-02-251-1/+1
|
* New API for blinded ECC point multiplicationJack Lloyd2018-02-212-17/+109
| | | | No shared state
* Support generating DSA groups in gen_dl_group CLIJack Lloyd2018-02-201-2/+28
|
* Add benchmarks for ElGamal and DSAJack Lloyd2018-02-181-0/+59
| | | | Weird these didn't already exist
* Increase default speed --msec to 300Jack Lloyd2018-02-021-1/+1
| | | | | A good balance between being responsive and reasonable accurate. At 100 msec lots of errors wrt dynamic throttling etc.
* Use shared representation of EC_GroupJack Lloyd2018-01-312-7/+6
| | | | Hide CurveGFp with an eye for eventual removal
* For hash/mac speed tests finalize the computation under the timerJack Lloyd2018-01-301-1/+6
| | | | | | Otherwise this misses the perf difference between SHAKE-128(512) and SHAKE-128(5120000) all the extra computation happens in the final function.
* Use enums to represent TLS signature and kex algorithms.Jack Lloyd2018-01-281-3/+3
| | | | Adds support for PSS signatures (currently verifying only).
* In client hello printer, don't require the handshake headerJack Lloyd2018-01-271-11/+8
|
* Fix speed test of cipher modes [ci skip]Jack Lloyd2018-01-271-3/+3
| | | | | Add BOTAN_HAS_CIPHER_MODES which is an easier to read/remember macro than BOTAN_HAS_MODES
* Remove iostream includes [ci skip]Jack Lloyd2018-01-241-1/+0
|
* Fix a bug in command line handlingJack Lloyd2018-01-211-9/+12
| | | | | | | If --help was provided to a command line that required at least one argument (such as hmac), a usage error would be shown before the help output. But we should not require any arguments if the --help option is given since no arguments will be used in that case.
* Reorganize code to avoid cli/test build failures if filesystem disabledJack Lloyd2018-01-196-111/+117
| | | | Fixes #1422
* Enforce an overall max depth on recursion in ASN1 printerJack Lloyd2018-01-151-6/+10
| | | | | Otherwise a sufficiently nested value can cause us to recurse endlessly, causing stack exhaustion. OSS-Fuzz 5333
* Merge the rest of GH #1387Jack Lloyd2018-01-142-28/+22
|\
| * Use search_mapRené Korthaus2018-01-141-6/+1
| |
| * Simplify codeRené Korthaus2018-01-142-30/+30
| |
| * Print a command description for cli helpRené Korthaus2018-01-1417-13/+542
| |
* | Merge GH #1387 Improve help output of cli toolJack Lloyd2018-01-1417-13/+542
|\ \ | |/ |/|
| * Print a command description for cli helpRené Korthaus2018-01-0417-13/+542
| |
* | Add --der-format flag to sign and verify cli utilsJack Lloyd2018-01-121-4/+10
| | | | | | | | | | | | Otherwise it's not possible to verify eg OpenSSL's DSA signatures See GH #1409
* | Make stream, block, hash and cipher mode base classes optionalJack Lloyd2018-01-122-6/+44
| |
* | Remove dependency: base depends on macSimon Warta2018-01-112-2/+12
| |
* | In asn1print, if input file ends in .pem assume --pem flagJack Lloyd2018-01-101-1/+1
| |
* | Test OS features by the feature vs the OS nameJack Lloyd2017-12-303-4/+4
|/
* Remove BOTAN_FORCE_SEMICOLON macroJack Lloyd2017-12-301-4/+3
| | | | | | Only needed in two headers (cli.h and test.h) not in the main library. Just change those two uses to not use anonymous namespaces.
* Convert TLS server to new style TLS interface (GH #1350)Jack Lloyd2017-12-231-78/+71
|
* Add wrapper functions to clean up cli code using socketsJack Lloyd2017-12-233-98/+88
|
* Avoid uninitialized field warningsJack Lloyd2017-12-231-1/+2
|
* Enable signing X509 structures with rsa-pssFabian Weissberg2017-12-221-4/+7
|
* Correct JSON output (trailing comma) and add byte-per-second valueJack Lloyd2017-12-181-3/+10
|
* Expose timeouts on the freestanding OCSP request utilsJack Lloyd2017-12-171-2/+3
|
* Expose timeouts to the HTTP APIJack Lloyd2017-12-171-2/+6
|
* Add ability to fingerprint public keysJack Lloyd2017-12-141-0/+20
|
* Avoid a shadow warning under old Clang [ci skip]Jack Lloyd2017-12-111-2/+2
| | | | Bogus warning but whatever.
* Add a new version function returning just the version without extrasJack Lloyd2017-12-061-3/+1
|
* Merge GH #1302 Add PSK database interfaceJack Lloyd2017-11-261-0/+86
|\
| * PSK DatabaseJack Lloyd2017-11-261-0/+86
| |
* | Add tls_http_server cmd utilJack Lloyd2017-11-261-0/+543
|/ | | | | It parses just enough of an HTTP message that it can be used to test against a browser, or tlsfuzzer.
* Allow building asn1print even if PEM is disabledJack Lloyd2017-11-212-2/+12
| | | | Just throws if --pem arg is used.
* Add timings for RFC 3394 keywrapJack Lloyd2017-11-181-0/+40
|
* Move ASN1 printer to the libraryJack Lloyd2017-11-151-382/+3
|
* Encapsulate ASN1 printer logic in a classJack Lloyd2017-11-151-133/+163
|
* Merge GH #884 Refactor X.509 cert/CRL internalsJack Lloyd2017-11-151-7/+1
|\
| * Consolidate function for testing for ASN.1 string typesJack Lloyd2017-11-141-7/+1
| |