aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block
Commit message (Collapse)AuthorAgeFilesLines
* Remove the x86 asm versions of MD4, MD5, SHA-1 and SerpentJack Lloyd2015-07-254-802/+0
| | | | | | | With modern compilers, all are slower than the C++ and SSE2 versions of the same algos. GH #216
* Silence some extra ';' warningsSimon Warta2015-07-221-2/+3
|
* Fix module combi: adler32,threefish_avx2Simon Warta2015-07-081-0/+4
|
* Fix compilation by Clang with _LIBCPP_DEBUGLSK2015-07-081-4/+4
|
* More changes for use with debug STLSimon Warta2015-06-301-1/+1
|
* lib/block: Convert &vec[0] to vec.data()Simon Warta2015-06-2713-59/+59
|
* Hide Algorithm_Factory and use the functions in lookup.h internally.lloyd2015-03-042-5/+4
| | | | | | 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
* Clean up root dir, remove some unneeded dependencieslloyd2015-02-051-5/+0
|
* Enable OpenSSL for providing ciphers and hashes again.lloyd2015-02-051-0/+1
|
* Remove algo factory, engines, global RNG, global state, etc.lloyd2015-02-0414-31/+16
| | | | | | | | | | | | | | | 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/+36
|
* Use registry for streams and MACs. Start updating callers.lloyd2015-01-311-6/+4
|
* Use Algo_Registry also for hashes.lloyd2015-01-283-8/+5
|
* Add a runtime map of string->func() which when called returnlloyd2015-01-2838-68/+175
| | | | | | | | | | | | | | | | | 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-1075-75/+75
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Fix various warnings from VC++ 2014 and add missing includelloyd2014-10-311-1/+1
|
* Remove Square, Skipjack, Luby-Rackoff, and Blue Midnight Wish.lloyd2014-02-0810-1147/+0
|
* Have Skein call Threefish, rather than duplicating the code.lloyd2014-02-082-8/+60
|
* Guess I won't be needing theselloyd2014-01-183-3/+0
|
* Use unique_ptr instead of bare pointers and explicit delete in block, mac, hash.lloyd2014-01-186-145/+133
| | | | m_ namespaced everything while I'm in there. Changed CMAC poly_double signature.
* Move lib into srclloyd2014-01-10117-0/+14485