Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge of 'bf0e5684d8ba5fb0a21cdcd11d26995cbb250c4a' | lloyd | 2010-01-07 | 28 | -136/+80 |
|\ | | | | | | | and 'e30a741f6014987e9683842ede22c44b2db03c56' | ||||
| * | Clean up exceptions. Remove some unused ones like Config_Error. Make | lloyd | 2010-01-05 | 28 | -136/+80 |
| | | | | | | | | | | | | | | Invalid_Argument just a typedef for std::invalid_argument. Make Botan::Exception a typedef for std::runtime_error. Make Memory_Exhaustion a public exception, and use it in other places where memory allocations can fail. | ||||
* | | Doxygen comments | lloyd | 2010-01-07 | 1 | -14/+63 |
| | | |||||
* | | Use Algorithm_Factory instead of instantiating directly; will allow the use | lloyd | 2010-01-07 | 1 | -10/+14 |
| | | | | | | | | of AES-NI instructions, etc, in the PRNGs. | ||||
* | | Recognize aes_isa engine, set as high priority | lloyd | 2010-01-06 | 1 | -4/+6 |
| | | |||||
* | | simd_32 should be autoload, not always. Copy+pasted from util's info.txt | lloyd | 2010-01-06 | 1 | -2/+0 |
|/ | |||||
* | Remove stubs for VIA Padlock support. I have no plans to implement it | lloyd | 2010-01-05 | 2 | -24/+1 |
| | | | | | | and don't even have access to a VIA with AES so could not test it anyway. If someone else wants to do it, then the implementation for AES-NI should provide a good template. | ||||
* | merge of 'a51f8d7dec78251a3a4ccf162b346c289fc1d72a' | lloyd | 2010-01-04 | 5 | -125/+90 |
|\ | | | | | | | and 'aafa02a299b61c7762ae71dfc429396aa6bd25b3' | ||||
| * | Remove Exception::set_msg. Inline all exception constructors. | lloyd | 2010-01-04 | 5 | -125/+90 |
| | | |||||
* | | Make all parallel block modes 16 blocks wide | lloyd | 2010-01-04 | 1 | -4/+4 |
| | | |||||
* | | Move Tiger::mix to anon namespace | lloyd | 2010-01-04 | 2 | -14/+17 |
| | | |||||
* | | merge of 'aa801db59c03df9f37c4f3e254d88b1ca1f5732d' | lloyd | 2010-01-04 | 1 | -1/+2 |
|\| | | | | | | | and 'c6c0f6c14a5e0163127ceb1c299297450a50b06f' | ||||
| * | Fix compile; aes engine header is internal | lloyd | 2010-01-04 | 1 | -1/+2 |
| | | |||||
* | | Remove pshufb-based bswap_4; it causes problems too easily with external | lloyd | 2010-01-04 | 1 | -21/+1 |
|/ | | | | | | application code that wants to use loadstor.h, since that loads bswap.h and if SSSE3 isn't enabled via -march GCC will error out. Doesn't seem to be at all faster than the shuffle-based bswap for SSE2 on a Core2 in any case. | ||||
* | Add copyright and license notes to pretty much every file that didn't have them, | lloyd | 2009-12-31 | 9 | -21/+29 |
| | | | | | | | | including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good. | ||||
* | Fix POWER6 AltiVec detection | lloyd | 2009-12-30 | 1 | -0/+1 |
| | |||||
* | Oops, it's TARGET_CPU_IS_XXX_FAMILY, not TARGET_IS_XXX_FAMILY. | lloyd | 2009-12-30 | 3 | -7/+7 |
| | | | | Also, fix AltiVec detection on Linux and NetBSD for most G4s. | ||||
* | Remove BOTAN_DLL from forward decl, not needed and GCC 4.1 warns | lloyd | 2009-12-30 | 1 | -1/+1 |
| | |||||
* | Buffered_Filter had virtual functions but not a virtual destructor | lloyd | 2009-12-30 | 1 | -0/+2 |
| | |||||
* | Clean up AltiVec detection code. Add (untested) support for OS X AltiVec | lloyd | 2009-12-30 | 1 | -53/+74 |
| | | | | detection. | ||||
* | Use IS_XXX_FAMILY macros where useful | lloyd | 2009-12-30 | 2 | -4/+3 |
| | |||||
* | New macro TARGET_CPU_IS_XXX_FAMILY for XXX = X86, PPC, SPARC, undefined | lloyd | 2009-12-29 | 6 | -0/+13 |
| | | | | 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 |
| | |||||
* | 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. | ||||
* | 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. |