* tunneling and relaying of packets of any protocol.
*
*
- * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl,
+ * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl,
* Christian Pointner <satp@wirdorange.org>
*
* This file is part of Anytun.
void generate(KeyDerivation& kd, EncryptedPacket& packet);
bool checkTag(KeyDerivation& kd, EncryptedPacket& packet);
- static const u_int32_t DIGEST_LENGTH = 0;
+ static const uint32_t DIGEST_LENGTH = 0;
};
#ifndef NO_CRYPT
void generate(KeyDerivation& kd, EncryptedPacket& packet);
bool checkTag(KeyDerivation& kd, EncryptedPacket& packet);
- static const u_int32_t DIGEST_LENGTH = 20;
+ static const uint32_t DIGEST_LENGTH = 20;
private:
#ifndef USE_SSL_CRYPTO
#else
HMAC_CTX ctx_;
#endif
-
+
Buffer key_;
};
#endif