aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash
Commit message (Collapse)AuthorAgeFilesLines
* In Algo_Registry if a maker func fails, try the next most preferred onelloyd2015-03-051-1/+1
| | | | | | | | instead of bailing out immediately. Rename the 'builtin' provider to 'base' since really they are all built in. Fix MARK-4 when OpenSSL was enabled - it did not respect the skip param.
* Hide Algorithm_Factory and use the functions in lookup.h internally.lloyd2015-03-042-8/+3
| | | | | | Fix two memory leaks (in TLS and modes) caused by calling get_foo and then cloning the result before saving it (leaking the original object), a holdover from the conversion between construction techniques in 1.11.14
* Correct includeslloyd2015-02-112-2/+2
|
* Clean up root dir, remove some unneeded dependencieslloyd2015-02-059-0/+406
|
* Remove algo factory, engines, global RNG, global state, etc.lloyd2015-02-046-13/+7
| | | | | | | | | | | | | | | Convert all uses of Algorithm_Factory and the engines to using Algo_Registry The shared pool of entropy sources remains but is moved to EntropySource. With that and few remaining initializations (default OIDs and aliases) moved elsewhere, the global state is empty and init and shutdown are no-ops. Remove almost all of the headers and code for handling the global state, except LibraryInitializer which remains as a compatability stub. Update seeding for blinding so only one hacky almost-global RNG instance needs to be setup instead of across all pubkey uses (it uses either the system RNG or an AutoSeeded_RNG if the system RNG is not available).
* Add missing files. Remove cipher lookup from engine code.lloyd2015-02-011-0/+33
|
* Use Algo_Registry also for hashes.lloyd2015-01-2826-67/+143
|
* Ensure all files have copyright and license info.lloyd2015-01-1051-51/+51
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Add SHA-512/256lloyd2015-01-0812-74/+84
| | | | | Define some new functions for copying out arrays of words and use them across hashes.
* Remove Square, Skipjack, Luby-Rackoff, and Blue Midnight Wish.lloyd2014-02-083-247/+0
|
* Have Skein call Threefish, rather than duplicating the code.lloyd2014-02-083-176/+89
|
* Guess I won't be needing theselloyd2014-01-181-1/+0
|
* Use unique_ptr instead of bare pointers and explicit delete in block, mac, hash.lloyd2014-01-182-37/+32
| | | | m_ namespaced everything while I'm in there. Changed CMAC poly_double signature.
* Fix Skein_512::clearlloyd2014-01-181-2/+2
|
* Split off the keyed interfaces of transform to Keyed_Transformlloyd2014-01-182-3/+5
| | | | | Remove the unhelpful 'Algorithm' base class which had previously acted more or less as a global base.
* Move lib into srclloyd2014-01-1077-0/+6481