aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/ofb/ofb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/stream/ofb/ofb.h')
-rw-r--r--src/lib/stream/ofb/ofb.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/lib/stream/ofb/ofb.h b/src/lib/stream/ofb/ofb.h
index afba43753..1e9866c64 100644
--- a/src/lib/stream/ofb/ofb.h
+++ b/src/lib/stream/ofb/ofb.h
@@ -23,20 +23,15 @@ class BOTAN_PUBLIC_API(2,0) OFB final : public StreamCipher
void set_iv(const uint8_t iv[], size_t iv_len) override;
- size_t default_iv_length() const override { return m_cipher->block_size(); }
+ size_t default_iv_length() const override;
- bool valid_iv_length(size_t iv_len) const override
- { return (iv_len <= m_cipher->block_size()); }
+ bool valid_iv_length(size_t iv_len) const override;
- Key_Length_Specification key_spec() const override
- {
- return m_cipher->key_spec();
- }
+ Key_Length_Specification key_spec() const override;
std::string name() const override;
- OFB* clone() const override
- { return new OFB(m_cipher->clone()); }
+ OFB* clone() const override;
void clear() override;