]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Source/CyaSSL/cyassl/openssl/ripemd.h
Final commit before tagging - cosmetic changes only.
[freertos] / FreeRTOS-Plus / Source / CyaSSL / cyassl / openssl / ripemd.h
1 /* ripemd.h for openssl */
2
3
4 #ifndef CYASSL_RIPEMD_H_
5 #define CYASSL_RIPEMD_H_
6
7 #include <cyassl/ctaocrypt/settings.h>
8
9 #ifdef __cplusplus
10     extern "C" {
11 #endif
12
13
14 typedef struct CYASSL_RIPEMD_CTX {
15     int holder[32];   /* big enough to hold ctaocrypt, but check on init */
16 } CYASSL_RIPEMD_CTX;
17
18 CYASSL_API void CyaSSL_RIPEMD_Init(CYASSL_RIPEMD_CTX*);
19 CYASSL_API void CyaSSL_RIPEMD_Update(CYASSL_RIPEMD_CTX*, const void*,
20                                      unsigned long);
21 CYASSL_API void CyaSSL_RIPEMD_Final(unsigned char*, CYASSL_RIPEMD_CTX*);
22
23
24 typedef CYASSL_RIPEMD_CTX RIPEMD_CTX;
25
26 #define RIPEMD_Init   CyaSSL_RIPEMD_Init
27 #define RIPEMD_Update CyaSSL_RIPEMD_Update
28 #define RIPEMD_Final  CyaSSL_RIPEMD_Final
29
30
31 #ifdef __cplusplus
32     }  /* extern "C" */ 
33 #endif
34
35
36 #endif /* CYASSL_MD5_H_ */
37