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>
13 #include <sys/cdefs.h>
16 #define SHA1_DIGEST_LENGTH 20
17 #define SHA1_DIGEST_STRING_LENGTH 41
26 void SHA1Transform(uint32_t[5], const u_char
[64]);
27 void SHA1Init(SHA1_CTX
*);
28 void SHA1Update(SHA1_CTX
*, const u_char
*, u_int
);
29 void SHA1Final(u_char
[SHA1_DIGEST_LENGTH
], SHA1_CTX
*);
32 #endif /* _SYS_SHA1_H_ */