aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/modes/cbc/cbc.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-11-05 12:00:24 +0000
committerlloyd <[email protected]>2014-11-05 12:00:24 +0000
commit4f474481f46bffc095ae104485b8da95bcb03973 (patch)
tree2da1bf58bdce2a2e9a1a8a6f8d27dbdb3a87e174 /src/lib/modes/cbc/cbc.h
parentf78e5e3fbd87d2e903f5ff4a230b65ac6d44f281 (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/cbc/cbc.h')
-rw-r--r--src/lib/modes/cbc/cbc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/modes/cbc/cbc.h b/src/lib/modes/cbc/cbc.h
index 88542d476..833cceb7c 100644
--- a/src/lib/modes/cbc/cbc.h
+++ b/src/lib/modes/cbc/cbc.h
@@ -20,8 +20,6 @@ namespace Botan {
class BOTAN_DLL CBC_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,8 @@ class BOTAN_DLL CBC_Mode : public Cipher_Mode
byte* state_ptr() { return &m_state[0]; }
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;