diff options
Diffstat (limited to 'src/aead/ocb/ocb.h')
-rw-r--r-- | src/aead/ocb/ocb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/aead/ocb/ocb.h b/src/aead/ocb/ocb.h index 9d10c2656..d50710a79 100644 --- a/src/aead/ocb/ocb.h +++ b/src/aead/ocb/ocb.h @@ -84,9 +84,9 @@ class BOTAN_DLL OCB_Encryption : public OCB_Mode size_t minimum_final_size() const override { return 0; } - void update(secure_vector<byte>& blocks) override; + void update(secure_vector<byte>& blocks, size_t offset) override; - void finish(secure_vector<byte>& final_block) override; + void finish(secure_vector<byte>& final_block, size_t offset) override; private: void encrypt(byte input[], size_t blocks); }; @@ -103,9 +103,9 @@ class BOTAN_DLL OCB_Decryption : public OCB_Mode size_t minimum_final_size() const override { return tag_size(); } - void update(secure_vector<byte>& blocks) override; + void update(secure_vector<byte>& blocks, size_t offset) override; - void finish(secure_vector<byte>& final_block) override; + void finish(secure_vector<byte>& final_block, size_t offset) override; private: void decrypt(byte input[], size_t blocks); }; |