Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove add blocks from block cipher info files | lloyd | 2009-09-29 | 25 | -188/+0 |
| | |||||
* | New logic for reading info.txt files - if no <add> block was given, then | lloyd | 2009-09-29 | 1 | -1/+8 |
| | | | | simply add all .cpp and .h files in the directory. | ||||
* | Add some basic prefetching support (only supported with GNU C++ or things | lloyd | 2009-09-29 | 4 | -3/+44 |
| | | | | | that claim to be by defining __GNUG__ (such as Intel C++)) in new utils header prefetch.h | ||||
* | Add a new macro BOTAN_BUILD_COMPILER_IS_XXX to build.h | lloyd | 2009-09-29 | 15 | -7/+40 |
| | |||||
* | Use load_le instead of make_u32bit in Serpent x86 key schedule code | lloyd | 2009-09-29 | 1 | -1/+1 |
| | |||||
* | merge of '1efb42e84eca9e01edd7b7f1335af7011eab994c' | lloyd | 2009-09-25 | 5 | -0/+169 |
|\ | | | | | | | and 'bb55abb64b64ca63aeb361db40c6bc4692d4ce48' | ||||
| * | Add runtime cpuid support. Check in the SSE2 engine that SSE2 is actually | lloyd | 2009-09-25 | 5 | -0/+169 |
| | | | | | | | | existing on the current CPU before returning an object. | ||||
* | | Modify the self test program to use the builtin runtime benchmarking goop. | lloyd | 2009-09-24 | 8 | -381/+223 |
| | | | | | | | | | | | | | | | | | | Features dropped: RNG benchmarking, the --bench-type option. New feature: Anything the library understands can be benchmarked using --bench-algo. Use 3DES and Serpent for mode benchmarking along with AES-128. | ||||
* | | Add BitBucket to basefilt.h | lloyd | 2009-09-24 | 1 | -0/+8 |
| | | |||||
* | | Add engine deps on the asm_xxx modules so the engines get loaded | lloyd | 2009-09-24 | 2 | -0/+8 |
| | | |||||
* | | Enable OpenSSL AES (fixed, I think). And add support for OpenSSL's RC5 | lloyd | 2009-09-24 | 1 | -1/+7 |
| | | |||||
* | | In the benchmark code, set a random key for the block and stream ciphers. | lloyd | 2009-09-23 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This, I think, was what was causing the OpenSSL AES code to crash (without a key being set, the rounds are unset and probably causes the code to loop out past the end of an array somewhere). Sadly, this also confirms that OpenSSL's AES is much faster than Botan's: AES-128: 115.032 [core] 152.994 [openssl] AES-192: 98.6724 [core] 130.087 [openssl] AES-256: 86.6348 [core] 113.608 [openssl] Definitely some improvement can be made there! :( | ||||
* | | Remove redundant SHA-1 test vector of empty input | lloyd | 2009-09-22 | 1 | -1/+0 |
| | | |||||
* | | Add 4 test vectors for HMAC(BMW-512) | lloyd | 2009-09-21 | 1 | -0/+41 |
| | | |||||
* | | Remove unneeded headers | lloyd | 2009-09-21 | 1 | -2/+0 |
| | | |||||
* | | Update the implementation of Blue Midnight Wish to use the Round 2 tweaked | lloyd | 2009-09-21 | 4 | -603/+1245 |
| | | | | | | | | version. | ||||
* | | Indentation fix | lloyd | 2009-09-21 | 1 | -13/+12 |
| | | |||||
* | | propagate from branch 'net.randombit.botan.1_8' (head ↵ | lloyd | 2009-09-17 | 147 | -1833/+6462 |
|\| | | | | | | | | | | | 1f4729658b70a340064bc9a33c923a44ecab84d8) to branch 'net.randombit.botan' (head b9ca6596a127964cb9795d22bc2a5642fab5de84) | ||||
| * | The get_tm function was duplicated. Move single version to timer.{h,cpp} | lloyd | 2009-09-17 | 6 | -82/+62 |
| | | |||||
| * | Split up util.h into 3 files | lloyd | 2009-09-17 | 29 | -41/+50 |
| | | | | | | | | | | | | | | - rounding.h (round_up, round_down) - workfactor.h (dl_work_factor) - timer.h (system_time) And update all users of the previous util.h | ||||
| * | Move memory locking function decls to mlock.h | lloyd | 2009-09-17 | 6 | -26/+47 |
| | | | | | | | | Inline round_up and round_down | ||||
| * | Update OpenSSL engine with encrypt_n interface for block ciphers. | lloyd | 2009-09-17 | 2 | -12/+46 |
| | | | | | | | | | | | | Add support for SHA-2 and SEED. Wrap block cipher usage in checks for OPENSSL_NO_XXX | ||||
| * | Remove some debug code from benchmark example | lloyd | 2009-09-15 | 1 | -6/+0 |
| | | |||||
| * | In BMW-512, don't use the stack, instead use class SecureBuffers to reduce | lloyd | 2009-09-15 | 2 | -70/+70 |
| | | | | | | | | info leakage. | ||||
| * | Add an implementation of Blue Midnight Wish (512 bit version only) | lloyd | 2009-09-15 | 8 | -24/+2164 |
| | | |||||
| * | propagate from branch 'net.randombit.botan.1_8' (head ↵ | lloyd | 2009-09-15 | 106 | -1641/+4092 |
| |\ | | | | | | | | | | | | | | | | ef51dd2869ed38dae3aeb1c3b931ca9d595580e1) to branch 'net.randombit.botan' (head fc1942640045423f411fd865cbd584090b28d7eb) | ||||
| | * | Update version #s to 1.9.1-pre | lloyd | 2009-09-13 | 3 | -4/+7 |
| | | | |||||
| | * | Enable SSE2 engine under VC++ | lloyd | 2009-09-13 | 1 | -0/+1 |
| | | | |||||
| | * | Make some changes to the SSE2 implementation of SHA-1 for compatability with | lloyd | 2009-09-13 | 1 | -62/+46 |
| | | | | | | | | | | | | Visual C++. | ||||
| | * | Update for 1.9.0 release 2009-09-091.9.0 | lloyd | 2009-09-10 | 3 | -3/+6 |
| | | | |||||
| | * | Add example of the package transform | lloyd | 2009-09-10 | 1 | -0/+61 |
| | | | |||||
| | * | propagate from branch 'net.randombit.botan.1_8' (head ↵ | lloyd | 2009-09-10 | 3 | -4/+4 |
| | |\ | | | | | | | | | | | | | | | | | | | | | c7f7c5092848b9c230d1757c74ed25ee9ea52262) to branch 'net.randombit.botan' (head a1315b63e5c3a6101df388c70ad69dc039437fe8) | ||||
| | * | | Add parallel block toggles for CBC and CFB (decrypt direction only) | lloyd | 2009-09-10 | 1 | -1/+7 |
| | | | | |||||
| | * | | Add a couple of Serpent/XTS test vectors (SQLite data pages) | lloyd | 2009-09-10 | 1 | -0/+273 |
| | | | | |||||
| | * | | The first argument of Library_State::set_option was accidentally being | lloyd | 2009-09-09 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | passed as a 'const std::string' instead of a const reference. Can't fix in 1.8 since it is ABI breaking. | ||||
| | * | | Throw Internal_Error instead of Algorithm_Not_Found if no usable RNG | lloyd | 2009-09-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | is enabled in the build. | ||||
| | * | | Add a log line telling the user that we are assuming unaligned memory | lloyd | 2009-09-08 | 1 | -4/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | accesses, if we are. Add new options --with-unaligned-mem and --without-unaligned-mem to override the arch-specific guess. The only usage I specifically know for this is to allow unaligned accesses on m68k machines, when use on Coldfire is not expected. Other cases where most CPUs of a particular type support unaligned accesses but a specific target doesn't (or it is very slow) can also use this. | ||||
| | * | | Add *s before comment lines in file headers | lloyd | 2009-09-08 | 4 | -8/+8 |
| | | | | |||||
| | * | | propagate from branch 'net.randombit.botan.1_8' (head ↵ | lloyd | 2009-09-04 | 6 | -4/+24 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | 75371777750b63ef94693602202c5104f217a987) to branch 'net.randombit.botan' (head 3f53f01c349eeee89288b1922fbde45b283c958c) | ||||
| | * | | | According to the Linux sources, S/390 and PowerPC can both do unaligned | lloyd | 2009-09-04 | 4 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | memory accesses. Since this can be a pretty big win, enable it for them. The m68k apparently also can, except in its (modern) Coldfire version, but it's always big endian so mark that as such. | ||||
| | * | | | Wrap benchmark_rw call in BOTAN_HAS_RW macro check | lloyd | 2009-09-04 | 1 | -0/+2 |
| | | | | | |||||
| | * | | | propagate from branch 'net.randombit.botan.1_8' (head ↵ | lloyd | 2009-08-31 | 4 | -7/+19 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2624292793f396cf940403e0d12073a9b2c7b17) to branch 'net.randombit.botan' (head 07a71effa1ba495b6ea57b2490ad38bf58a23bd0) | ||||
| | * | | | | Add Rivest's package transform | lloyd | 2009-08-31 | 4 | -0/+192 |
| | | | | | | |||||
| | * | | | | Move configure.pl to doc/scripts | lloyd | 2009-08-31 | 1 | -0/+0 |
| | | | | | | |||||
| | * | | | | Combine the 4 sbox calculations in the key schedule so that all four are | lloyd | 2009-08-31 | 2 | -25/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | computed in parallel. Not a huge win but slightly faster (which affects things like Lion when using Turing), most likely due to more available ILP | ||||
| | * | | | | Hoist creation of buffer in Lion encrypt loop | lloyd | 2009-08-31 | 1 | -4/+4 |
| | | | | | | |||||
| | * | | | | Remove unneeded include in xtea.cpp | lloyd | 2009-08-27 | 1 | -1/+0 |
| | | | | | | |||||
| | * | | | | Instead of each SSE2 implementation specifying which compilers + CPUs it | lloyd | 2009-08-27 | 3 | -25/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | works on, have sse2_eng rely on a specific compiler/arch; each sse2 impl depends on the engine anyway, so they will only be loaded if OK. | ||||
| | * | | | | Remove support for HTML benchmark output. Easier/simpler to parse the | lloyd | 2009-08-14 | 4 | -63/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | output with a script after the fact to generate such things, especially as often for HTML I want to do multiple side-by-side results. | ||||
| | * | | | | Move version #s to 1.9.0-pre | lloyd | 2009-08-13 | 4 | -9/+13 |
| | | | | | |