summaryrefslogtreecommitdiff
path: root/src/authAlgo.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-03-17 15:53:22 +0000
committerChristian Pointner <equinox@anytun.org>2009-03-17 15:53:22 +0000
commit7d04626ef28ca5d27bc8515660c58bb135aa8c93 (patch)
treed8affb3523764a4be6aba9b6bd227e875ebb2096 /src/authAlgo.h
parentremoved key derivation rate entirely (diff)
added support for configurabel auth tag length
Diffstat (limited to 'src/authAlgo.h')
-rw-r--r--src/authAlgo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/authAlgo.h b/src/authAlgo.h
index cca706d..c446853 100644
--- a/src/authAlgo.h
+++ b/src/authAlgo.h
@@ -75,6 +75,8 @@ class NullAuthAlgo : public AuthAlgo
public:
void generate(KeyDerivation& kd, EncryptedPacket& packet);
bool checkTag(KeyDerivation& kd, EncryptedPacket& packet);
+
+ static const u_int32_t DIGEST_LENGTH = 0;
};
#ifndef NO_CRYPT