CyaSSL 3.0.0

Dependents:   HTTPClient-SSL HTTPClient HTTPClient-SSL http_access ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ripemd.h Source File

ripemd.h

00001 /* ripemd.h for openssl */
00002 
00003 
00004 #ifndef CYASSL_RIPEMD_H_
00005 #define CYASSL_RIPEMD_H_
00006 
00007 #include <cyassl/ctaocrypt/settings.h>
00008 
00009 #ifdef __cplusplus
00010     extern "C" {
00011 #endif
00012 
00013 
00014 typedef struct CYASSL_RIPEMD_CTX {
00015     int holder[32];   /* big enough to hold ctaocrypt, but check on init */
00016 } CYASSL_RIPEMD_CTX;
00017 
00018 CYASSL_API void CyaSSL_RIPEMD_Init(CYASSL_RIPEMD_CTX*);
00019 CYASSL_API void CyaSSL_RIPEMD_Update(CYASSL_RIPEMD_CTX*, const void*,
00020                                      unsigned long);
00021 CYASSL_API void CyaSSL_RIPEMD_Final(unsigned char*, CYASSL_RIPEMD_CTX*);
00022 
00023 
00024 typedef CYASSL_RIPEMD_CTX RIPEMD_CTX;
00025 
00026 #define RIPEMD_Init   CyaSSL_RIPEMD_Init
00027 #define RIPEMD_Update CyaSSL_RIPEMD_Update
00028 #define RIPEMD_Final  CyaSSL_RIPEMD_Final
00029 
00030 
00031 #ifdef __cplusplus
00032     }  /* extern "C" */ 
00033 #endif
00034 
00035 
00036 #endif /* CYASSL_MD5_H_ */
00037 
00038