aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
* 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
|
* Support 1024-bit inputs in poly_double functionJack Lloyd2018-03-062-14/+36
| | | | GH #1477
* Rename threefish module to threefish_512Jack Lloyd2018-03-0612-14/+33
| | | | GH #1477
* Correctly read the POWER cycle counterJack Lloyd2018-03-061-8/+11
| | | | | | | The upper register can overflow so we need to re-read the upper register to ensure we we not on a boundary. GH #1460
* Extend speed to support ratio of CPU clocksJack Lloyd2018-03-061-146/+173
| | | | | | | This is to handle machines (like POWER8) where the CPU clock cycles increment at a slower rate than the actual machine clocks. GH #1460
* Handle cert.subject_info("Email")Jack Lloyd2018-03-061-0/+3
| | | | GH #1446
* Ensure exception types are exported from DLLJack Lloyd2018-03-065-6/+6
| | | | GH #983
* Replace BigInt::random_integer test with a Chi-square testJack Lloyd2018-03-062-41/+62
| | | | GH #1476
* Include AKID in generated self signed certificatesJack Lloyd2018-03-062-4/+12
| | | | GH #1007
* Avoid std::bind in Channel::received_dataJack Lloyd2018-03-051-2/+1
| | | | | | Lambda works just as well here. GH #493
* Add X509_Certificate::subject_public_key_infoJack Lloyd2018-03-052-3/+16
| | | | Fixes #277
* Fix ASN1 printer testJack Lloyd2018-03-052-3/+3
|
* Allow decoding ASN.1 OID 0.0Jack Lloyd2018-03-055-2/+194
| | | | | | | | I had no idea this was a valid OID but apparently it is. And for some who-knows-why reason FreeTSA certificate includes it in their certificate policy extension. GH #355
* Support decoding of ECC groups with seed parameterJack Lloyd2018-03-043-0/+29
| | | | Closes GH #874
* Enable SHA-1 intrinsics on MSVCJack Lloyd2018-03-041-0/+1
| | | | GH #939
* Use Barrett instead of repeated divisions by p hereJack Lloyd2018-03-041-3/+6
| | | | Doesn't matter much since its a one time setup cost but can't hurt.
* Add speed comparison of Barrett vs % operatorJack Lloyd2018-03-041-0/+32
|
* Reduce temp usage in PointGFp addition and doublingJack Lloyd2018-03-044-104/+95
| | | | No noticable change in performance
* In ECC bench test brainpool tooJack Lloyd2018-03-041-1/+3
| | | | Allows comparing Solinas reduction vs Montgomery
* Merge GH #1470 Use soft fail for OCSPJack Lloyd2018-03-048-21/+132
|\
| * Document OCSP softfail/hardfail check behaviour.souch2018-03-021-0/+3
| |
| * OCSP softfail revocation checkMathieu Souchaud2018-03-017-21/+129
| |
* | Rename build_tests.py to make it more obvious this is not for end usersJack Lloyd2018-03-041-0/+0
| | | | | | | | GH #1456
* | Fix timing_test namesJack Lloyd2018-03-042-10/+10
| | | | | | | | Closes #1465
* | Simplify indexing in this loopJack Lloyd2018-03-041-5/+5
| |