aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream/ctr/ctr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/ctr/ctr.h')
-rw-r--r--src/stream/ctr/ctr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stream/ctr/ctr.h b/src/stream/ctr/ctr.h
index e62ab2860..64b43b0f5 100644
--- a/src/stream/ctr/ctr.h
+++ b/src/stream/ctr/ctr.h
@@ -26,6 +26,11 @@ class BOTAN_DLL CTR_BE : 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;
CTR_BE* clone() const