aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Some additional operations on Montgomery_IntJack Lloyd2018-03-142-0/+45
| | | | Needed for #1432
* Update newsJack Lloyd2018-03-141-0/+5
|
* Merge GH #1492 Support custom DN entriesJack Lloyd2018-03-144-71/+143
|\
| * Address review commentsJack Lloyd2018-03-141-2/+2
| |
| * Support custom DN entriesJack Lloyd2018-03-144-71/+143
| | | | | | | | GH #1490
* | Merge GH #1491 Allow choosing serial of newly minted certificateJack Lloyd2018-03-143-13/+102
|\ \
| * | Allow the caller to specify the serial number of a generated certJack Lloyd2018-03-143-13/+102
| |/ | | | | | | GH #1489
* / Revert cf0386Jack Lloyd2018-03-141-2/+4
|/ | | | | No optimization builds don't work either because they hit the exec timeout. Try just carrying on even if lcov exits with error status.
* Disable optimizations with coverage buildsJack Lloyd2018-03-141-1/+1
| | | | Seems to be causing problems with lcov
* Add a facility for debug-mode assertionsJack Lloyd2018-03-147-11/+38
| | | | | When we want to check something but it is to expensive to do so in normal builds.
* Assume CurveGFp inputs are at most p words longJack Lloyd2018-03-141-13/+27
| | | | Lets us avoid calling sig_words much of the time. Improves ECDSA 5-7%
* Avoid creating a temp hereJack Lloyd2018-03-141-4/+4
|
* Improve memory handling for PointGFpJack Lloyd2018-03-148-69/+86
|
* Allow passing workspace to Montgomery_IntJack Lloyd2018-03-133-34/+140
| | | | | | | Improves DH and RSA by 5-15% depending on param sizes. At larger sizes (3072+) doesn't make much difference since the cost of allocation is relatively small compared to the work.
* Tweaks to force_all_affineJack Lloyd2018-03-121-7/+5
|
* Further cli testsJack Lloyd2018-03-111-3/+37
|
* Remove bogus commentJack Lloyd2018-03-111-3/+0
| | | | GH #500
* Fix missing comma - unintended string contatentationJack Lloyd2018-03-111-1/+1
|
* Lint fixesJack Lloyd2018-03-101-1/+2
|
* More CLI testsJack Lloyd2018-03-101-2/+88
|
* FPE doc updates [ci skip]Jack Lloyd2018-03-101-2/+7
|
* Merge GH #1485 Add new cli test scriptJack Lloyd2018-03-103-6/+264
|\
| * Lint fixes [ci skip]Jack Lloyd2018-03-101-2/+5
| |
| * Add new CLI test scriptJack Lloyd2018-03-103-6/+261
| |
* | Fix error in FPE_FE1Jack Lloyd2018-03-105-26/+71
|/ | | | | | | | | An implementation mistake led to choosing a >= b when the original paper assumes a <= b. Add a boolean to control which version is used. Increase the default FE1 rounds to 5 for a safety factor. GH #500
* Merge GH #1484 Split Python tests into a different fileJack Lloyd2018-03-104-261/+277
|\
| * Make lint happy [ci skip]Jack Lloyd2018-03-101-2/+2
| |
| * Split Python tests out of botan2.pyJack Lloyd2018-03-104-261/+277
|/ | | | No reason to ship these to the end user
* Minor tweaks for coverageJack Lloyd2018-03-103-6/+11
|
* Reduce exponent size hereJack Lloyd2018-03-101-1/+1
| | | | Triggers for RSA exponents which improves RSA verify time by ~10%
* Readme tweaksJack Lloyd2018-03-101-2/+2
|
* Update newsJack Lloyd2018-03-101-1/+1
|
* Merge GH #1483 Use uncompressed points for ECC by defaultJack Lloyd2018-03-1017-76/+166
|\
| * Add a test of ECC encoding optionsJack Lloyd2018-03-101-0/+47
| |
| * Rename point_format to point_encodingJack Lloyd2018-03-102-2/+2
| | | | | | | | Matches setter
| * Update newsJack Lloyd2018-03-101-0/+5
| |
| * Add PointGFp::encode as replacement for EC2OSPJack Lloyd2018-03-1014-74/+87
| | | | | | | | | | | | Literally every single call to EC2OSP is converting the returned secure_vector to a std::vector. Which makes sense since private points are not really a thing in any protocol I know of.
| * Default to encoding ECC public keys as uncompressed. GH #1480Jack Lloyd2018-03-102-1/+26
| |
| * Lookup EC curves via name instead of OIDJack Lloyd2018-03-101-3/+3
| |
* | Add some helper functions for checking for Comba sizesJack Lloyd2018-03-101-15/+27
| |
* | Revert "Use move to avoid needless some needless copies"Jack Lloyd2018-03-101-16/+16
| | | | | | | | | | | | | | | | This reverts commit 5185c2aaa8bf9556556e4507869042a71eaba6c0. Clang says warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
* | Avoid warning in threefish.hJack Lloyd2018-03-101-6/+0
|/ | | | Causes a warning in amalgamation which is bad news
* Add missing overrides [ci skip]Jack Lloyd2018-03-101-2/+2
|
* Fix header for getentropy on macOSJack Lloyd2018-03-092-1/+7
| | | | Re #1481
* Don't default to PSS signaturesJack Lloyd2018-03-091-4/+17
| | | | | | Breaks with anything but RSA keys GH #1480
* Fix cpu clock ratio [ci skip]Jack Lloyd2018-03-091-0/+2
|
* Split out the memory pool logicJack Lloyd2018-03-096-161/+282
| | | | | | Making a clear seperation between the OS specific code to get the pool, the singleton mlock allocator, and the general allocator logic.
* Add OS::system_page_sizeJack Lloyd2018-03-092-4/+25
|
* Use move to avoid needless some needless copiesJack Lloyd2018-03-091-16/+16
|
* Cleanup commentsJack Lloyd2018-03-091-10/+7
|