aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Use blinded_base_point_multiply_x in the various signature schemesJack Lloyd2018-03-085-14/+17
|
* Add benchmark for GOST-34.10 signaturesJack Lloyd2018-03-081-0/+14
|
* Remove Coverity badge for nowJack Lloyd2018-03-081-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_allocatorJack Lloyd2018-03-081-5/+6
|
* Avoid creating too-large values during ECDSA signingJack Lloyd2018-03-081-3/+5
| | | | | It would cause the Barrett reduction to fallback to schoolbook division. Small but noticable speedup (2-3%)
* Add blinded_base_point_multiply_xJack Lloyd2018-03-082-0/+20
| | | | Often useful when the point is not needed
* Mul into temps to avoid allocationsJack Lloyd2018-03-081-7/+8
|
* Add PointGFp::force_all_affine using Montgomery's trickJack Lloyd2018-03-083-9/+68
| | | | Also be somewhat smarter in force_affine avoids several muls
* Require explicit calls to add_affineJack Lloyd2018-03-082-5/+2
| | | | Skipping the checks saves 3-7% for ECDSA
* Update newsJack Lloyd2018-03-081-3/+3
|
* Merge GH #1478 Add mixed (J+A) point addition, faster scalar multsJack Lloyd2018-03-0816-173/+466
|\
| * Add destructor for unique_ptrJack Lloyd2018-03-082-0/+7
| |
| * Add mixed (J+A) point addition, new scalar mul for base pointsJack Lloyd2018-03-0816-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 purposesJack Lloyd2018-03-081-5/+22
| |
* | Add estimate of cycle counter rate to speed outputJack Lloyd2018-03-081-3/+19
|/
* Fix test if OpenSSL provider enabled.Jack Lloyd2018-03-061-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 coverageJack Lloyd2018-03-062-10/+26
|
* Add test that invalid hash function param strings cause errorsJack Lloyd2018-03-061-1/+54
|
* Add longer tests for SHA-224 and SHA-512-256Jack Lloyd2018-03-062-0/+7
|
* Add longer test vector of Parallel hashJack Lloyd2018-03-061-0/+2
|
* Increase sample count in random_integer Chi-square testJack Lloyd2018-03-061-1/+1
|