Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Use blinded_base_point_multiply_x in the various signature schemes | Jack Lloyd | 2018-03-08 | 5 | -14/+17 |
| | |||||
* | Add benchmark for GOST-34.10 signatures | Jack Lloyd | 2018-03-08 | 1 | -0/+14 |
| | |||||
* | Remove Coverity badge for now | Jack Lloyd | 2018-03-08 | 1 | -4/+0 |
| | | | | | It's been down for 2 weeks already with no sign of return. Will add it back when they get sorted. | ||||
* | Small fiddly optimizations in locking_allocator | Jack Lloyd | 2018-03-08 | 1 | -5/+6 |
| | |||||
* | Avoid creating too-large values during ECDSA signing | Jack Lloyd | 2018-03-08 | 1 | -3/+5 |
| | | | | | It would cause the Barrett reduction to fallback to schoolbook division. Small but noticable speedup (2-3%) | ||||
* | Add blinded_base_point_multiply_x | Jack Lloyd | 2018-03-08 | 2 | -0/+20 |
| | | | | Often useful when the point is not needed | ||||
* | Mul into temps to avoid allocations | Jack Lloyd | 2018-03-08 | 1 | -7/+8 |
| | |||||
* | Add PointGFp::force_all_affine using Montgomery's trick | Jack Lloyd | 2018-03-08 | 3 | -9/+68 |
| | | | | Also be somewhat smarter in force_affine avoids several muls | ||||
* | Require explicit calls to add_affine | Jack Lloyd | 2018-03-08 | 2 | -5/+2 |
| | | | | Skipping the checks saves 3-7% for ECDSA | ||||
* | Update news | Jack Lloyd | 2018-03-08 | 1 | -3/+3 |
| | |||||
* | Merge GH #1478 Add mixed (J+A) point addition, faster scalar mults | Jack Lloyd | 2018-03-08 | 16 | -173/+466 |
|\ | |||||
| * | Add destructor for unique_ptr | Jack Lloyd | 2018-03-08 | 2 | -0/+7 |
| | | |||||
| * | Add mixed (J+A) point addition, new scalar mul for base points | Jack Lloyd | 2018-03-08 | 16 | -174/+460 |
| | | | | | | | | | | | | | | | | | | Adds PointGFp::force_affine(), ::add_affine(), and ::is_affine() Use a (very simple) technique for base point precomputations. Stick with fixed window for variable point inputs. Scalar blinding is now always enabled | ||||
* | | Add a way of specifying CPU clock speed for output purposes | Jack Lloyd | 2018-03-08 | 1 | -5/+22 |
| | | |||||
* | | Add estimate of cycle counter rate to speed output | Jack Lloyd | 2018-03-08 | 1 | -3/+19 |
|/ | |||||
* | Fix test if OpenSSL provider enabled. | Jack Lloyd | 2018-03-06 | 1 | -1/+1 |
| | | | | | OpenSSL hash object just reflects the arg vs Botan object which calls it SHA-160. Avoid the confusion by using SHA-256 instead. | ||||
* | Slight improvements in filter test coverage | Jack Lloyd | 2018-03-06 | 2 | -10/+26 |
| | |||||
* | Add test that invalid hash function param strings cause errors | Jack Lloyd | 2018-03-06 | 1 | -1/+54 |
| | |||||
* | Add longer tests for SHA-224 and SHA-512-256 | Jack Lloyd | 2018-03-06 | 2 | -0/+7 |
| | |||||
* | Add longer test vector of Parallel hash | Jack Lloyd | 2018-03-06 | 1 | -0/+2 |
| | |||||
* | Increase sample count in random_integer Chi-square test | Jack Lloyd | 2018-03-06 | 1 | -1/+1 |
| |