3 /* If OpenSSL is in use, then use that version of SHA-1 */
6 #define __SHA1_INCLUDE_
9 #ifndef __SHA1_INCLUDE_
11 #ifndef SHA1_SIGNATURE_SIZE
13 #define SHA1_SIGNATURE_SIZE SHA_DIGESTSIZE
15 #define SHA1_SIGNATURE_SIZE 20
22 unsigned char buffer
[64];
25 extern void SHA1_Init(SHA1_CTX
*);
26 extern void SHA1_Update(SHA1_CTX
*, const unsigned char *, unsigned int);
27 extern void SHA1_Final(unsigned char[SHA1_SIGNATURE_SIZE
], SHA1_CTX
*);
29 #define __SHA1_INCLUDE_
30 #endif /* __SHA1_INCLUDE_ */