diff options
author | Erwin Nindl <nine@wirdorange.org> | 2007-12-08 17:57:31 +0000 |
---|---|---|
committer | Erwin Nindl <nine@wirdorange.org> | 2007-12-08 17:57:31 +0000 |
commit | 62d31032352f8d857f31d89872fd42b98501e1c3 (patch) | |
tree | 8caaa3f1ff16281e45ff0d3c9357708b5efbe74c /authAlgo.h | |
parent | removed 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.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |