aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Kill unneeded includelloyd2010-01-121-1/+0
|
* Fix a test broken by the recent exception hierarchy changeslloyd2010-01-121-10/+2
|
* Add operator& and non-mutating rotates to SIMD_32lloyd2010-01-124-0/+34
|
* Remove a debug printlloyd2010-01-121-3/+0
|
* Add block cipher cascadelloyd2010-01-117-2/+215
|
* Typo fixlloyd2010-01-111-1/+1
|
* Minor cleanuplloyd2010-01-081-8/+9
|
* Remove catch clauses made redundant by inheritence changes in exception ↵lloyd2010-01-081-5/+0
| | | | hierarchy.
* merge of 'bf0e5684d8ba5fb0a21cdcd11d26995cbb250c4a'lloyd2010-01-0731-153/+97
|\ | | | | | | and 'e30a741f6014987e9683842ede22c44b2db03c56'
| * Clean up exceptions. Remove some unused ones like Config_Error. Makelloyd2010-01-0531-153/+97
| | | | | | | | | | | | | | 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 commentslloyd2010-01-071-14/+63
| |
* | Use Algorithm_Factory instead of instantiating directly; will allow the uselloyd2010-01-071-10/+14
| | | | | | | | of AES-NI instructions, etc, in the PRNGs.
* | Recognize aes_isa engine, set as high prioritylloyd2010-01-061-4/+6
| |
* | Add --verbose and --quiet optionslloyd2010-01-061-8/+21
| |
* | simd_32 should be autoload, not always. Copy+pasted from util's info.txtlloyd2010-01-061-2/+0
|/
* Remove stubs for VIA Padlock support. I have no plans to implement itlloyd2010-01-052-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.
* Split AES tests by key length for AES-NIlloyd2010-01-051-44/+45
|
* merge of 'a51f8d7dec78251a3a4ccf162b346c289fc1d72a'lloyd2010-01-046-127/+90
|\ | | | | | | and 'aafa02a299b61c7762ae71dfc429396aa6bd25b3'
| * Remove Exception::set_msg. Inline all exception constructors.lloyd2010-01-045-125/+90
| |
| * Remove debug printlloyd2010-01-041-2/+0
| |
* | Make all parallel block modes 16 blocks widelloyd2010-01-041-4/+4
| |
* | Specific large tests for AES-128 to hit engineslloyd2010-01-041-3/+7
| |
* | Move Tiger::mix to anon namespace lloyd2010-01-042-14/+17
| |
* | merge of 'aa801db59c03df9f37c4f3e254d88b1ca1f5732d'lloyd2010-01-042-1/+23
|\| | | | | | | and 'c6c0f6c14a5e0163127ceb1c299297450a50b06f'
| * Make ssse3/aes_ni depend on sse2; --disable-sse2 turns off all of thenlloyd2010-01-041-0/+21
| |
| * Fix compile; aes engine header is internallloyd2010-01-041-1/+2
| |
* | Remove pshufb-based bswap_4; it causes problems too easily with externallloyd2010-01-041-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.
* Completely inline getopt.cpp into getopt.h so it can be used in toolbox and ↵lloyd2010-01-032-96/+85
| | | | other examples
* The first bits of a general toolbox program. Currently does hex and base64lloyd2009-12-311-0/+235
| | | | encoding/decoding, bzip2 and zlib compression/decompression, and hashing.
* Drop test_es.cpp, EntropySources no longer directly available outside librarylloyd2009-12-311-121/+0
|
* Add copyright and license notes to pretty much every file that didn't have them,lloyd2009-12-3173-226/+437
| | | | | | | | 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 detectionlloyd2009-12-301-0/+1
|
* Oops, it's TARGET_CPU_IS_XXX_FAMILY, not TARGET_IS_XXX_FAMILY.lloyd2009-12-303-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 warnslloyd2009-12-301-1/+1
|
* Buffered_Filter had virtual functions but not a virtual destructorlloyd2009-12-301-0/+2
|
* Clean up AltiVec detection code. Add (untested) support for OS X AltiVeclloyd2009-12-301-53/+74
| | | | detection.
* Use IS_XXX_FAMILY macros where usefullloyd2009-12-302-4/+3
|
* New macro TARGET_CPU_IS_XXX_FAMILY for XXX = X86, PPC, SPARC, undefinedlloyd2009-12-297-0/+17
| | | | elsewhere currently.
* Mark read/write prefetches as such, instead of read-only prefetchlloyd2009-12-291-1/+1
|
* Add doxygen commentslloyd2009-12-292-12/+52
|
* Fix make doxygenlloyd2009-12-292-2/+2
|
* Document CBC/XTS parallel capabilitieslloyd2009-12-281-0/+2
|
* Cleanuplloyd2009-12-283-15/+0
|
* Kill buf_op - was basically the prototype for Buffering_Filter.lloyd2009-12-283-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_Filterlloyd2009-12-272-101/+102
|
* Make Buffered_Filter a Filter mixin basically the same as Buffered_Operationlloyd2009-12-276-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 mouthfullloyd2009-12-274-20/+20
|
* Use consistent function names, allow inheritence instead of bindlloyd2009-12-274-27/+27
|
* CBC decrypt on large blockslloyd2009-12-271-2/+4
|
* Cleanuplloyd2009-12-271-10/+4
|