MDC2, MDC2_Init, MDC2_Update, MDC2_Final - MDC2 hash function
unsigned char *MDC2(const unsigned char *d, unsigned long n, unsigned char *md);
int MDC2_Init(MDC2_CTX *c); int MDC2_Update(MDC2_CTX *c, const unsigned char *data, unsigned long len); int MDC2_Final(unsigned char *md, MDC2_CTX *c);
MDC2 is a method to construct hash functions with 128 bit output from block ciphers. These functions are an implementation of MDC2 with DES.
The following functions may be used if the message is not completely stored in memory:
Applications should use the higher level functions EVP_DigestInit(3) etc. instead of calling the hash functions directly.
ISO/IEC 10118-2, with DES