aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream/stream_cipher.cpp
Commit message (Collapse)AuthorAgeFilesLines
* s/u32bit/size_t/ in streamlloyd2010-10-131-2/+2
|
* Move a couple of StreamCipher functions to a source file to avoid thelloyd2010-06-161-0/+24
| | | | Doxygen vs GCC problem.
* Cleanups/random changes in the stream cipher code:lloyd2009-10-141-30/+0
| | | | | | | | | | | | | Remove encrypt, decrypt - replace by cipher() and cipher1() Remove seek() - not well supported/tested, I want to redo with a new interface once CTR and OFB modes become stream ciphers. Rename resync to set_iv() Remove StreamCipher::IV_LENGTH and add StreamCipher::valid_iv_length() to allow multiple IV lengths (as for instance Turing allows, as would Salsa20 if XSalsa20 were supported).
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-6/+8
| | | | | | | | | | | | | | | 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).
* Split ciphers into block and stream ciphers. Move base class headerslloyd2008-11-081-0/+28