Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New macro TARGET_CPU_IS_XXX_FAMILY for XXX = X86, PPC, SPARC, undefined | lloyd | 2009-12-29 | 7 | -0/+17 |
| | | | | elsewhere currently. | ||||
* | Mark read/write prefetches as such, instead of read-only prefetch | lloyd | 2009-12-29 | 1 | -1/+1 |
| | |||||
* | Add doxygen comments | lloyd | 2009-12-29 | 2 | -12/+52 |
| | |||||
* | Fix make doxygen | lloyd | 2009-12-29 | 2 | -2/+2 |
| | |||||
* | Document CBC/XTS parallel capabilities | lloyd | 2009-12-28 | 1 | -0/+2 |
| | |||||
* | Cleanup | lloyd | 2009-12-28 | 3 | -15/+0 |
| | |||||
* | Kill buf_op - was basically the prototype for Buffering_Filter. | lloyd | 2009-12-28 | 3 | -176/+0 |
| | | | | | | It would be useful in its own right, many other things need to do hashing, but the tr1 dependency kills it right now. Something to revisit in the C++0x branch, perhaps? | ||||
* | Do ECB in parallel using Buffered_Filter | lloyd | 2009-12-27 | 2 | -101/+102 |
| | |||||
* | Make Buffered_Filter a Filter mixin basically the same as Buffered_Operation | lloyd | 2009-12-27 | 6 | -121/+154 |
| | | | | | but using inheritence instead of std::tr1::function-based callbacks. Convert CBC and XTS modes to use it. | ||||
* | buffered_proc_block is a mouthful | lloyd | 2009-12-27 | 4 | -20/+20 |
| | |||||
* | Use consistent function names, allow inheritence instead of bind | lloyd | 2009-12-27 | 4 | -27/+27 |
| | |||||
* | CBC decrypt on large blocks | lloyd | 2009-12-27 | 1 | -2/+4 |
| | |||||
* | Cleanup | lloyd | 2009-12-27 | 1 | -10/+4 |
| | |||||
* | XTS encrypt + decrypt in parallel | lloyd | 2009-12-27 | 2 | -87/+129 |
| | |||||
* | XTS encryption using Buffered_Operation. Not parallel yet. | lloyd | 2009-12-27 | 2 | -77/+62 |
| | |||||
* | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2009-12-27 | 5 | -63/+290 |
|\ | | | | | | | | | | | 5749645b3dc61c94f9b2980aa7773a3849105a81) to branch 'net.randombit.botan.buf-op' (head 7c1f7c88bd4d016ff49f098e47ac6032ff43041b) | ||||
| * | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2009-12-27 | 5 | -63/+290 |
| |\ | | | | | | | | | | | | | | | | 79ed5b0f9057b2d40335e268fdb9f375837d1d11) to branch 'net.randombit.botan.buf-op' (head 87160704bdc30b0a4cb19fd4516e20e85dca2869) | ||||
| | * | Implement CBC mode using Buffered_Operation. CBC decryption now runs in | lloyd | 2009-12-27 | 2 | -63/+114 |
| | | | | | | | | | | | | parallel, giving major speedups for SIMD-ized algorithms. | ||||
| | * | Add a generalized Buffered_Operation. Relies on tr1 for sane callbacks | lloyd | 2009-12-27 | 3 | -0/+176 |
| | | | | | | | | | | | | (std::tr1::function). | ||||
* | | | Add debug source to build. Fix typo in source. | lloyd | 2009-12-27 | 2 | -2/+1 |
|/ / | |||||
* / | Add debug.h which is an internal-only header with debug functions that | lloyd | 2009-12-27 | 3 | -0/+65 |
|/ | | | | I tend to rewrite often in particular files while debugging things. | ||||
* | Document private key encryption switch from 3DES to AES-256 | lloyd | 2009-12-26 | 1 | -0/+1 |
| | |||||
* | Make startup self-test failures more verbose | lloyd | 2009-12-26 | 3 | -84/+93 |
| | |||||
* | Define lookup.{h,cpp} in terms of Algorithm_Factory. Inline a lot of simple | lloyd | 2009-12-26 | 2 | -187/+123 |
| | | | | functions into the header. | ||||
* | Add OIDs for SEED/CBC and HMAC with SHA | lloyd | 2009-12-26 | 1 | -0/+8 |
| | |||||
* | New SCAN decoding err string was misleading in one case | lloyd | 2009-12-26 | 1 | -1/+4 |
| | |||||
* | Switch from TripleDES to AES-256 for private key encryption by | lloyd | 2009-12-26 | 1 | -1/+1 |
| | | | | | | | | default. OpenSSL 0.9.8 understands keys encrypted like this fine, which was the big reason for holding back on this before IIRC. AES-256 was chosen over AES-128 not for the longer key length (it's a password hash so unlikely to have more than 96 bits of entropy) but for the extra 4 rounds of AES-256 vs AES-128. | ||||
* | Correct documentation about default_pbe | lloyd | 2009-12-26 | 1 | -6/+4 |
| | |||||
* | Improve exception output of SCAN_Name on bad input | lloyd | 2009-12-26 | 1 | -3/+5 |
| | |||||
* | Add/fix doxygen comments | lloyd | 2009-12-24 | 1 | -5/+12 |
| | |||||
* | Replace time_t_to_tm with calendar_value which returns a struct representing | lloyd | 2009-12-24 | 4 | -20/+37 |
| | | | | the calendar time without tying to a particular format. From the C++0x branch. | ||||
* | Make fpe example output more clear as to what is going on | lloyd | 2009-12-24 | 1 | -4/+11 |
| | |||||
* | Wrap up whatever we're using for gmtime in an anon-namespace function do_gmtime | lloyd | 2009-12-24 | 1 | -14/+19 |
| | |||||
* | Since they don't pick up the dependency from modebase anymore, mark | lloyd | 2009-12-24 | 6 | -0/+15 |
| | | | | block cipher mode filters as depending on the block ciphers. | ||||
* | Remove modebase entirely. It made doing optimizations rather obnoxious and | lloyd | 2009-12-24 | 11 | -271/+393 |
| | | | | | didn't really contribute much in terms of code savings. CBC, CFB, and CTS now derive directly from Keyed_Filter. All the other modes already did this. | ||||
* | s/modebase/key_filt/ in ecb.h - not using modebase | lloyd | 2009-12-24 | 1 | -2/+1 |
| | |||||
* | Define EAX in terms of CTR mode instead of implementing it within EAX_Base. | lloyd | 2009-12-23 | 5 | -102/+60 |
| | | | | | | | | | This is somewhat faster, especially with SIMD-ed ciphers. The ceiling on performance looks to be CMAC, which is iterative and thus can't take advantage of them. Remove BOTAN_PARALLEL_BLOCKS_EAX, since it implicitly is whatever CTR is doing. Bump CTR's default parallel blocks to 16. | ||||
* | Force line flush in benchmark, useful when tee'ing output | lloyd | 2009-12-23 | 1 | -1/+1 |
| | |||||
* | Tweak for easier debugging | lloyd | 2009-12-23 | 1 | -2/+4 |
| | |||||
* | Fix compiler macro for MSVC warnings | lloyd | 2009-12-23 | 1 | -1/+1 |
| | |||||
* | Add last nights project, an SSE2 implementation of IDEA. Right about 4x | lloyd | 2009-12-23 | 8 | -59/+320 |
| | | | | faster than the scalar version on a Core2. | ||||
* | Change --with-isa to --enable-isa and --with-{sse2,ssse3,altivec,aes_ni} | lloyd | 2009-12-23 | 1 | -13/+37 |
| | | | | | | to --enable-{sse2,ssse3,altivec,aes_ni}. Add cooresponding --disable options, which completely remove support for said ISA even if the CPU we are configuring for is supposed to have it. | ||||
* | Add --with-{sse2,ssse3,altivec,aes_ni} options to enable specific ISAs. | lloyd | 2009-12-23 | 1 | -12/+22 |
| | | | | Useful for Gentoo ebuild and probably other packaging schemes. | ||||
* | Use /W3 with VC++ (/W4 is really noisy, but it seems mostly useless stuff). | lloyd | 2009-12-23 | 2 | -1/+7 |
| | | | | | | But, disable warnings 4250 and 4251 in build.h with a pragma. Both seem impossible to work around without very major code changes, and both seem harmless AFAICT. | ||||
* | Fix compile of get_nanoseconds_clock for Windows. | lloyd | 2009-12-23 | 3 | -2/+14 |
| | | | | | | | Add macros for OS support of gmtime_r (Unix) and gmtime_s (Win32) to deal with thread-unsafety of std::gmtime. Only enable gmtime_r on Linux currently, but it's probably available pretty much everywhere (specified in pthreads, origininally, AFAICT). | ||||
* | Add a static_cast<byte>() around get_byte just to keep VC++ quiet. | lloyd | 2009-12-23 | 1 | -1/+3 |
| | |||||
* | Use a u32bit for the length argument to ubi_512. That value cannot possibly | lloyd | 2009-12-23 | 1 | -2/+2 |
| | | | | | | be larger than 4294967232 because you can give at most 2^32-1 bytes of data at a time to Skein_512::add_data, and Skein always needs to buffer at least one byte. | ||||
* | Time was saved to a u32bit. Would really bite me in 2106 :) | lloyd | 2009-12-23 | 1 | -1/+1 |
| | |||||
* | Oops, I was overzealous | lloyd | 2009-12-23 | 1 | -2/+2 |
| | |||||
* | Avoid MSVC warning 4800 about implicit conversion from T to bool. Mostly | lloyd | 2009-12-23 | 3 | -6/+6 |
| | | | | because it makes the code slightly more explicit. |