add hashes for map files on server

This commit is contained in:
ac-stef
2016-08-26 14:28:54 +02:00
parent 1f5b3ed92a
commit 4a9ae84613
4 changed files with 18 additions and 1 deletions
+7 -1
View File
@@ -3,7 +3,7 @@
#ifdef STANDALONE
#define DEBUGCOND (true)
#else
VARP(cryptodebug, 0, 0, 1);
VARP(cryptodebug, 0, 1, 1);
#define DEBUGCOND (cryptodebug==1)
#endif
@@ -159,6 +159,12 @@ namespace tiger
lilswap(val.chunks, 3);
}
}
void tigerhash(uchar *hash, const uchar *msg, int len)
{
tiger::hash(msg, len, *((tiger::hashval *) hash));
}
#undef sb1
#undef sb2
#undef sb3