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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mac/cmac/cmac.h b/src/mac/cmac/cmac.h
index aa9bfb38e..98634bdb7 100644
--- a/src/mac/cmac/cmac.h
+++ b/src/mac/cmac/cmac.h
@@ -19,10 +19,12 @@ namespace Botan {
class BOTAN_DLL CMAC : public MessageAuthenticationCode
{
public:
- void clear();
std::string name() const;
+ size_t output_length() const { return e->block_size(); }
MessageAuthenticationCode* clone() const;
+ void clear();
+
Key_Length_Specification key_spec() const
{
return e->key_spec();