diff options
| author | Werner Koch <[email protected]> | 1998-06-15 15:41:04 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 1998-06-15 15:41:04 +0000 |
| commit | 6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2 (patch) | |
| tree | 7c4a888893a91b59753b3d89e59832f8c24ba039 /cipher/tiger.c | |
| parent | gnupg extension are now working (diff) | |
| download | gnupg-6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2.tar.gz gnupg-6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2.zip | |
extensions are now working and fixed a lot of bugs
Diffstat (limited to 'cipher/tiger.c')
| -rw-r--r-- | cipher/tiger.c | 12 |
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 */ - |
