Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Some additional operations on Montgomery_Int | Jack Lloyd | 2018-03-14 | 2 | -0/+45 |
| | | | | Needed for #1432 | ||||
* | Update news | Jack Lloyd | 2018-03-14 | 1 | -0/+5 |
| | |||||
* | Merge GH #1492 Support custom DN entries | Jack Lloyd | 2018-03-14 | 4 | -71/+143 |
|\ | |||||
| * | Address review comments | Jack Lloyd | 2018-03-14 | 1 | -2/+2 |
| | | |||||
| * | Support custom DN entries | Jack Lloyd | 2018-03-14 | 4 | -71/+143 |
| | | | | | | | | GH #1490 | ||||
* | | Merge GH #1491 Allow choosing serial of newly minted certificate | Jack Lloyd | 2018-03-14 | 3 | -13/+102 |
|\ \ | |||||
| * | | Allow the caller to specify the serial number of a generated cert | Jack Lloyd | 2018-03-14 | 3 | -13/+102 |
| |/ | | | | | | | GH #1489 | ||||
* / | Revert cf0386 | Jack Lloyd | 2018-03-14 | 1 | -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 builds | Jack Lloyd | 2018-03-14 | 1 | -1/+1 |
| | | | | Seems to be causing problems with lcov | ||||
* | Add a facility for debug-mode assertions | Jack Lloyd | 2018-03-14 | 7 | -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 long | Jack Lloyd | 2018-03-14 | 1 | -13/+27 |
| | | | | Lets us avoid calling sig_words much of the time. Improves ECDSA 5-7% | ||||
* | Avoid creating a temp here | Jack Lloyd | 2018-03-14 | 1 | -4/+4 |
| | |||||
* | Improve memory handling for PointGFp | Jack Lloyd | 2018-03-14 | 8 | -69/+86 |
| | |||||
* | Allow passing workspace to Montgomery_Int | Jack Lloyd | 2018-03-13 | 3 | -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_affine | Jack Lloyd | 2018-03-12 | 1 | -7/+5 |
| | |||||
* | Further cli tests | Jack Lloyd | 2018-03-11 | 1 | -3/+37 |
| | |||||
* | Remove bogus comment | Jack Lloyd | 2018-03-11 | 1 | -3/+0 |
| | | | | GH #500 | ||||
* | Fix missing comma - unintended string contatentation | Jack Lloyd | 2018-03-11 | 1 | -1/+1 |
| | |||||
* | Lint fixes | Jack Lloyd | 2018-03-10 | 1 | -1/+2 |
| | |||||
* | More CLI tests | Jack Lloyd | 2018-03-10 | 1 | -2/+88 |
| | |||||
* | FPE doc updates [ci skip] | Jack Lloyd | 2018-03-10 | 1 | -2/+7 |
| | |||||
* | Merge GH #1485 Add new cli test script | Jack Lloyd | 2018-03-10 | 3 | -6/+264 |
|\ | |||||
| * | Lint fixes [ci skip] | Jack Lloyd | 2018-03-10 | 1 | -2/+5 |
| | | |||||
| * | Add new CLI test script | Jack Lloyd | 2018-03-10 | 3 | -6/+261 |
| | | |||||
* | | Fix error in FPE_FE1 | Jack Lloyd | 2018-03-10 | 5 | -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 file | Jack Lloyd | 2018-03-10 | 4 | -261/+277 |
|\ | |||||
| * | Make lint happy [ci skip] | Jack Lloyd | 2018-03-10 | 1 | -2/+2 |
| | | |||||
| * | Split Python tests out of botan2.py | Jack Lloyd | 2018-03-10 | 4 | -261/+277 |
|/ | | | | No reason to ship these to the end user | ||||
* | Minor tweaks for coverage | Jack Lloyd | 2018-03-10 | 3 | -6/+11 |
| | |||||
* | Reduce exponent size here | Jack Lloyd | 2018-03-10 | 1 | -1/+1 |
| | | | | Triggers for RSA exponents which improves RSA verify time by ~10% | ||||
* | Readme tweaks | Jack Lloyd | 2018-03-10 | 1 | -2/+2 |
| | |||||
* | Update news | Jack Lloyd | 2018-03-10 | 1 | -1/+1 |
| | |||||
* | Merge GH #1483 Use uncompressed points for ECC by default | Jack Lloyd | 2018-03-10 | 17 | -76/+166 |
|\ | |||||
| * | Add a test of ECC encoding options | Jack Lloyd | 2018-03-10 | 1 | -0/+47 |
| | | |||||
| * | Rename point_format to point_encoding | Jack Lloyd | 2018-03-10 | 2 | -2/+2 |
| | | | | | | | | Matches setter | ||||
| * | Update news | Jack Lloyd | 2018-03-10 | 1 | -0/+5 |
| | | |||||
| * | Add PointGFp::encode as replacement for EC2OSP | Jack Lloyd | 2018-03-10 | 14 | -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 #1480 | Jack Lloyd | 2018-03-10 | 2 | -1/+26 |
| | | |||||
| * | Lookup EC curves via name instead of OID | Jack Lloyd | 2018-03-10 | 1 | -3/+3 |
| | | |||||
* | | Add some helper functions for checking for Comba sizes | Jack Lloyd | 2018-03-10 | 1 | -15/+27 |
| | | |||||
* | | Revert "Use move to avoid needless some needless copies" | Jack Lloyd | 2018-03-10 | 1 | -16/+16 |
| | | | | | | | | | | | | | | | | This reverts commit 5185c2aaa8bf9556556e4507869042a71eaba6c0. Clang says warning: moving a temporary object prevents copy elision [-Wpessimizing-move] | ||||
* | | Avoid warning in threefish.h | Jack Lloyd | 2018-03-10 | 1 | -6/+0 |
|/ | | | | Causes a warning in amalgamation which is bad news | ||||
* | Add missing overrides [ci skip] | Jack Lloyd | 2018-03-10 | 1 | -2/+2 |
| | |||||
* | Fix header for getentropy on macOS | Jack Lloyd | 2018-03-09 | 2 | -1/+7 |
| | | | | Re #1481 | ||||
* | Don't default to PSS signatures | Jack Lloyd | 2018-03-09 | 1 | -4/+17 |
| | | | | | | Breaks with anything but RSA keys GH #1480 | ||||
* | Fix cpu clock ratio [ci skip] | Jack Lloyd | 2018-03-09 | 1 | -0/+2 |
| | |||||
* | Split out the memory pool logic | Jack Lloyd | 2018-03-09 | 6 | -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_size | Jack Lloyd | 2018-03-09 | 2 | -4/+25 |
| | |||||
* | Use move to avoid needless some needless copies | Jack Lloyd | 2018-03-09 | 1 | -16/+16 |
| | |||||
* | Cleanup comments | Jack Lloyd | 2018-03-09 | 1 | -10/+7 |
| |