summaryrefslogtreecommitdiff
path: root/authenc.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-11-05 01:59:46 -0500
committerJeffrey Walton <noloader@gmail.com>2015-11-05 01:59:46 -0500
commit48809d4e85c125814425c621d8d0d89f95405924 (patch)
tree1010fd16c4b1199f3d27dd726dda241a2bd29f83 /authenc.h
parent025337a94aceb75d188149db70c2094673772816 (diff)
downloadcryptopp-git-48809d4e85c125814425c621d8d0d89f95405924.tar.gz
CRYPTOPP 5.6.3 RC6 checkin
Diffstat (limited to 'authenc.h')
-rw-r--r--authenc.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/authenc.h b/authenc.h
index 085816b8..36d5e6c3 100644
--- a/authenc.h
+++ b/authenc.h
@@ -1,13 +1,18 @@
+// authenc.h - written and placed in the public domain by Wei Dai
+
+//! \file
+//! \brief Base classes for working with authenticated encryption modes of encryption
+
#ifndef CRYPTOPP_AUTHENC_H
#define CRYPTOPP_AUTHENC_H
#include "cryptlib.h"
#include "secblock.h"
-#include "trap.h"
NAMESPACE_BEGIN(CryptoPP)
-//! .
+//! \class AuthenticatedSymmetricCipherBase
+//! \brief
class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE AuthenticatedSymmetricCipherBase : public AuthenticatedSymmetricCipher
{
public:
@@ -15,7 +20,7 @@ public:
bool IsRandomAccess() const {return false;}
bool IsSelfInverting() const {return true;}
- void UncheckedSetKey(const byte *,unsigned int,const CryptoPP::NameValuePairs &) {CRYPTOPP_ASSERT(false);}
+ void UncheckedSetKey(const byte *,unsigned int,const CryptoPP::NameValuePairs &) {assert(false);}
void SetKey(const byte *userKey, size_t keylength, const NameValuePairs &params);
void Restart() {if (m_state > State_KeySet) m_state = State_KeySet;}