Go to the documentation of this file.
27 #ifndef POLARSSL_MD2_H
28 #define POLARSSL_MD2_H
34 #define POLARSSL_ERR_MD2_FILE_IO_ERROR -0x0070
36 #if !defined(POLARSSL_MD2_ALT)
49 unsigned char cksum[16];
50 unsigned char state[48];
51 unsigned char buffer[16];
53 unsigned char ipad[16];
54 unsigned char opad[16];
102 void md2(
const unsigned char *input,
size_t ilen,
unsigned char output[16] );
112 int md2_file(
const char *path,
unsigned char output[16] );
156 void md2_hmac(
const unsigned char *key,
size_t keylen,
157 const unsigned char *input,
size_t ilen,
158 unsigned char output[16] );