1 /* $NetBSD: sha1.h,v 1.13 2005/12/26 18:41:36 perry Exp $ */
5 * By Steve Reid <steve@edmweb.com>
12 #include <sys/types.h>
16 typedef unsigned char u_char
;
17 typedef unsigned int uint32_t;
18 typedef unsigned int u_int32_t
;
19 typedef unsigned int u_int
;
24 #include <sys/cdefs.h>
27 #define SHA1_DIGEST_LENGTH 20
28 #define SHA1_DIGEST_STRING_LENGTH 41
37 void SHA1Transform(uint32_t[5], const u_char
[64]);
38 void SHA1Init(SHA1_CTX
*);
39 void SHA1Update(SHA1_CTX
*, const u_char
*, u_int
);
40 void SHA1Final(u_char
[SHA1_DIGEST_LENGTH
], SHA1_CTX
*);
43 #endif /* _SYS_SHA1_H_ */