summaryrefslogtreecommitdiff
path: root/release/src/router/cyassl/include/openssl/md5.h
blob: 467db4cc8da536838b491c3be7d4bcf1e7eaa676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* md5.h for openssl */


#ifndef CYASSL_MD5_H_
#define CYASSL_MD5_H_

#ifdef YASSL_PREFIX
#include "prefix_md5.h"
#endif

#ifdef __cplusplus
    extern "C" {
#endif


typedef struct MD5_CTX {
    int holder[24];   /* big enough to hold ctaocrypt md5, but check on init */
} MD5_CTX;

void MD5_Init(MD5_CTX*);
void MD5_Update(MD5_CTX*, const void*, unsigned long);
void MD5_Final(unsigned char*, MD5_CTX*);



#ifdef __cplusplus
    }  /* extern "C" */ 
#endif


#endif /* CYASSL_MD5_H_ */