Go to the documentation of this file.
27 #ifndef POLARSSL_SHA1_H
28 #define POLARSSL_SHA1_H
32 #define POLARSSL_ERR_SHA1_FILE_IO_ERROR -0x0076
39 unsigned long total[2];
40 unsigned long state[5];
41 unsigned char buffer[64];
43 unsigned char ipad[64];
44 unsigned char opad[64];
83 void sha1(
const unsigned char *input,
size_t ilen,
unsigned char output[20] );
93 int sha1_file(
const char *path,
unsigned char output[20] );
137 void sha1_hmac(
const unsigned char *key,
size_t keylen,
138 const unsigned char *input,
size_t ilen,
139 unsigned char output[20] );