/** * Tiger cryptographic hash function implementation * * @file platon/hash/tiger.h * @author Ross Anderson * @author Eli Biham * @version \$Platon: $ * @date 2004 * * These subroutines are extracted from public source codes located at * http://www.cs.technion.ac.il/~biham/Reports/Tiger/ */ #ifndef _PLATON_HASH_TIGER_H #define _PLATON_HASH_TIGER_H #ifndef PLATON_FUNC # define PLATON_FUNC(_name) _name #endif #ifndef PLATON_FUNC_STR # define PLATON_FUNC_STR(_name) #_name #endif /* This should be probably moved into some general header file. -- Nepto [2004-08-27] */ typedef unsigned long long int word64; typedef unsigned long word32; typedef unsigned char byte; #ifdef __cplusplus extern "C" { #endif void PLATON_FUNC(tiger_compress) (word64 *str, word64 state[3]); void PLATON_FUNC(tiger) (word64 *str, word64 length, word64 res[3]); #ifdef __cplusplus } #endif #endif /* #ifndef _PLATON_HASH_TIGER_H */