From 62d31032352f8d857f31d89872fd42b98501e1c3 Mon Sep 17 00:00:00 2001 From: Erwin Nindl Date: Sat, 8 Dec 2007 17:57:31 +0000 Subject: * added AuthTag class * bugfixes in keyderivation, aesicmcypher * removed authtag functins temorarly from anytun.cpp --- authAlgo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'authAlgo.h') 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 -- cgit v1.2.3