Releasing debian version 4.04+dfsg-9.
[syslinux-debian/hramrach.git] / com32 / libutil / include / sha1.h
blob3b35e7739ed3438b055133e4bae5c22a8f8342a4
1 #ifndef LIBUTIL_SHA1_H
2 #define LIBUTIL_SHA1_H
4 #include <stdint.h>
6 typedef struct {
7 uint32_t state[5];
8 uint32_t count[2];
9 unsigned char buffer[64];
10 } SHA1_CTX;
12 void SHA1Transform(uint32_t state[5], const unsigned char buffer[64]);
13 void SHA1Init(SHA1_CTX * context);
14 void SHA1Update(SHA1_CTX * context, const unsigned char *data, uint32_t len); /*
15 JHB */
16 void SHA1Final(unsigned char digest[20], SHA1_CTX * context);
18 #endif /* LIBUTIL_SHA1_H */