aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/engine/def_engine
Commit message (Collapse)AuthorAgeFilesLines
* Move most of the remaining libstate code to pk_engine.cpp, move engineslloyd2008-11-119-1007/+0
| | | | | back to the toplevel since most othe dependencies have been removed now (except get_cipher which still needs changes)
* Make SCAN_Name::arg return a new SCAN_Name that has the same providers list,lloyd2008-11-111-4/+1
| | | | this allows provider preferences to be passed down to sub-algorithms.
* Fix leak in Luby-Rackoff lookup (got new object instead of prototype as ↵lloyd2008-11-111-2/+1
| | | | intented)
* Remove lookup.h use from DLIES, PK key agreement, DSA param gen, get_enc.cpplloyd2008-11-111-1/+0
|
* Shorten SCAN_Name's argument arg in function nameslloyd2008-11-104-15/+15
|
* Move get_bc_pad to def_engine/def_mode.cpplloyd2008-11-101-44/+59
| | | | Compilation fix in arc4_openssl.cpp
* Move x86 Serpent to the asm engine module.lloyd2008-11-101-8/+1
| | | | Move OpenSSL's RC4 back into a single file again.
* Use Algorithm_Factory instead of lookup in Default_Engine block cipherlloyd2008-11-102-12/+10
| | | | and mac tables
* Move block and stream ciphers also into Algorithm_Factorylloyd2008-11-103-12/+17
|
* Move MACs also to Algorithm_Factorylloyd2008-11-102-7/+9
|
* Split the assembly implementations of the hash functions into asm_engine.lloyd2008-11-101-38/+3
| | | | | | This still is not an ideal split, since for SHA-1 we have both SSE2 and x86/x86-64 asm. Currently we continue to punt to SSE2 if enabled, otherwise asm, since the SSE2 seems to be the fastest thing going in my tests so far.
* Use Algorithm_Factory and SCAN_Name for all hash lookups. Modify engineslloyd2008-11-102-9/+31
| | | | accordingly.
* Remove support for block cipher padding methods in engine. Like S2K,lloyd2008-11-103-44/+0
| | | | | | | | | | they were not used at all outside of the core library implementations. One change is that now get_bc_pad returns a new object, instead of a pointer to a const shared padding method. This does imply a bit more dynamic memory overhead, but the modes are pretty light (stateless, for the most part), so this doesn't seem like a big deal. So modify ECB and CBC classes to add destructors to delete the padding object.
* Remove support for S2K in Engines. There are only three implementations oflloyd2008-11-103-52/+0
| | | | | | an S2K in Botan, all in the core library, and it's relatively unlikely that that many more will be added. get_s2k still exists and performs a direct search across the possibilities.
* Remove find_bc_pad from lookup_stream.cpplloyd2008-11-101-25/+0
|
* Split lookup_cipher.cpp into lookup_{block,stream,bc_pad}.cpplloyd2008-11-104-82/+131
|
* Modify Lion lookup to use arg_count_betweenlloyd2008-11-091-2/+1
|
* Modify Default_Engine to use SCAN_Name internallylloyd2008-11-094-213/+161
|
* Move engine to libstate/ directory, since there is a mutual dependencylloyd2008-11-099-0/+1137
(messy). Remove unused libstate.h includes from a few files.