aboutsummaryrefslogtreecommitdiffstats
path: root/src/modes/ecb/ecb.h
Commit message (Collapse)AuthorAgeFilesLines
* Modify Keyed_Filter so it is a pure interfacelloyd2009-08-111-29/+39
| | | | | | | | | | Modify ECB to use parallel encryption/decryption where possible Add toggles in build.h specifying how many blocks to process in parallel. Defaults to 8 blocks for all modes, which is sufficient that any likely parallelism can be extracted (via SIMD or concurrent execution) but not so much as to seem likely to cause cache problems (8*128 bits = 128 bytes, or two x86 cache lines)
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-13/+15
| | | | | | | | | | | | | | | up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
* Make cipher mode padder non-const in ECB and CBClloyd2008-11-101-6/+6
|
* Remove support for block cipher padding methods in engine. Like S2K,lloyd2008-11-101-0/+1
| | | | | | | | | | they were not used at all outside of the core library implementations. One change is that now get_bc_pad returns a new object, instead of a pointer to a const shared padding method. This does imply a bit more dynamic memory overhead, but the modes are pretty light (stateless, for the most part), so this doesn't seem like a big deal. So modify ECB and CBC classes to add destructors to delete the padding object.
* Remove lookup.h use from ECB, CBC, CFBlloyd2008-11-081-7/+20
|
* Move all modules into src/ directorylloyd2008-09-281-0/+57