~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
progs/perftest.c: Use from Glibc syscall numbers.
[catacomb]
/
symm
/
tiger.c
diff --git
a/symm/tiger.c
b/symm/tiger.c
index
f9aa824
..
4889660
100644
(file)
--- a/
symm/tiger.c
+++ b/
symm/tiger.c
@@
-32,12
+32,11
@@
#include "ghash-def.h"
#include "hash.h"
#include "tiger.h"
#include "ghash-def.h"
#include "hash.h"
#include "tiger.h"
-#include "tiger-tab.h"
#include "tiger-base.h"
/*----- S-boxes -----------------------------------------------------------*/
#include "tiger-base.h"
/*----- S-boxes -----------------------------------------------------------*/
-
static const kludge64 s[4][256] = TIGER_S
;
+
extern const kludge64 tiger_s[4][256]
;
/*----- Main code ---------------------------------------------------------*/
/*----- Main code ---------------------------------------------------------*/
@@
-100,7
+99,7
@@
void tiger_set(tiger_ctx *ctx, const void *buf, unsigned long count)
LOAD64_L_(ctx->c, p + 16);
ctx->off = 0;
ctx->nl = U32(count);
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@ --- *
}
/* --- @tiger_hash@ --- *