aboutsummaryrefslogtreecommitdiffstats
path: root/src/modes/aead/eax/eax.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-12-31 18:19:18 +0000
committerlloyd <[email protected]>2013-12-31 18:19:18 +0000
commit24bfc2734b25c0df447413f6cee187745ff90079 (patch)
tree93296fa97468ad0ae927c6b9184b136ca8d5e919 /src/modes/aead/eax/eax.h
parent98991e5c9326a480b890ef7ce112ebfb1216f1ae (diff)
Set default offset for all cipher mode update/final signatures.
Diffstat (limited to 'src/modes/aead/eax/eax.h')
-rw-r--r--src/modes/aead/eax/eax.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modes/aead/eax/eax.h b/src/modes/aead/eax/eax.h
index a4673a34f..b6f1653bb 100644
--- a/src/modes/aead/eax/eax.h
+++ b/src/modes/aead/eax/eax.h
@@ -78,9 +78,9 @@ class BOTAN_DLL EAX_Encryption : public EAX_Mode
size_t minimum_final_size() const override { return 0; }
- 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;
};
/**
@@ -104,9 +104,9 @@ class BOTAN_DLL EAX_Decryption : public EAX_Mode
size_t minimum_final_size() const override { return tag_size(); }
- 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;
};
}