Go to the documentation of this file.
27 #ifndef POLARSSL_MD2_H
28 #define POLARSSL_MD2_H
30 #if !defined(POLARSSL_CONFIG_FILE)
33 #include POLARSSL_CONFIG_FILE
38 #define POLARSSL_ERR_MD2_FILE_IO_ERROR -0x0070
40 #if !defined(POLARSSL_MD2_ALT)
53 unsigned char cksum[16];
54 unsigned char state[48];
55 unsigned char buffer[16];
57 unsigned char ipad[16];
58 unsigned char opad[16];
120 void md2(
const unsigned char *input,
size_t ilen,
unsigned char output[16] );
130 int md2_file(
const char *path,
unsigned char output[16] );
176 void md2_hmac(
const unsigned char *key,
size_t keylen,
177 const unsigned char *input,
size_t ilen,
178 unsigned char output[16] );