aboutsummaryrefslogtreecommitdiffstats
path: root/src/modes/ecb
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes/ecb')
-rw-r--r--src/modes/ecb/ecb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modes/ecb/ecb.h b/src/modes/ecb/ecb.h
index 9545a33ea..441eafbc1 100644
--- a/src/modes/ecb/ecb.h
+++ b/src/modes/ecb/ecb.h
@@ -57,9 +57,9 @@ class BOTAN_DLL ECB_Encryption : public ECB_Mode
ECB_Encryption(BlockCipher* cipher, BlockCipherModePaddingMethod* padding) :
ECB_Mode(cipher, padding) {}
- 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;
size_t output_length(size_t input_length) const override;
@@ -75,9 +75,9 @@ class BOTAN_DLL ECB_Decryption : public ECB_Mode
ECB_Decryption(BlockCipher* cipher, BlockCipherModePaddingMethod* padding) :
ECB_Mode(cipher, padding) {}
- 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;
size_t output_length(size_t input_length) const override;