Go to the documentation of this file.
27 #ifndef POLARSSL_SHA1_H
28 #define POLARSSL_SHA1_H
36 typedef UINT32 uint32_t;
41 #define POLARSSL_ERR_SHA1_FILE_IO_ERROR -0x0076
43 #if !defined(POLARSSL_SHA1_ALT)
58 unsigned char buffer[64];
60 unsigned char ipad[64];
61 unsigned char opad[64];
111 void sha1(
const unsigned char *input,
size_t ilen,
unsigned char output[20] );
121 int sha1_file(
const char *path,
unsigned char output[20] );
165 void sha1_hmac(
const unsigned char *key,
size_t keylen,
166 const unsigned char *input,
size_t ilen,
167 unsigned char output[20] );