aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine
Commit message (Collapse)AuthorAgeFilesLines
* Library_State had two functions that did the same thing,lloyd2008-11-121-1/+1
| | | | | | | | | | | | | | | algo_factory and algorithm_factory. This is confusing so for consistency/simplicity, remove algo_factory, making algorithm_factory the function to call. In 1.7.14, several functions in lookup.h, including retrieve_block_cipher, retrieve_hash, etc were changed to accept a Library_State& reference. However it turns out with the modified design I've settled upon for 1.8 that it is not necessary to change those interfaces; instead they always refer to the global_state algorithm factory which is exactly the semantics one would expect/desire 99% of the time (and is source compatible with code written for 1.6, also a plus)
* Remove support for provider identifiers from SCAN_Name - it turns out thislloyd2008-11-121-1/+1
| | | | | | | | | | | | was not the right place to keep track of this information. Also modify all Algorithm_Factory constructor functions to take instead of a SCAN_Name a pair of std::strings - the SCAN name and an optional provider name. If a provider is specified, either that provider will be used or the request will fail. Otherwise, the library will attempt best effort, based on user-set algorithm implementation settings (combine with benchmark.h for choosing the fastest implementation at runtime) or if not set, a static ordering (preset in static_provider_weight in prov_weight.cpp, though it would be nice to make this easier to toggle).
* Remove pk_lookup - half of it (look_pk.{cpp,h}) depended on libstate directly,lloyd2008-11-111-2/+1
| | | | | the other half was relied upon by pubkey. Move the contents into those two modules. Update deps.
* Move most of the remaining libstate code to pk_engine.cpp, move engineslloyd2008-11-1144-0/+3365
| | | | | back to the toplevel since most othe dependencies have been removed now (except get_cipher which still needs changes)
* Move engine to libstate/ directory, since there is a mutual dependencylloyd2008-11-0936-3691/+0
| | | | | | (messy). Remove unused libstate.h includes from a few files.
* Inline no-op Engine virtual functionslloyd2008-11-092-63/+18
|
* Move some lookup related code from src/engine to src/libstate/lookup.cpplloyd2008-11-093-507/+243
|
* Rename SymmetricAlgorithm::key to key_schedule to avoid many namelloyd2008-11-092-4/+4
| | | | conflicts/collisions
* Simplify implementation of Default_Engine::get_cipher somewhatlloyd2008-11-081-94/+92
|
* Remove lookup from parallel hash constructionlloyd2008-11-081-2/+7
|
* Remove lookup.h use from EAXlloyd2008-11-081-2/+2
|
* Remove lookup.h from CTS modelloyd2008-11-081-2/+2
|
* Remove lookup.h use from ECB, CBC, CFBlloyd2008-11-081-6/+11
|
* Remove use of lookup.h from OFBlloyd2008-11-081-1/+1
|
* Remove use of lookup.h in CTR modelloyd2008-11-081-1/+1
|
* Remove needless include of mutex.hlloyd2008-11-081-1/+0
|
* Rename eng_def.h to def_eng.hlloyd2008-11-089-8/+8
|
* Add virtual hook to remove dep of Default_Engine on Engine itselflloyd2008-11-083-16/+14
|
* Remove dependency on Default_Engine from pubkey codelloyd2008-11-082-0/+120
|
* Invoke HMAC constructor directly for PBKDF2 since it is hardcoded anywaylloyd2008-11-081-1/+2
|
* Add def_engine info.txtlloyd2008-11-081-0/+15
|
* Add missing engine info.txtlloyd2008-11-081-0/+11
|
* Move most of the Default_Engine code into engine/def_engine, and thelloyd2008-11-0810-0/+1886
| | | | engine base classes into src/engine
* Add BOTAN_DLL macro to public class definitions that were missing it.lloyd2008-10-094-5/+5
|
* Split up GNU MP analagously with the OpenSSL change. GNU MP module canlloyd2008-10-089-389/+476
| | | | now be built with any or all public key algorithms disabled.
* Split OpenSSL public key implementations into algorithm specific files,lloyd2008-10-088-388/+496
| | | | | which allows it to be used while still disabling some (or all) public key algorithms.
* Split kdf.h and kdf.cpp from core/ to kdf/kdf_baselloyd2008-10-082-4/+4
| | | | Update dependencies as needed.
* Add dependencies on the public key implementations in the engines code,lloyd2008-10-022-0/+18
| | | | | since they assume all algos are available (need to be split up eventually, so one can use OpenSSL module in a RSA-only or DSA-only Botan)
* Rename all modinfo.txt files to info.txt, since they are all (none) oflloyd2008-09-292-0/+0
| | | | | them modules now. In any case there is no distinction so info.txt seems better.
* Move all modules into src/ directorylloyd2008-09-2816-0/+1749