aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream/ofb/ofb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/ofb/ofb.h')
-rw-r--r--src/stream/ofb/ofb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stream/ofb/ofb.h b/src/stream/ofb/ofb.h
index 587a30bab..c4d8b2601 100644
--- a/src/stream/ofb/ofb.h
+++ b/src/stream/ofb/ofb.h
@@ -26,6 +26,11 @@ class BOTAN_DLL OFB : public StreamCipher
bool valid_iv_length(size_t iv_len) const
{ return (iv_len <= permutation->block_size()); }
+ Key_Length_Specification key_spec() const
+ {
+ return permutation->key_spec();
+ }
+
std::string name() const;
OFB* clone() const