aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream
Commit message (Collapse)AuthorAgeFilesLines
* Cleanups/random changes in the stream cipher code:lloyd2009-10-1410-92/+64
| | | | | | | | | | | | | 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).
* Remove unneeded headerslloyd2009-09-211-2/+0
|
* Combine the 4 sbox calculations in the key schedule so that all four arelloyd2009-08-312-25/+25
| | | | | computed in parallel. Not a huge win but slightly faster (which affects things like Lion when using Turing), most likely due to more available ILP
* Add a script that reads the output of print_deps.py and rewriteslloyd2009-07-151-5/+4
| | | | | | the info.txt files with the right module dependencies. Apply it across the codebase.
* Add dependencies for stream ciphers on streamlloyd2009-07-023-0/+12
|
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-3011-135/+157
| | | | | | | | | | | | | | | 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).
* Remove redundent includeslloyd2008-11-091-2/+0
|
* Rename SymmetricAlgorithm::key to key_schedule to avoid many namelloyd2008-11-098-8/+8
| | | | conflicts/collisions
* Split the last parts of the 'core' modulelloyd2008-11-081-0/+15
| | | | Add some missing info.txts
* Split ciphers into block and stream ciphers. Move base class headerslloyd2008-11-0815-0/+1174