diff options
author | Erwin Nindl <nine@wirdorange.org> | 2007-12-13 13:03:29 +0000 |
---|---|---|
committer | Erwin Nindl <nine@wirdorange.org> | 2007-12-13 13:03:29 +0000 |
commit | 725eafb3d384449f152a9feecf5d7953acda0ad6 (patch) | |
tree | bfbdfe39145396f907d76fad311b272672dcf697 /authAlgo.h | |
parent | activated sync (diff) |
more generic code in anytun.cpp
Diffstat (limited to 'authAlgo.h')
-rw-r--r-- | authAlgo.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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: |