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/cfb | |
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/cfb')
-rw-r--r-- | src/lib/modes/cfb/cfb.cpp | 2 | ||||
-rw-r--r-- | src/lib/modes/cfb/cfb.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/modes/cfb/cfb.cpp b/src/lib/modes/cfb/cfb.cpp index 7b4aed3f0..4b0c210f9 100644 --- a/src/lib/modes/cfb/cfb.cpp +++ b/src/lib/modes/cfb/cfb.cpp @@ -69,7 +69,7 @@ void CFB_Mode::key_schedule(const byte key[], size_t length) m_cipher->set_key(key, length); } -secure_vector<byte> CFB_Mode::start(const byte nonce[], size_t nonce_len) +secure_vector<byte> CFB_Mode::start_raw(const byte nonce[], size_t nonce_len) { if(!valid_nonce_length(nonce_len)) throw Invalid_IV_Length(name(), nonce_len); diff --git a/src/lib/modes/cfb/cfb.h b/src/lib/modes/cfb/cfb.h index 56d2fd8e2..7e616f94e 100644 --- a/src/lib/modes/cfb/cfb.h +++ b/src/lib/modes/cfb/cfb.h @@ -20,8 +20,6 @@ namespace Botan { class BOTAN_DLL CFB_Mode : public Cipher_Mode { public: - secure_vector<byte> start(const byte nonce[], size_t nonce_len) override; - std::string name() const override; size_t update_granularity() const override; @@ -49,6 +47,7 @@ class BOTAN_DLL CFB_Mode : public Cipher_Mode secure_vector<byte>& keystream_buf() { return m_keystream_buf; } private: + secure_vector<byte> start_raw(const byte nonce[], size_t nonce_len) override; void key_schedule(const byte key[], size_t length) override; std::unique_ptr<BlockCipher> m_cipher; |