From 725eafb3d384449f152a9feecf5d7953acda0ad6 Mon Sep 17 00:00:00 2001 From: Erwin Nindl Date: Thu, 13 Dec 2007 13:03:29 +0000 Subject: more generic code in anytun.cpp --- authAlgo.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'authAlgo.h') 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: -- cgit v1.2.3