www.pudn.com > truecrypt.zip > SHA1.H
typedef struct {
unsigned long state[5];
unsigned long count[2];
unsigned char buffer[64];
} SHA1_CTX;
#define SHA_BLOCKSIZE 64
#define SHA_DIGESTSIZE 20
void SHA1TRANSFORM ( unsigned long state [5 ], unsigned char buffer [64 ]);
void _cdecl SHA1Init ( SHA1_CTX *context );
void _cdecl SHA1Update ( SHA1_CTX *context , unsigned char *data , unsigned int len );
void _cdecl SHA1Final ( unsigned char digest [20 ], SHA1_CTX *context );