summaryrefslogtreecommitdiff
path: root/authAlgo.h
diff options
context:
space:
mode:
authorErwin Nindl <nine@wirdorange.org>2007-12-08 17:57:31 +0000
committerErwin Nindl <nine@wirdorange.org>2007-12-08 17:57:31 +0000
commit62d31032352f8d857f31d89872fd42b98501e1c3 (patch)
tree8caaa3f1ff16281e45ff0d3c9357708b5efbe74c /authAlgo.h
parentremoved doxygen folders from svn (diff)
* added AuthTag class
* bugfixes in keyderivation, aesicmcypher * removed authtag functins temorarly from anytun.cpp
Diffstat (limited to 'authAlgo.h')
-rw-r--r--authAlgo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/authAlgo.h b/authAlgo.h
index 7c7ca6d..e3de813 100644
--- a/authAlgo.h
+++ b/authAlgo.h
@@ -32,7 +32,7 @@
#define _AUTHALGO_H_
#include "datatypes.h"
-#include "buffer.h"
+#include "authTag.h"
class AuthAlgo
{
@@ -40,13 +40,13 @@ public:
AuthAlgo() {};
virtual ~AuthAlgo() {};
- virtual auth_tag_t calc(const Buffer& buf) = 0;
+ virtual AuthTag calc(const Buffer& buf) = 0;
};
class NullAuthAlgo : public AuthAlgo
{
public:
- auth_tag_t calc(const Buffer& buf);
+ AuthTag calc(const Buffer& buf);
};
@@ -54,7 +54,7 @@ public:
class HmacAuthAlgo : public AuthAlgo
{
public:
- auth_tag_t calc(const Buffer& buf);
+ AuthTag calc(const Buffer& buf);
};
#endif