aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/modes/ecb/ecb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/modes/ecb/ecb.h')
-rw-r--r--src/lib/modes/ecb/ecb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/modes/ecb/ecb.h b/src/lib/modes/ecb/ecb.h
index e0d66eb46..1e95e00a8 100644
--- a/src/lib/modes/ecb/ecb.h
+++ b/src/lib/modes/ecb/ecb.h
@@ -20,8 +20,6 @@ namespace Botan {
class BOTAN_DLL ECB_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;
@@ -41,6 +39,7 @@ class BOTAN_DLL ECB_Mode : public Cipher_Mode
const BlockCipherModePaddingMethod& padding() const { return *m_padding; }
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;