summaryrefslogtreecommitdiff
path: root/ccm.h
diff options
context:
space:
mode:
Diffstat (limited to 'ccm.h')
-rw-r--r--ccm.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ccm.h b/ccm.h
index 6f6e4e41..65d5287f 100644
--- a/ccm.h
+++ b/ccm.h
@@ -1,3 +1,9 @@
+// ccm.h - written and placed in the public domain by Wei Dai
+
+//! \file
+//! \headerfile ccm.h
+//! \brief CCM block cipher mode of operation
+
#ifndef CRYPTOPP_CCM_H
#define CRYPTOPP_CCM_H
@@ -10,7 +16,7 @@ class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE CCM_Base : public AuthenticatedSymmetricCi
{
public:
CCM_Base()
- : m_digestSize(0), m_L(0) {}
+ : m_digestSize(0), m_L(0), m_messageLength(0), m_aadLength(0) {}
// AuthenticatedSymmetricCipher
std::string AlgorithmName() const