Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 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 | ||||
* | 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 | 36 | -73/+131 |
| | | | | 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 |
| | |||||
* | Cache device descriptors in Device_EntropySource | lloyd | 2008-11-07 | 2 | -34/+45 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | 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 |
| | |||||
* | Add a check for empty string in CMS_Encoder::can_compress_with (mostly to ↵ | lloyd | 2008-11-07 | 1 | -0/+3 |
| | | | | avoid warning) | ||||
* | Provide pkg-config file as botan-$major$minor.pc, so it can be used like: | lloyd | 2008-11-06 | 2 | -5/+5 |
| | | | | | | | $ pkg-config botan-17 --libs -L/usr/local/lib -lbotan -lm -lpthread -lrt to make it easier to have multiple versions of Botan installed and in use at the same time. | ||||
* | Fix zlib macro check | lloyd | 2008-11-06 | 1 | -7/+7 |
| | |||||
* | Disable final upper bound limit since the min takes care of it | lloyd | 2008-11-06 | 1 | -5/+1 |
| | |||||
* | Move Entropy_Estimator to utils/entropy.h (from anon namespace in HMAC_RNG | lloyd | 2008-11-06 | 8 | -101/+157 |
| | | | | | implementation), remove freestanding estimate_entropy function, change Randpool to use entropy estimator. | ||||
* | In Salsa20, move the state counter increment out of core salsa20() function | lloyd | 2008-11-06 | 1 | -5/+10 |
| | |||||
* | Add a comment about trying non-precomputed LSFR offsets (it was significantly | lloyd | 2008-11-06 | 1 | -9/+16 |
| | | | | | slower on my machine). Some formatting changes. Make OFFSETS table static const. | ||||
* | Add fast_poll implementation | lloyd | 2008-11-04 | 2 | -3/+12 |
| | |||||
* | Use Opteron as default submodel, otherwise bogus GCC flags if only arch ↵ | lloyd | 2008-11-04 | 1 | -1/+1 |
| | | | | detected (as on FreeBSD) | ||||
* | Disable x86-64 SHA-1 asm for FreeBSD. FreeBSD 7.0 at least did not like | lloyd | 2008-11-04 | 1 | -1/+0 |
| | | | | the current version. | ||||
* | Formatting | lloyd | 2008-11-03 | 1 | -2/+9 |
| | |||||
* | Formatting | lloyd | 2008-11-03 | 1 | -19/+18 |
| | |||||
* | Remove unused entries from offsets table | lloyd | 2008-11-03 | 1 | -22/+26 |
| |