Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove lookup.h use from ECB, CBC, CFB | lloyd | 2008-11-08 | 7 | -105/+63 |
| | |||||
* | Add BOTAN_DLL macro to Default_IF_Op | lloyd | 2008-11-08 | 1 | -1/+1 |
| | |||||
* | Remove use of lookup.h from OFB | lloyd | 2008-11-08 | 4 | -14/+13 |
| | |||||
* | Remove use of lookup.h in CTR mode | lloyd | 2008-11-08 | 3 | -12/+10 |
| | |||||
* | Remove lookup.h from modebase | lloyd | 2008-11-08 | 8 | -22/+38 |
| | |||||
* | Remove needless include of mutex.h | lloyd | 2008-11-08 | 1 | -1/+0 |
| | |||||
* | Rename eng_def.h to def_eng.h | lloyd | 2008-11-08 | 10 | -9/+9 |
| | |||||
* | Add virtual hook to remove dep of Default_Engine on Engine itself | lloyd | 2008-11-08 | 3 | -16/+14 |
| | |||||
* | Remove dependency on Default_Engine from pubkey code | lloyd | 2008-11-08 | 11 | -112/+145 |
| | |||||
* | Remove include of enums.h | lloyd | 2008-11-08 | 1 | -1/+0 |
| | |||||
* | Document removing get_mgf | lloyd | 2008-11-08 | 1 | -0/+1 |
| | |||||
* | Remove get_mgf - unsused internally, and I doubt apps use it much | lloyd | 2008-11-08 | 2 | -26/+0 |
| | |||||
* | Invoke HMAC constructor directly for PBKDF2 since it is hardcoded anyway | lloyd | 2008-11-08 | 1 | -1/+2 |
| | |||||
* | Add def_engine info.txt | lloyd | 2008-11-08 | 1 | -0/+15 |
| | |||||
* | Add missing engine info.txt | lloyd | 2008-11-08 | 1 | -0/+11 |
| | |||||
* | 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 | -10/+0 |
| | | | | engine base classes into src/engine | ||||
* | Log base.h split | lloyd | 2008-11-08 | 1 | -0/+1 |
| | |||||
* | Move botan.h from utils to libstate, since libstate has lookup.h which | lloyd | 2008-11-08 | 4 | -13/+5 |
| | | | | | | botan.h includes unconditionally. Remove obsolete seed_rng code from init.h | ||||
* | Split the last parts of the 'core' module | lloyd | 2008-11-08 | 37 | -73/+132 |
| | | | | Add some missing info.txts | ||||
* | Move most of what was left in core to utils (since that is what they are, | lloyd | 2008-11-08 | 8 | -11/+7 |
| | | | | | basically). buf_comp and data_src might need their own directory, but it doesn't really feel like it. | ||||
* | Move allocate.h with related code in alloc | lloyd | 2008-11-08 | 3 | -1/+1 |
| | |||||
* | Continue to dismantle the core module (aka ball of mud), moving allocator | lloyd | 2008-11-08 | 5 | -4/+0 |
| | | | | code to alloc/ subdirs | ||||
* | Move mutex.h from core to utils | lloyd | 2008-11-08 | 6 | -10/+2 |
| | | | | Move core/sym_algo.{h,cpp} to sym_algo | ||||
* | Split ciphers into block and stream ciphers. Move base class headers | lloyd | 2008-11-08 | 105 | -3/+4 |
| | |||||
* | Split base.h into block_cipher.h and stream_cipher.h | lloyd | 2008-11-08 | 63 | -48/+278 |
| | | | | | | 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 | 11 | -86/+13 |
| | |||||
* | Move hash.h from src/core to src/hash | lloyd | 2008-11-08 | 5 | -132/+20 |
| | | | | Inline constructors for BlockCipher and StreamCipher | ||||
* | Inline BufferedComputation into the header (all functions were very short) | lloyd | 2008-11-08 | 3 | -97/+30 |
| | |||||
* | Move BufferedComputation to new buf_comp.{h,cpp} | lloyd | 2008-11-08 | 13 | -166/+236 |
| | |||||
* | Move mac base classes from src/core to src/mac | lloyd | 2008-11-08 | 3 | -16/+0 |
| | |||||
* | Move declaration of MessageAuthenticationCode base class to mac.h (from base.h) | lloyd | 2008-11-08 | 16 | -55/+73 |
| | |||||
* | Move the declaration of the HashFunction base class to a new header hash.h | lloyd | 2008-11-08 | 28 | -53/+77 |
| | | | | (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 |
| | |||||
* | In Makefiles and pkg-config / botan-config, use -lbotan-@{var:version} | lloyd | 2008-11-07 | 4 | -4/+4 |
| | | | | | | | | so we link against the specific intended version of the library, for instance -lbotan-1.7.20 rather than simply -lbotan This again seems especially an improvement where you want more than one version installed (1.6 vs 1.7, for instance). | ||||
* | Don't hard code name in botan-config.in | lloyd | 2008-11-07 | 1 | -1/+1 |
| | |||||
* | For pkg-config, name as botan-$major.$minor.pc, eg botan-1.7, rather than | lloyd | 2008-11-07 | 1 | -4/+4 |
| | | | | | botan-17, which was potentially confusing (and apparently contradictory to normal pkg-config naming conventions). | ||||
* | Cache device descriptors in Device_EntropySource | lloyd | 2008-11-07 | 3 | -34/+46 |
| | |||||
* | In HMAC_RNG, periodically fast poll a source while operating normally. | lloyd | 2008-11-07 | 2 | -46/+32 |
| | | | | | Generate new XTS (extractor salt) values using PRF outputs rather than the clock. | ||||
* | Add AutoSeeded_RNG to benchmark output | lloyd | 2008-11-07 | 2 | -0/+10 |
| | |||||
* | HMAC_RNG will only check to see if it should reseed once per call | lloyd | 2008-11-07 | 1 | -60/+47 |
| | | | | | | | | | | | | to randomize(), at the start of the function. After that it will generate as many outputs as needed. The counter cannot overflow, as only up to 2**32 bytes can be requested per call to RandomNumberGenerator::randomize, wheras HMAC_RNG can generate 32 bytes (256 bits) per counter value and uses a 32-bit counter. The PRF is 'stepped' once after the call to RandomNumberGenerator::randomize is completed. This reduces the window of exposure to data that was already output for use by the RNG. | ||||
* | Add example line for installed Botan, commented out | lloyd | 2008-11-07 | 1 | -0/+3 |
| | |||||
* | Make the examples Makefile a bit smarter | lloyd | 2008-11-07 | 1 | -10/+8 |
| | |||||
* | Fix syntax problems introduced in 80 column wrap | lloyd | 2008-11-07 | 1 | -5/+2 |
| | |||||
* | Swap workspace and prod vars in botan-config.in, easier to enable workspace use | lloyd | 2008-11-07 | 1 | -5/+5 |
| | |||||
* | Reformat for shorter lines | lloyd | 2008-11-07 | 2 | -6/+19 |
| | |||||
* | Wrap to 80 columns | lloyd | 2008-11-07 | 1 | -17/+31 |
| | |||||
* | Add a check for empty string in CMS_Encoder::can_compress_with (mostly to ↵ | lloyd | 2008-11-07 | 1 | -0/+3 |
| | | | | avoid warning) |