SSL/TLS Library
CyaSSL is SSL/TLS library for embedded systems.
cyassl/openssl/ripemd.h@0:9d17e4342598, 2014-04-20 (annotated)
- Committer:
- wolfSSL
- Date:
- Sun Apr 20 12:40:57 2014 +0000
- Revision:
- 0:9d17e4342598
CyaSSL SSL/TLS Library 2.9.4;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wolfSSL | 0:9d17e4342598 | 1 | /* ripemd.h for openssl */ |
wolfSSL | 0:9d17e4342598 | 2 | |
wolfSSL | 0:9d17e4342598 | 3 | |
wolfSSL | 0:9d17e4342598 | 4 | #ifndef CYASSL_RIPEMD_H_ |
wolfSSL | 0:9d17e4342598 | 5 | #define CYASSL_RIPEMD_H_ |
wolfSSL | 0:9d17e4342598 | 6 | |
wolfSSL | 0:9d17e4342598 | 7 | #include <cyassl/ctaocrypt/settings.h> |
wolfSSL | 0:9d17e4342598 | 8 | |
wolfSSL | 0:9d17e4342598 | 9 | #ifdef __cplusplus |
wolfSSL | 0:9d17e4342598 | 10 | extern "C" { |
wolfSSL | 0:9d17e4342598 | 11 | #endif |
wolfSSL | 0:9d17e4342598 | 12 | |
wolfSSL | 0:9d17e4342598 | 13 | |
wolfSSL | 0:9d17e4342598 | 14 | typedef struct CYASSL_RIPEMD_CTX { |
wolfSSL | 0:9d17e4342598 | 15 | int holder[32]; /* big enough to hold ctaocrypt, but check on init */ |
wolfSSL | 0:9d17e4342598 | 16 | } CYASSL_RIPEMD_CTX; |
wolfSSL | 0:9d17e4342598 | 17 | |
wolfSSL | 0:9d17e4342598 | 18 | CYASSL_API void CyaSSL_RIPEMD_Init(CYASSL_RIPEMD_CTX*); |
wolfSSL | 0:9d17e4342598 | 19 | CYASSL_API void CyaSSL_RIPEMD_Update(CYASSL_RIPEMD_CTX*, const void*, |
wolfSSL | 0:9d17e4342598 | 20 | unsigned long); |
wolfSSL | 0:9d17e4342598 | 21 | CYASSL_API void CyaSSL_RIPEMD_Final(unsigned char*, CYASSL_RIPEMD_CTX*); |
wolfSSL | 0:9d17e4342598 | 22 | |
wolfSSL | 0:9d17e4342598 | 23 | |
wolfSSL | 0:9d17e4342598 | 24 | typedef CYASSL_RIPEMD_CTX RIPEMD_CTX; |
wolfSSL | 0:9d17e4342598 | 25 | |
wolfSSL | 0:9d17e4342598 | 26 | #define RIPEMD_Init CyaSSL_RIPEMD_Init |
wolfSSL | 0:9d17e4342598 | 27 | #define RIPEMD_Update CyaSSL_RIPEMD_Update |
wolfSSL | 0:9d17e4342598 | 28 | #define RIPEMD_Final CyaSSL_RIPEMD_Final |
wolfSSL | 0:9d17e4342598 | 29 | |
wolfSSL | 0:9d17e4342598 | 30 | |
wolfSSL | 0:9d17e4342598 | 31 | #ifdef __cplusplus |
wolfSSL | 0:9d17e4342598 | 32 | } /* extern "C" */ |
wolfSSL | 0:9d17e4342598 | 33 | #endif |
wolfSSL | 0:9d17e4342598 | 34 | |
wolfSSL | 0:9d17e4342598 | 35 | |
wolfSSL | 0:9d17e4342598 | 36 | #endif /* CYASSL_MD5_H_ */ |
wolfSSL | 0:9d17e4342598 | 37 |