#include "ghash-def.h"
#include "hash.h"
#include "tiger.h"
-#include "tiger-tab.h"
#include "tiger-base.h"
/*----- S-boxes -----------------------------------------------------------*/
-static const kludge64 s[4][256] = TIGER_S;
+extern const kludge64 tiger_s[4][256];
/*----- Main code ---------------------------------------------------------*/
LOAD64_L_(ctx->c, p + 16);
ctx->off = 0;
ctx->nl = U32(count);
- ctx->nh = U32(((count & ~MASK32) >> 16) >> 16);
+ ctx->nh = U32(((count & ~(unsigned long)MASK32) >> 16) >> 16);
}
/* --- @tiger_hash@ --- *