Go to the documentation of this file.
27 #ifndef POLARSSL_SHA1_H
28 #define POLARSSL_SHA1_H
34 typedef UINT32 uint32_t;
39 #define POLARSSL_ERR_SHA1_FILE_IO_ERROR -0x0076
48 unsigned char buffer[64];
50 unsigned char ipad[64];
51 unsigned char opad[64];
90 void sha1(
const unsigned char *input,
size_t ilen,
unsigned char output[20] );
100 int sha1_file(
const char *path,
unsigned char output[20] );
144 void sha1_hmac(
const unsigned char *key,
size_t keylen,
145 const unsigned char *input,
size_t ilen,
146 unsigned char output[20] );