aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/modes/aead/siv/siv.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-09-26 20:41:11 -0400
committerJack Lloyd <[email protected]>2016-09-26 20:41:11 -0400
commit16131507a198c1b0ac608e4313bf02d41ab2f3b5 (patch)
tree7fc013750400911bdb6ec754afa6885ab8f6b404 /src/lib/modes/aead/siv/siv.h
parent7df9d0dcd968a4c0462b6e95dae4ec847b04199e (diff)
parent507d926da825fbc1d9d74b4517dbab47702c66b9 (diff)
Merge GH #516 Cipher_Mode API improvements
Diffstat (limited to 'src/lib/modes/aead/siv/siv.h')
-rw-r--r--src/lib/modes/aead/siv/siv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/modes/aead/siv/siv.h b/src/lib/modes/aead/siv/siv.h
index d3e4c5270..6acfe515a 100644
--- a/src/lib/modes/aead/siv/siv.h
+++ b/src/lib/modes/aead/siv/siv.h
@@ -21,7 +21,7 @@ namespace Botan {
class BOTAN_DLL SIV_Mode : public AEAD_Mode
{
public:
- void update(secure_vector<byte>& blocks, size_t offset = 0) override;
+ size_t process(uint8_t buf[], size_t size) override;
void set_associated_data_n(size_t n, const byte ad[], size_t ad_len);
@@ -53,7 +53,7 @@ class BOTAN_DLL SIV_Mode : public AEAD_Mode
secure_vector<byte> S2V(const byte text[], size_t text_len);
private:
- secure_vector<byte> start_raw(const byte nonce[], size_t nonce_len) override;
+ void start_msg(const byte nonce[], size_t nonce_len) override;
void key_schedule(const byte key[], size_t length) override;