diff options
author | lloyd <[email protected]> | 2013-12-31 18:19:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-12-31 18:19:18 +0000 |
commit | 24bfc2734b25c0df447413f6cee187745ff90079 (patch) | |
tree | 93296fa97468ad0ae927c6b9184b136ca8d5e919 /src/modes/cfb | |
parent | 98991e5c9326a480b890ef7ce112ebfb1216f1ae (diff) |
Set default offset for all cipher mode update/final signatures.
Diffstat (limited to 'src/modes/cfb')
-rw-r--r-- | src/modes/cfb/cfb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modes/cfb/cfb.h b/src/modes/cfb/cfb.h index 984e5cb96..48be0a2d9 100644 --- a/src/modes/cfb/cfb.h +++ b/src/modes/cfb/cfb.h @@ -67,9 +67,9 @@ class BOTAN_DLL CFB_Encryption : public CFB_Mode CFB_Encryption(BlockCipher* cipher, size_t feedback_bits) : CFB_Mode(cipher, feedback_bits) {} - void update(secure_vector<byte>& blocks, size_t offset) override; + void update(secure_vector<byte>& blocks, size_t offset = 0) override; - void finish(secure_vector<byte>& final_block, size_t offset) override; + void finish(secure_vector<byte>& final_block, size_t offset = 0) override; }; /** @@ -81,9 +81,9 @@ class BOTAN_DLL CFB_Decryption : public CFB_Mode CFB_Decryption(BlockCipher* cipher, size_t feedback_bits) : CFB_Mode(cipher, feedback_bits) {} - void update(secure_vector<byte>& blocks, size_t offset) override; + void update(secure_vector<byte>& blocks, size_t offset = 0) override; - void finish(secure_vector<byte>& final_block, size_t offset) override; + void finish(secure_vector<byte>& final_block, size_t offset = 0) override; }; } |