File: tiger.h

package info (click to toggle)
bitcollider 0.3.1-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,116 kB
  • ctags: 573
  • sloc: sh: 5,490; ansic: 4,805; cpp: 245; makefile: 109
file content (28 lines) | stat: -rw-r--r-- 583 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* (PD) 2001 The Bitzi Corporation
 * Please see file COPYING or http://bitzi.com/publicdomain 
 * for more info.
 *
 * $Id: tiger.h,v 1.2 2001/04/03 23:53:49 mayhemchaos Exp $
 */
#ifndef TIGER_H
#define TIGER_H

#ifdef _WIN32

#if defined (_INTEGRAL_MAX_BITS) && (_INTEGRAL_MAX_BITS >= 64)
  typedef unsigned __int64 word64;
#else
  #error __int64 type not supported
#endif
typedef unsigned long int tword;

#else
typedef unsigned long long int word64;
#endif

typedef unsigned long word32;
typedef unsigned char byte;

void tiger(word64 *str, word64 length, word64 *res);

#endif