aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac/cbc_mac/cbc_mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac/cbc_mac/cbc_mac.h')
-rw-r--r--src/mac/cbc_mac/cbc_mac.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mac/cbc_mac/cbc_mac.h b/src/mac/cbc_mac/cbc_mac.h
index 6b30ef764..ff2a8f3fa 100644
--- a/src/mac/cbc_mac/cbc_mac.h
+++ b/src/mac/cbc_mac/cbc_mac.h
@@ -23,6 +23,11 @@ class BOTAN_DLL CBC_MAC : public MessageAuthenticationCode
std::string name() const;
MessageAuthenticationCode* clone() const;
+ Key_Length_Specification key_spec() const
+ {
+ return e->key_spec();
+ }
+
/**
* @param cipher the underlying block cipher to use
*/