4 By Steve Reid <steve@edmweb.com>, with small changes to make it
5 fit into mutt by Thomas Roessler <roessler@does-not-exist.org>.
12 #include <sys/types.h>
17 unsigned char buffer[64];
20 void SHA1Transform(u_int32_t state[5], const unsigned char buffer[64]);
21 void SHA1Init(SHA1_CTX* context);
22 void SHA1Update(SHA1_CTX* context, const unsigned char* data, u_int32_t len);
23 void SHA1Final(unsigned char digest[20], SHA1_CTX* context);
25 # define SHA1_Transform SHA1Transform
26 # define SHA1_Init SHA1Init
27 # define SHA1_Update SHA1Update
28 # define SHA1_Final SHA1Final
30 # define SHA_DIGEST_LENGTH 20