Renesas / SecureDweet
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 WOLFSSL_RIPEMD_H_
00005 #define WOLFSSL_RIPEMD_H_
00006 
00007 #include <wolfssl/wolfcrypt/settings.h>
00008 
00009 #ifdef __cplusplus
00010     extern "C" {
00011 #endif
00012 
00013 
00014 typedef struct WOLFSSL_RIPEMD_CTX {
00015     int holder[32];   /* big enough to hold wolfcrypt, but check on init */
00016 } WOLFSSL_RIPEMD_CTX;
00017 
00018 WOLFSSL_API void wolfSSL_RIPEMD_Init(WOLFSSL_RIPEMD_CTX*);
00019 WOLFSSL_API void wolfSSL_RIPEMD_Update(WOLFSSL_RIPEMD_CTX*, const void*,
00020                                      unsigned long);
00021 WOLFSSL_API void wolfSSL_RIPEMD_Final(unsigned char*, WOLFSSL_RIPEMD_CTX*);
00022 
00023 
00024 typedef WOLFSSL_RIPEMD_CTX RIPEMD_CTX;
00025 
00026 #define RIPEMD_Init   wolfSSL_RIPEMD_Init
00027 #define RIPEMD_Update wolfSSL_RIPEMD_Update
00028 #define RIPEMD_Final  wolfSSL_RIPEMD_Final
00029 
00030 
00031 #ifdef __cplusplus
00032     }  /* extern "C" */ 
00033 #endif
00034 
00035 
00036 #endif /* WOLFSSL_MD5_H_ */
00037 
00038