aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/base/lookup.h
Commit message (Collapse)AuthorAgeFilesLines
* Officially deprecate headersJack Lloyd2019-06-071-0/+2
| | | | | | | | | | Create BOTAN_DEPRECATED_HEADER so we can warn about this consistently. Shuffle around the filter headers so all of the concrete filters are defined in filters.h instead of being spread across many headers. Document which headers are deprecated as well as a list of headers which will be made internal-only in a future major release.
* Make stream, block, hash and cipher mode base classes optionalJack Lloyd2018-01-121-3/+24
|
* Wrap use of MAC in BOTAN_HAS_MAC in lookup.hSimon Warta2018-01-111-1/+7
|
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-2/+2
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Fix bogus codeJack Lloyd2016-11-031-2/+2
| | | | | Not caught by anything because nothing includes lookup.h except for the amalgamation build which sucks up everything.
* Simplify some code by using T::create_or_throwJack Lloyd2016-11-031-20/+8
|
* Fix doxygen warnings [ci skip]René Korthaus2016-10-191-0/+4
|
* Deprecate lookup.h functions GH #366Jack Lloyd2015-12-191-1/+19
|
* Handle dependencies re static linking. GH #279Jack Lloyd2015-09-171-35/+73
| | | | | | | | | | | | | | Previously we were hanging on the type destructors to pull in the relevant objects. However that fails in many simple cases where the object is never deleted. For every type involved in the algo registry add static create and providers functions to access the algo registry. Modify lookup.h to be inline and call those functions, and move a few to sub-headers (eg, get_pbkdf going to pbkdf.h). So accessing the registry involves going through the same file that handles the initialization, so there is no way to end up with missing objs.
* Hide Algorithm_Factory and use the functions in lookup.h internally.lloyd2015-03-041-7/+27
| | | | | | 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
* Remove algo factory, engines, global RNG, global state, etc.lloyd2015-02-041-0/+82
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).