aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/workfactor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add explicit static_cast operations to eliminate implicit cast compiler ↵Dan Brown2016-04-271-1/+1
| | | | warnings.
* Add more workfactor estimate helpers.Jack Lloyd2015-11-291-27/+29
| | | | | | | | | | Specifically a named one for integer factorization (despite using same formula as DL calc) which incorporates the k value from RFC 3766. Also adds dl_exponent_size which returns the exponent size, this one ignores k thus using a ~10 bit larger exponent than strictly necessary. Adding in k downgrades 1024 bit RSA to exactly 80 bits, which is probably about right.
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Implement a strength estimator for McEliece keys based on HyMES versionlloyd2014-12-091-5/+0
|
* Move all PK workfactor esstimators to workfactors.*lloyd2014-11-291-0/+10
|
* Move lib into srclloyd2014-01-101-0/+50