]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/CyaSSL/cyassl/openssl/md5.h
Add FreeRTOS-Plus directory.
[freertos] / FreeRTOS-Plus / CyaSSL / cyassl / openssl / md5.h
1 /* md5.h for openssl */
2
3
4 #ifndef CYASSL_MD5_H_
5 #define CYASSL_MD5_H_
6
7 #include <cyassl/ctaocrypt/settings.h>
8
9 #ifdef YASSL_PREFIX
10 #include "prefix_md5.h"
11 #endif
12
13 #ifdef __cplusplus
14     extern "C" {
15 #endif
16
17
18 typedef struct CYASSL_MD5_CTX {
19     int holder[24];   /* big enough to hold ctaocrypt md5, but check on init */
20 } CYASSL_MD5_CTX;
21
22 CYASSL_API void CyaSSL_MD5_Init(CYASSL_MD5_CTX*);
23 CYASSL_API void CyaSSL_MD5_Update(CYASSL_MD5_CTX*, const void*, unsigned long);
24 CYASSL_API void CyaSSL_MD5_Final(unsigned char*, CYASSL_MD5_CTX*);
25
26
27 typedef CYASSL_MD5_CTX MD5_CTX;
28
29 #define MD5_Init CyaSSL_MD5_Init
30 #define MD5_Update CyaSSL_MD5_Update
31 #define MD5_Final CyaSSL_MD5_Final
32
33 #ifdef __cplusplus
34     }  /* extern "C" */ 
35 #endif
36
37
38 #endif /* CYASSL_MD5_H_ */
39