Fork of CyaSSL for my specific settings

Dependents:   CyaSSL_Example

Fork of CyaSSL by wolf SSL

Committer:
d0773d
Date:
Tue Mar 03 22:52:52 2015 +0000
Revision:
4:28ac50e1d49c
Parent:
0:1239e9b70ca2
CyaSSL example

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wolfSSL 0:1239e9b70ca2 1 /* ripemd.h for openssl */
wolfSSL 0:1239e9b70ca2 2
wolfSSL 0:1239e9b70ca2 3
wolfSSL 0:1239e9b70ca2 4 #ifndef CYASSL_RIPEMD_H_
wolfSSL 0:1239e9b70ca2 5 #define CYASSL_RIPEMD_H_
wolfSSL 0:1239e9b70ca2 6
wolfSSL 0:1239e9b70ca2 7 #include <cyassl/ctaocrypt/settings.h>
wolfSSL 0:1239e9b70ca2 8
wolfSSL 0:1239e9b70ca2 9 #ifdef __cplusplus
wolfSSL 0:1239e9b70ca2 10 extern "C" {
wolfSSL 0:1239e9b70ca2 11 #endif
wolfSSL 0:1239e9b70ca2 12
wolfSSL 0:1239e9b70ca2 13
wolfSSL 0:1239e9b70ca2 14 typedef struct CYASSL_RIPEMD_CTX {
wolfSSL 0:1239e9b70ca2 15 int holder[32]; /* big enough to hold ctaocrypt, but check on init */
wolfSSL 0:1239e9b70ca2 16 } CYASSL_RIPEMD_CTX;
wolfSSL 0:1239e9b70ca2 17
wolfSSL 0:1239e9b70ca2 18 CYASSL_API void CyaSSL_RIPEMD_Init(CYASSL_RIPEMD_CTX*);
wolfSSL 0:1239e9b70ca2 19 CYASSL_API void CyaSSL_RIPEMD_Update(CYASSL_RIPEMD_CTX*, const void*,
wolfSSL 0:1239e9b70ca2 20 unsigned long);
wolfSSL 0:1239e9b70ca2 21 CYASSL_API void CyaSSL_RIPEMD_Final(unsigned char*, CYASSL_RIPEMD_CTX*);
wolfSSL 0:1239e9b70ca2 22
wolfSSL 0:1239e9b70ca2 23
wolfSSL 0:1239e9b70ca2 24 typedef CYASSL_RIPEMD_CTX RIPEMD_CTX;
wolfSSL 0:1239e9b70ca2 25
wolfSSL 0:1239e9b70ca2 26 #define RIPEMD_Init CyaSSL_RIPEMD_Init
wolfSSL 0:1239e9b70ca2 27 #define RIPEMD_Update CyaSSL_RIPEMD_Update
wolfSSL 0:1239e9b70ca2 28 #define RIPEMD_Final CyaSSL_RIPEMD_Final
wolfSSL 0:1239e9b70ca2 29
wolfSSL 0:1239e9b70ca2 30
wolfSSL 0:1239e9b70ca2 31 #ifdef __cplusplus
wolfSSL 0:1239e9b70ca2 32 } /* extern "C" */
wolfSSL 0:1239e9b70ca2 33 #endif
wolfSSL 0:1239e9b70ca2 34
wolfSSL 0:1239e9b70ca2 35
wolfSSL 0:1239e9b70ca2 36 #endif /* CYASSL_MD5_H_ */
wolfSSL 0:1239e9b70ca2 37
wolfSSL 0:1239e9b70ca2 38