aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac/cmac/cmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac/cmac/cmac.h')
-rw-r--r--src/mac/cmac/cmac.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mac/cmac/cmac.h b/src/mac/cmac/cmac.h
index ac929eaf3..aa9bfb38e 100644
--- a/src/mac/cmac/cmac.h
+++ b/src/mac/cmac/cmac.h
@@ -23,6 +23,11 @@ class BOTAN_DLL CMAC : public MessageAuthenticationCode
std::string name() const;
MessageAuthenticationCode* clone() const;
+ Key_Length_Specification key_spec() const
+ {
+ return e->key_spec();
+ }
+
/**
* CMAC's polynomial doubling operation
* @param in the input