summaryrefslogtreecommitdiff
path: root/authAlgo.h
diff options
context:
space:
mode:
authorErwin Nindl <nine@wirdorange.org>2007-12-13 13:03:29 +0000
committerErwin Nindl <nine@wirdorange.org>2007-12-13 13:03:29 +0000
commit725eafb3d384449f152a9feecf5d7953acda0ad6 (patch)
treebfbdfe39145396f907d76fad311b272672dcf697 /authAlgo.h
parentactivated sync (diff)
more generic code in anytun.cpp
Diffstat (limited to 'authAlgo.h')
-rw-r--r--authAlgo.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/authAlgo.h b/authAlgo.h
index 45e2fc4..de813e6 100644
--- a/authAlgo.h
+++ b/authAlgo.h
@@ -54,12 +54,19 @@ public:
};
-// HMAC_SHA1
+/**
+ * HMAC SHA1 Auth Tag Generator Class
+ */
+
class Sha1AuthAlgo : public AuthAlgo
{
public:
Sha1AuthAlgo();
~Sha1AuthAlgo();
+
+ /**
+ *
+ */
void setKey(Buffer key);
AuthTag calc(const Buffer& buf);
protected: