aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/algo_base
Commit message (Collapse)AuthorAgeFilesLines
* Use registry also for KDF, EMSA, and EMElloyd2015-01-312-2/+38
|
* Use registry for streams and MACs. Start updating callers.lloyd2015-01-311-2/+2
|
* Use Algo_Registry also for hashes.lloyd2015-01-281-0/+10
|
* Add a runtime map of string->func() which when called returnlloyd2015-01-285-16/+201
| | | | | | | | | | | | | | | | | Transforms and BlockCiphers. Registration for all types is done at startup but is very cheap as just a std::function and a std::map entry are created, no actual objects are created until needed. This is a huge improvement over Algorithm_Factory which used T::clone() as the function and thus kept a prototype object of each type in memory. Replace existing lookup mechanisms for ciphers, AEADs, and compression to use the transform lookup. The existing Engine framework remains in place for BlockCipher, but the engines now just call to the registry instead of having hardcoded lookups. s/Transformation/Transform/ with typedefs for compatability. Remove lib/selftest code (for runtime selftesting): not the right approach.
* Ensure all files have copyright and license info.lloyd2015-01-108-8/+8
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Avoid referencing &vec[vec.size()] as this triggers iterator debugginglloyd2015-01-071-1/+1
| | | | asserts in MSVC 2013. Github pull 36 from Simon Warta.
* Remove unused includeslloyd2014-11-182-2/+0
|
* Replace Transformatio::nstart with start_raw so we can do a full setlloyd2014-11-051-1/+25
| | | | of overloads in the base class with the same name.
* Visual C++'s iterator debugging gets cranky with &vec[vec.size()].lloyd2014-05-151-1/+1
| | | | Github #21
* Rename the various pubkey padding schemes to match the common names.lloyd2014-01-181-5/+12
| | | | Way back when, following IEEE 1363 naming seemed like a good idea. But not so much.
* Split off the keyed interfaces of transform to Keyed_Transformlloyd2014-01-183-61/+71
| | | | | Remove the unhelpful 'Algorithm' base class which had previously acted more or less as a global base.
* Website tweaks. Rename TLS suite script options.lloyd2014-01-111-0/+1
|
* Move lib into srclloyd2014-01-1010-0/+1117