summaryrefslogtreecommitdiff
path: root/dmac.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-01-22 09:53:49 -0500
committerJeffrey Walton <noloader@gmail.com>2018-01-22 09:53:49 -0500
commitd4293182301772b9ce2a2020117b77905639c0f5 (patch)
tree0e708339acf0a5e75d468a445ba66996e7429851 /dmac.h
parente1f2b696388655ad898dc40ab23ecf80578f8cf1 (diff)
downloadcryptopp-git-d4293182301772b9ce2a2020117b77905639c0f5.tar.gz
Cleanup Doxygen directives
Diffstat (limited to 'dmac.h')
-rw-r--r--dmac.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/dmac.h b/dmac.h
index 8d65adf6..62be7ee0 100644
--- a/dmac.h
+++ b/dmac.h
@@ -1,7 +1,6 @@
// dmac.h - originally written and placed in the public domain by Wei Dai
-/// \file
-/// \headerfile dmac.h
+/// \file dmac.h
/// \brief Classes for DMAC message authentication code
#ifndef CRYPTOPP_DMAC_H
@@ -17,10 +16,10 @@ template <class T>
class CRYPTOPP_NO_VTABLE DMAC_Base : public SameKeyLengthAs<T>, public MessageAuthenticationCode
{
public:
- static std::string StaticAlgorithmName() {return std::string("DMAC(") + T::StaticAlgorithmName() + ")";}
-
CRYPTOPP_CONSTANT(DIGESTSIZE=T::BLOCKSIZE)
+ static std::string StaticAlgorithmName() {return std::string("DMAC(") + T::StaticAlgorithmName() + ")";}
+ virtual~DMAC_Base() {}
DMAC_Base() : m_subkeylength(0), m_counter(0) {}
void UncheckedSetKey(const byte *key, unsigned int length, const NameValuePairs &params);