Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cipher_Mode and AEAD_Mode improvements | Daniel Neus | 2016-11-08 | 1 | -1/+8 |
| | | | | | | | | | | | | See PR #552 - Add Cipher_Mode::reset() which resets just the message specific state and allows encrypting again under the existing key - In Cipher_Mode::clear() (at some planes) use cipher->clear() instead of resetting the pointer which would make the cipher object unusable - EAX_Decryption::output_length() bugfix?! Now its possible to decrypt an empty ciphertext (just a tag) - Bugfix for GCM_Decryption::finish() - set tag length in GCM_Mode::name() - Cipher_Mode tests: add tests for reset()and process() - AEAD_Mode tests: add tests for reset(), clear(), update() and process() | ||||
* | Improve modes doxygen [ci skip] | René Korthaus | 2016-10-19 | 1 | -0/+3 |
| | |||||
* | Cipher_Mode API improvements | Jack Lloyd | 2016-09-01 | 1 | -6/+5 |
| | | | | | | | | | | | | | | | | | | | | The Cipher_Mode::update API is more general than needed to just support ciphers (this is due to it previously being an API of Transform which before 8b85b780515 was Cipher_Mode's base class) Define a less general interface `process` which either processes the blocks in-place, producing exactly as much output as there was input, or (SIV/CCM case) saves the entire message for processing in `finish`. These two uses cover all current or anticipated cipher modes. Leaves `update` for compatability with existing callers; all that is needed is an inline function forwarding to `process`. Removes the return type from `start` - in all cipher implementations, this always returned an empty vector. Adds BOTAN_ARG_CHECK macro; right now BOTAN_ASSERT is being used for argument checking in some places, which is not right at all. | ||||
* | cppcheck fixes: Class 'X' has a constructor with 1 argument that is not ↵ | Daniel Neus | 2016-03-05 | 1 | -1/+1 |
| | | | | explicit. | ||||
* | modes: Add missing overrides | Daniel Seither | 2015-07-30 | 1 | -1/+1 |
| | |||||
* | Move Cipher_Mode enum out of types.h, move stream cipher mode to new header | lloyd | 2015-02-05 | 1 | -0/+63 |