aboutsummaryrefslogtreecommitdiffstats
path: root/src/modes
Commit message (Collapse)AuthorAgeFilesLines
* Shuffle things around. Add NIST X.509 test to build.lloyd2014-01-0138-3832/+0
|
* Have default EAX tag size match block sizelloyd2013-12-312-4/+4
|
* Set default offset for all cipher mode update/final signatures.lloyd2013-12-319-36/+36
|
* Remove debug headerslloyd2013-12-301-3/+0
|
* Move clmul to its own file (for abi flags)lloyd2013-12-275-74/+101
|
* Unusedlloyd2013-12-271-7/+0
|
* Cleanuplloyd2013-12-272-19/+17
|
* Clean up GCM. Add CLMUL support.lloyd2013-12-273-48/+216
|
* s/default_nonce_size/default_nonce_length/lloyd2013-12-1011-11/+11
|
* Add key length multiplelloyd2013-12-051-5/+1
|
* Add SIVlloyd2013-12-054-1/+316
|
* Support the normal names for CCM in TLS policy configlloyd2013-12-041-0/+9
|
* Give everything setting a feature test macro in build.h a version codelloyd2013-11-2810-10/+10
| | | | | | so application code can check for the specific API it expects without having to keep track of what versions APIs x,y,z changed. Arbitrarily set all current API versions to 20131128.
* merge of '5e53891d2c77f27a22d07ed26923745f9a5f3336'lloyd2013-11-081-2/+2
|\ | | | | | | and 'a895552efd212665d83064e9517976ef63f41368'
| * Use BS constant where possiblelloyd2013-11-071-2/+2
| |
* | Avoid static const in GCM as welllloyd2013-11-071-1/+1
|/
* Work around a strange bug where Clang won't find CCM_Mode::BS unlesslloyd2013-11-071-1/+1
| | | | it is non-static.
* Fix padding error in CBC encryption if offset != 0lloyd2013-10-121-3/+2
|
* Add CCM modelloyd2013-09-054-2/+416
|
* Support 64 and 96 bit tags in OCB, using the nonce formatting rulelloyd2013-08-262-2/+3
| | | | added in the latest CFRG internet draft.
* Some OCB cleanupslloyd2013-08-252-98/+90
|
* merge of '59ddcb9c6e450b61f95165721510c583d6a9cde3'lloyd2013-08-254-6/+11
|\ | | | | | | and 'ec9ea0e8135ae0f0835c01c558a32db94e950535'
| * Expose AEAD_Mode::tag_sizelloyd2013-08-224-6/+11
| |
* | Store the OCB checksum in wide blocks and fold once at the endlloyd2013-08-251-25/+20
|/
* Add Cipher_Mode intermediate class. Add missing BOTAN_DLL exportslloyd2013-08-196-12/+44
|
* Simplify handling of CBC/ECB padding and move source to src/modeslloyd2013-08-155-35/+233
|
* Convert CTS mode to Transformation APIlloyd2013-08-152-7/+160
|
* Keeping this buffer persistently greatly helps performancelloyd2013-08-152-8/+8
|
* Convert CFB to Transformation APIlloyd2013-08-153-0/+242
|
* Move ECB to Transformation APIlloyd2013-08-156-2/+263
|
* Move CBC to Transformation APIlloyd2013-08-155-4/+297
|
* Optimize the poly mul in XTS, AES-128/XTS is 2-3x faster on Westmerelloyd2013-08-141-63/+34
|
* Make XTS a Transformation under src/modeslloyd2013-08-1416-0/+1773
| | | | | | Move AEAD modes to src/modes/aead Add filters for Transformations (based on original AEAD filters)
* Move most code that relies heavily on Filters into src/filters.lloyd2009-11-1725-2156/+0
| | | | | | Remove support for (unused) modset settings. Move tss, fpe, cryptobox, and aont to new dir constructs
* Rename/remove some secmem member variables for better matching with STLlloyd2009-11-177-26/+26
| | | | | | | | containers (specifically vector). Rename is_empty to empty Remove has_items Rename create to resize
* Remove the 'realname' attribute on all modules and cc/cpu/os info files.lloyd2009-10-298-17/+0
| | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that.
* Similiar treatment for OFB which is also just a plain stream cipherlloyd2009-10-143-113/+0
|
* Convert CTR_BE from a Filter to a StreamCipher. Must wrap in a ↵lloyd2009-10-143-207/+0
| | | | | | StreamCipher_Filter to pass it directly to a Pipe now.
* Split up util.h into 3 fileslloyd2009-09-171-1/+0
| | | | | | | - rounding.h (round_up, round_down) - workfactor.h (dl_work_factor) - timer.h (system_time) And update all users of the previous util.h
* propagate from branch 'net.randombit.botan.1_8' (head ↵lloyd2009-08-311-4/+4
|\ | | | | | | | | | | c2624292793f396cf940403e0d12073a9b2c7b17) to branch 'net.randombit.botan' (head 07a71effa1ba495b6ea57b2490ad38bf58a23bd0)
| * Remove redunant buffer create calls in XTSlloyd2009-08-281-4/+0
| |
| * In XTS, reset the buffer positions at the end of a message.lloyd2009-08-271-0/+4
| |
* | Use a much faster counter increment system, noticable speedups (~15%)lloyd2009-08-121-20/+21
| | | | | | | | for both Serpent and AES-128 in CTR mode.
* | Modify Keyed_Filter so it is a pure interfacelloyd2009-08-118-87/+233
| | | | | | | | | | | | | | | | | | | | 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)
* | Change the BlockCipher interface to support multi-block encryption andlloyd2009-08-112-22/+99
|/ | | | | | | | | decryption. Currently only used for counter mode. Doesn't offer much advantage as-is (though might help slightly, in terms of cache effects), but allows for SIMD implementations to process multiple blocks in parallel when possible. Particularly thinking here of Serpent; TEA/XTEA also seem promising in this sense, as is Threefish once that is implemented as a standalone block cipher.
* Correct some errors in the automatically generated dependencies.lloyd2009-07-166-6/+0
|
* Add a script that reads the output of print_deps.py and rewriteslloyd2009-07-157-12/+16
| | | | | | the info.txt files with the right module dependencies. Apply it across the codebase.
* Add XTS mode, from IEEE P1619lloyd2009-04-163-0/+435
|
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-3019-316/+354
| | | | | | | | | | | | | | | 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).
* Add some Doxygen comments for BlockCipherModePaddingMethodlloyd2008-11-181-23/+62
|