Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add an offset to ignore at the start of the buffer in AEAD processing | lloyd | 2013-03-28 | 7 | -67/+117 |
| | | | | | | which makes more complicated packet building easier to do in-place. For instance now update can take a buffer that contains a header and be told to ignore the header. | ||||
* | Have tls_suite_info.py generate the entire source file | lloyd | 2013-03-28 | 2 | -6/+37 |
| | | | | | | | instead of just the switch. Next step should be having it be run by configure at build time and a copy of the the params included in build-data | ||||
* | Add nonce length checks to EAX and GCM | lloyd | 2013-03-28 | 2 | -0/+6 |
| | |||||
* | Compile fix | lloyd | 2013-03-27 | 1 | -1/+1 |
| | |||||
* | Allow tag sizes other than 128 bits in GCM and OCB | lloyd | 2013-03-27 | 2 | -34/+42 |
| | |||||
* | Rename script and add header | lloyd | 2013-03-27 | 1 | -4/+10 |
| | |||||
* | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2013-03-27 | 7 | -7/+39 |
|\ | | | | | | | | | | | b7ac11f48ca4fe8e5aafa01979c5bf087b156d77) to branch 'net.randombit.botan.aead-modes' (head 061b249cd586d4ff849aaa48c3ec8cf7587acc56) | ||||
| * | Avoid warning | lloyd | 2013-03-23 | 1 | -1/+1 |
| | | |||||
| * | Alias mips64el to mips64, from Brad Smith | lloyd | 2013-03-21 | 1 | -0/+4 |
| | | |||||
| * | merge of '767ce7b733ad25a056a4609645dbb0418fed5c91' | lloyd | 2013-03-21 | 27 | -777/+58 |
| |\ | | | | | | | | | | and '8795500927af6dc6c8a74d6868d002712f971a2f' | ||||
| * | | Fix error if we asked for nonexistent branch or version | lloyd | 2013-03-21 | 1 | -1/+1 |
| | | | |||||
| * | | Add TLS::Policy::server_uses_own_ciphersuite_preferences() | lloyd | 2013-03-21 | 4 | -5/+33 |
| | | | | | | | | | | | | | | | | | | Previously the server always took its most-preferred cipher out of the client's list, but this policy allows telling a server to follow the client's preferences insetad. | ||||
* | | | Resize each time in the loop | lloyd | 2013-03-27 | 1 | -2/+2 |
| | | | |||||
* | | | In AEAD_Filter consume input in pieces | lloyd | 2013-03-27 | 1 | -3/+16 |
| | | | |||||
* | | | Fix macro check in selftest | lloyd | 2013-03-27 | 2 | -10/+9 |
| | | | |||||
* | | | Add an AEAD_Filter that wraps an AEAD_Mode, plus various bug fixes. | lloyd | 2013-03-27 | 8 | -51/+210 |
| | | | |||||
* | | | Convert OCB to new AEAD interface | lloyd | 2013-03-27 | 4 | -136/+143 |
| | | | |||||
* | | | Move GCM to new AEAD interface | lloyd | 2013-03-27 | 13 | -193/+188 |
| | | | |||||
* | | | Avoid silly warning under GCC | lloyd | 2013-03-27 | 1 | -1/+1 |
| | | | |||||
* | | | Move EAX to new AEAD_Mode interface | lloyd | 2013-03-20 | 7 | -313/+327 |
| |/ |/| | |||||
* | | Update callers | lloyd | 2013-03-20 | 3 | -7/+7 |
| | | |||||
* | | Rename AEAD_Mode to AEAD_Filter | lloyd | 2013-03-20 | 4 | -7/+7 |
| | | |||||
* | | Missing BOTAN_DLL on AEAD_Mode | lloyd | 2013-03-19 | 1 | -1/+1 |
| | | |||||
* | | Remove the Turing and WiderWAKE4+1 stream cipher implementations. | lloyd | 2013-03-19 | 8 | -699/+0 |
| | | | | | | | | Both never saw much deployment or analysis. | ||||
* | | Use env to work around Arch silliness | lloyd | 2013-03-19 | 1 | -1/+1 |
| | | |||||
* | | Add an interface to Keyed_Filter returning a Key_Length_Specification | lloyd | 2013-03-17 | 14 | -63/+43 |
|/ | | | | | so the full details of what keylength(s) the filter supports are now available. | ||||
* | Move ghash functions to anon namespace | lloyd | 2013-03-17 | 1 | -0/+4 |
| | |||||
* | Move all AEAD modes to src/filters/aead | lloyd | 2013-03-17 | 11 | -1/+0 |
| | |||||
* | Move compression filters to subfolder | lloyd | 2013-03-17 | 9 | -0/+0 |
| | |||||
* | Support for non-CBC modes in ciphersuite list gen | lloyd | 2013-03-16 | 1 | -4/+23 |
| | |||||
* | Add get_aead in lookup.h | lloyd | 2013-03-16 | 3 | -0/+27 |
| | |||||
* | propagate from branch 'net.randombit.botan.aead-modes' (head ↵ | lloyd | 2013-03-16 | 6 | -9/+409 |
|\ | | | | | | | | | | | 9f75a9bcacc77447b2916104f0ccbabd2c93b516) to branch 'net.randombit.botan' (head 9e94d89357c08ffc5f7cb5cc3e86c755da96ca8e) | ||||
| * | Working GCM. Add support for AEAD modes in self tests | lloyd | 2013-03-16 | 4 | -80/+83 |
| | | |||||
| * | Some work towards a (very slow) GCM implementation | lloyd | 2013-03-16 | 4 | -0/+397 |
| | | | | | | | | | | Does not currently work due to some error in ghash, likely a misunderstanding of the field representation. | ||||
* | | Add the script that generates the switch in tls_suite_info.cpp | lloyd | 2013-03-16 | 2 | -1/+126 |
|/ | |||||
* | Convert EAX to using Buffered_Filter and new AEAD interface | lloyd | 2013-03-16 | 4 | -205/+114 |
| | |||||
* | Save most of the block cipher calls used when setting the nonce in OCB | lloyd | 2013-03-16 | 2 | -37/+59 |
| | | | | | | by avoiding recomputing stretch if the previous value works. This greatly reduces the cost of using OCB when only the lowest bits of the nonce value are changing (as when using a counter). | ||||
* | Parallel OCB decryption | lloyd | 2013-03-16 | 1 | -10/+34 |
| | |||||
* | Avoid really needless allocations | lloyd | 2013-03-16 | 1 | -2/+1 |
| | |||||
* | OCB encryption can encrypt blocks in parallel now | lloyd | 2013-03-16 | 1 | -11/+11 |
| | |||||
* | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2013-03-16 | 7 | -1/+567 |
|\ | | | | | | | | | | | 039c91aa543bad85f227e8127ed048f9005e2fa0) to branch 'net.randombit.botan.aead-modes' (head 97d8d24b545f18084e39bf928c174c45efbb63bd) | ||||
| * | In OCB encrypt, XOR multiple plaintext blocks and fold at the end | lloyd | 2013-03-16 | 1 | -17/+30 |
| | | |||||
| * | Make OCB_Base constructor private | lloyd | 2013-03-16 | 1 | -10/+11 |
| | | |||||
| * | Move std::vector operator^= to xor_buf | lloyd | 2013-03-15 | 2 | -41/+43 |
| | | | | | | | | Some prep work for parallel encrypt | ||||
| * | Make parallel processing possible by buffering more than one block | lloyd | 2013-03-15 | 2 | -41/+64 |
| | | | | | | | | | | | | and handling possible extra full blocks in end_msg Add a constant OCB_Mode::BS == 16 for readability. | ||||
| * | OCB decryption | lloyd | 2013-03-14 | 3 | -62/+109 |
| | | |||||
| * | Add OCB mode, currently encrypt only, and an AEAD interface | lloyd | 2013-03-14 | 6 | -0/+480 |
| | | |||||
* | | Add algorithm_kat_detailed which returns a string with info about the failure | lloyd | 2013-03-16 | 2 | -14/+50 |
|/ | |||||
* | Move assert.h from internal to very public (included in types.h) | lloyd | 2013-03-13 | 26 | -29/+9 |
| | | | | | | This reduces friction to writing an assert, so hopefully there will be more of them as a result. And we can use asserts in public headers now, very useful for templates. | ||||
* | src/utils/semaphore.h was marked both public and internal, which broke | lloyd | 2013-03-09 | 1 | -1/+0 |
| | | | | | the amalgamation build. Add a check that warns if we do this again, and some more logging in the amalgamation generator. |