diff options
author | lloyd <[email protected]> | 2014-11-05 12:00:24 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-11-05 12:00:24 +0000 |
commit | 4f474481f46bffc095ae104485b8da95bcb03973 (patch) | |
tree | 2da1bf58bdce2a2e9a1a8a6f8d27dbdb3a87e174 /src/lib/modes/aead/siv/siv.h | |
parent | f78e5e3fbd87d2e903f5ff4a230b65ac6d44f281 (diff) |
Replace Transformatio::nstart with start_raw so we can do a full set
of overloads in the base class with the same name.
Diffstat (limited to 'src/lib/modes/aead/siv/siv.h')
-rw-r--r-- | src/lib/modes/aead/siv/siv.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/modes/aead/siv/siv.h b/src/lib/modes/aead/siv/siv.h index bca8831b8..433771696 100644 --- a/src/lib/modes/aead/siv/siv.h +++ b/src/lib/modes/aead/siv/siv.h @@ -21,8 +21,6 @@ namespace Botan { class BOTAN_DLL SIV_Mode : public AEAD_Mode { public: - secure_vector<byte> start(const byte nonce[], size_t nonce_len) override; - void update(secure_vector<byte>& blocks, size_t offset = 0) override; void set_associated_data_n(size_t n, const byte ad[], size_t ad_len); @@ -55,12 +53,11 @@ class BOTAN_DLL SIV_Mode : public AEAD_Mode secure_vector<byte> S2V(const byte text[], size_t text_len); private: - MessageAuthenticationCode& cmac() { return *m_cmac; } + secure_vector<byte> start_raw(const byte nonce[], size_t nonce_len) override; void key_schedule(const byte key[], size_t length) override; const std::string m_name; - std::unique_ptr<StreamCipher> m_ctr; std::unique_ptr<MessageAuthenticationCode> m_cmac; secure_vector<byte> m_nonce, m_msg_buf; |