aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/def_engine
Commit message (Collapse)AuthorAgeFilesLines
* Kill ECKAEG_Oplloyd2010-03-022-22/+0
|
* Remove ECDSA_Op and its attendant bitslloyd2010-03-022-22/+0
|
* Add block cipher cascadelloyd2010-01-111-0/+15
|
* Add missing BOTAN_DLL exports.lloyd2009-12-169-12/+12
| | | | Move most of the engine headers to internal
* Full working amalgamation build, plus internal-only headers concept.lloyd2009-12-161-4/+5
|
* Remove the 'realname' attribute on all modules and cc/cpu/os info files.lloyd2009-10-291-2/+0
| | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that.
* Similiar treatment for OFB which is also just a plain stream cipherlloyd2009-10-141-1/+1
|
* Convert CTR_BE from a Filter to a StreamCipher. Must wrap in a ↵lloyd2009-10-141-3/+3
| | | | | | StreamCipher_Filter to pass it directly to a Pipe now.
* Refactor Default_Engine::get_cipher so bits can be called from selftestlloyd2009-10-062-84/+104
|
* Add an implementation of Blue Midnight Wish (512 bit version only)lloyd2009-09-151-0/+9
|
* Move some files around to break up dependencies between directorieslloyd2009-07-161-0/+1
|
* Add a script that reads the output of print_deps.py and rewriteslloyd2009-07-151-0/+7
| | | | | | the info.txt files with the right module dependencies. Apply it across the codebase.
* Small cleanups in the Skein-512 source, and add support for thelloyd2009-06-031-1/+2
| | | | personalization option.
* Add an implementation of Skein-512lloyd2009-06-021-0/+9
|
* Add XTS mode, from IEEE P1619lloyd2009-04-161-0/+14
|
* Add the GOST 34.11 hash function. Pretty slow, but functional.lloyd2009-04-071-0/+9
|
* Support different GOST paramters in the lookup interface.lloyd2009-03-311-1/+1
|
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-308-74/+90
| | | | | | | | | | | | | | | up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
* GOST was using a completely non-standard set of sboxes. Change it to uselloyd2009-03-271-5/+5
| | | | | | | | | | | | | | | GostR3411_94_TestParamSet, this is compatible with the implementations in Crypto++ and OpenSSL. This is not backwards compatible, though once the implementation supports multiple param sets (which is required, unfortunately, for compatability with various standards by CryptoCom, who have defined not one but at least 4 (!!!) different sboxes to use with GOST), I may offer Botan's previous sbox set as an option. Since adding the GOST hash function (34.11) and signing algorithm (34.10) are on the long term agenda (request by Rickard Bondesson, as the Russian authorities want to use their local standards for their DNSSEC use), I renamed the block cipher class (which had been just 'GOST') to GOST_28147_89 to minimize future name clashes.
* Add an Algorithm_Factory& argument to Engine::get_cipher to avoid alloyd2008-11-232-5/+6
| | | | dependency on libstate.h
* 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).
* Move most of the remaining libstate code to pk_engine.cpp, move engineslloyd2008-11-119-0/+1007
| | | | | 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-099-1137/+0
| | | | | | (messy). Remove unused libstate.h includes from a few files.
* 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
|
* 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-081-0/+2
|
* 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
|
* Move most of the Default_Engine code into engine/def_engine, and thelloyd2008-11-087-0/+991
engine base classes into src/engine