Go to the documentation of this file.
38 #define SHA1_BLOCK_SIZE 64
39 #define SHA1_DIGEST_SIZE 20
41 #if defined(__cplusplus)
49 typedef unsigned long sha1_32t;
50 #elif defined(ULONG_MAX) && ULONG_MAX == 0xfffffffful
51 typedef unsigned long sha1_32t;
52 #elif defined(UINT_MAX) && UINT_MAX == 0xffffffff
53 typedef unsigned int sha1_32t;
55 # error Please define sha1_32t as an unsigned 32 bit type in sha1.h
78 void sha1(
unsigned char hval[],
const unsigned char data[],
unsigned long len);
80 #if defined(__cplusplus)