aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/tiger.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/tiger.c')
-rw-r--r--cipher/tiger.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/cipher/tiger.c b/cipher/tiger.c
index c43226445..11c11b461 100644
--- a/cipher/tiger.c
+++ b/cipher/tiger.c
@@ -25,9 +25,15 @@
#include <assert.h>
#include "util.h"
#include "memory.h"
-#include "tiger.h"
-#ifdef WITH_TIGER_HASH
+
+typedef struct {
+ u64 a, b, c;
+ u32 nblocks;
+ byte buf[64];
+ int count;
+} TIGER_CONTEXT;
+
/*********************************
* Okay, okay, this is not the fastest code - improvements are welcome.
@@ -845,5 +851,3 @@ tiger_final( TIGER_CONTEXT *hd )
#undef X
}
-#endif /* WITH_TIGER_HASH */
-