Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Algorithm_Factory instead of lookup in Default_Engine block cipher | lloyd | 2008-11-10 | 3 | -13/+10 |
| | | | | and mac tables | ||||
* | Move block and stream ciphers also into Algorithm_Factory | lloyd | 2008-11-10 | 12 | -210/+293 |
| | |||||
* | Move MACs also to Algorithm_Factory | lloyd | 2008-11-10 | 7 | -75/+139 |
| | |||||
* | Split PK stuff from engine.cpp to pk_engine.cpp | lloyd | 2008-11-10 | 3 | -173/+189 |
| | |||||
* | Move add_algorithm for hashes also to Algorithm_Factory | lloyd | 2008-11-10 | 3 | -22/+27 |
| | |||||
* | Remove printfs | lloyd | 2008-11-10 | 1 | -5/+0 |
| | |||||
* | Split the assembly implementations of the hash functions into asm_engine. | lloyd | 2008-11-10 | 6 | -39/+125 |
| | | | | | | 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. | ||||
* | Have Algorithm_Factory::make_hash_function throw an exception if it can't | lloyd | 2008-11-10 | 2 | -8/+4 |
| | | | | | | find an object to clone. Add a new constructor to Hash_Filter taking a HashFunction* | ||||
* | Use Algorithm_Factory and SCAN_Name for all hash lookups. Modify engines | lloyd | 2008-11-10 | 11 | -76/+129 |
| | | | | accordingly. | ||||
* | Add a class Algorithm_Factory which encapsulates the Engine classes (and | lloyd | 2008-11-10 | 7 | -85/+160 |
| | | | | which will eventually encapsulate the lookup logic as well) | ||||
* | Split pk_pad.h into eme.h and emsa.h | lloyd | 2008-11-10 | 1 | -1/+2 |
| | |||||
* | Modify OpenSSL to use SCAN_Name | lloyd | 2008-11-10 | 3 | -47/+34 |
| | |||||
* | Remove unused provider function | lloyd | 2008-11-10 | 1 | -2/+0 |
| | |||||
* | Fix include, add namespace and copyright | lloyd | 2008-11-10 | 1 | -1/+9 |
| | |||||
* | Add eng_ossl.cpp to build | lloyd | 2008-11-10 | 1 | -0/+1 |
| | |||||
* | Make the ARC4 implementation from OpenSSL visible in arc4_openssl.h | lloyd | 2008-11-10 | 5 | -93/+95 |
| | |||||
* | Remove support for block cipher padding methods in engine. Like S2K, | lloyd | 2008-11-10 | 8 | -130/+30 |
| | | | | | | | | | | 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 of | lloyd | 2008-11-10 | 8 | -110/+39 |
| | | | | | | 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. | ||||
* | Sort lines | lloyd | 2008-11-10 | 1 | -2/+2 |
| | |||||
* | Mark libstate as depending on mode_pad | lloyd | 2008-11-10 | 1 | -0/+1 |
| | |||||
* | Remove find_bc_pad from lookup_stream.cpp | lloyd | 2008-11-10 | 1 | -25/+0 |
| | |||||
* | Split lookup_cipher.cpp into lookup_{block,stream,bc_pad}.cpp | lloyd | 2008-11-10 | 4 | -82/+131 |
| | |||||
* | Modify Lion lookup to use arg_count_between | lloyd | 2008-11-09 | 1 | -2/+1 |
| | |||||
* | Modify get_enc to use SCAN_Name | lloyd | 2008-11-09 | 1 | -82/+41 |
| | |||||
* | Consistent whitespace | lloyd | 2008-11-09 | 1 | -0/+1 |
| | |||||
* | Modify Default_Engine to use SCAN_Name internally | lloyd | 2008-11-09 | 4 | -213/+161 |
| | |||||
* | In lookup.h, forward declare Library_State instead of including libstate.h | lloyd | 2008-11-09 | 1 | -1/+2 |
| | |||||
* | Remove alias for HAVAL, also removed in 1.5.0 | lloyd | 2008-11-09 | 1 | -1/+0 |
| | |||||
* | Remove alias for SEAL (removed in 1.5.0!) | lloyd | 2008-11-09 | 1 | -1/+0 |
| | |||||
* | Move engine to libstate/ directory, since there is a mutual dependency | lloyd | 2008-11-09 | 36 | -0/+3691 |
| | | | | | | (messy). Remove unused libstate.h includes from a few files. | ||||
* | Move some lookup related code from src/engine to src/libstate/lookup.cpp | lloyd | 2008-11-09 | 1 | -0/+253 |
| | |||||
* | Rename eng_def.h to def_eng.h | lloyd | 2008-11-08 | 1 | -1/+1 |
| | |||||
* | Remove get_mgf - unsused internally, and I doubt apps use it much | lloyd | 2008-11-08 | 2 | -26/+0 |
| | |||||
* | Add libstate dep on def_engine | lloyd | 2008-11-08 | 1 | -0/+1 |
| | |||||
* | Move most of the Default_Engine code into engine/def_engine, and the | lloyd | 2008-11-08 | 11 | -1896/+0 |
| | | | | engine base classes into src/engine | ||||
* | Move botan.h from utils to libstate, since libstate has lookup.h which | lloyd | 2008-11-08 | 3 | -12/+20 |
| | | | | | | botan.h includes unconditionally. Remove obsolete seed_rng code from init.h | ||||
* | Split the last parts of the 'core' module | lloyd | 2008-11-08 | 2 | -2/+0 |
| | | | | Add some missing info.txts | ||||
* | Move allocate.h with related code in alloc | lloyd | 2008-11-08 | 1 | -0/+1 |
| | |||||
* | Split base.h into block_cipher.h and stream_cipher.h | lloyd | 2008-11-08 | 4 | -6/+15 |
| | | | | | | It turned out many files were including base.h merely to get other includes (like types.h, secmem.h, and exceptn.h). Those have been changed to directly include the files containing the declarations that code needs. | ||||
* | Move declaration of StreamCipher to stream_cipher.h | lloyd | 2008-11-08 | 1 | -0/+1 |
| | |||||
* | Move declaration of MessageAuthenticationCode base class to mac.h (from base.h) | lloyd | 2008-11-08 | 1 | -0/+2 |
| | |||||
* | Move the declaration of the HashFunction base class to a new header hash.h | lloyd | 2008-11-08 | 2 | -0/+2 |
| | | | | (from base.h) | ||||
* | Remove unneeded include of <memory> | lloyd | 2008-11-08 | 2 | -2/+0 |
| | |||||
* | Split lookup_misc.cpp into lookup_mac.cpp and lookup_s2k.cpp | lloyd | 2008-11-08 | 4 | -180/+162 |
| | |||||
* | Split def_alg.cpp into lookup_{cipher,hash,misc}.cpp | lloyd | 2008-11-08 | 4 | -308/+394 |
| | |||||
* | Wrap lines to 80 columns | lloyd | 2008-10-28 | 2 | -10/+21 |
| | |||||
* | Remove lookup.h use from OpenPGP S2K | lloyd | 2008-10-26 | 1 | -9/+6 |
| | |||||
* | Move s2k.{h,cpp} and S2K algos from core and kdf to new s2k/ dir | lloyd | 2008-10-26 | 1 | -0/+1 |
| | |||||
* | Put pk_pad.{h,cpp} from core into pk_pad/ dir (cleaner I think) | lloyd | 2008-10-26 | 1 | -0/+4 |
| | |||||
* | Move libstate and selftest out of core/ dir to toplevel | lloyd | 2008-10-26 | 23 | -0/+4161 |