A library for setting up Secure Socket Layer (SSL) connections and verifying remote hosts using certificates. Contains only the source files for mbed platform implementation of the library.
Dependents: HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL
cyassl/openssl/ripemd.h@6:cf58d49e1a86, 2015-03-23 (annotated)
- Committer:
- Mike Fiore
- Date:
- Mon Mar 23 16:51:07 2015 -0500
- Revision:
- 6:cf58d49e1a86
- Parent:
- 0:b86d15c6ba29
fix whitespace in sha512.c
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Vanger | 0:b86d15c6ba29 | 1 | /* ripemd.h for openssl */ |
Vanger | 0:b86d15c6ba29 | 2 | |
Vanger | 0:b86d15c6ba29 | 3 | |
Vanger | 0:b86d15c6ba29 | 4 | #ifndef CYASSL_RIPEMD_H_ |
Vanger | 0:b86d15c6ba29 | 5 | #define CYASSL_RIPEMD_H_ |
Vanger | 0:b86d15c6ba29 | 6 | |
Vanger | 0:b86d15c6ba29 | 7 | #include <cyassl/ctaocrypt/settings.h> |
Vanger | 0:b86d15c6ba29 | 8 | |
Vanger | 0:b86d15c6ba29 | 9 | #ifdef __cplusplus |
Vanger | 0:b86d15c6ba29 | 10 | extern "C" { |
Vanger | 0:b86d15c6ba29 | 11 | #endif |
Vanger | 0:b86d15c6ba29 | 12 | |
Vanger | 0:b86d15c6ba29 | 13 | |
Vanger | 0:b86d15c6ba29 | 14 | typedef struct CYASSL_RIPEMD_CTX { |
Vanger | 0:b86d15c6ba29 | 15 | int holder[32]; /* big enough to hold ctaocrypt, but check on init */ |
Vanger | 0:b86d15c6ba29 | 16 | } CYASSL_RIPEMD_CTX; |
Vanger | 0:b86d15c6ba29 | 17 | |
Vanger | 0:b86d15c6ba29 | 18 | CYASSL_API void CyaSSL_RIPEMD_Init(CYASSL_RIPEMD_CTX*); |
Vanger | 0:b86d15c6ba29 | 19 | CYASSL_API void CyaSSL_RIPEMD_Update(CYASSL_RIPEMD_CTX*, const void*, |
Vanger | 0:b86d15c6ba29 | 20 | unsigned long); |
Vanger | 0:b86d15c6ba29 | 21 | CYASSL_API void CyaSSL_RIPEMD_Final(unsigned char*, CYASSL_RIPEMD_CTX*); |
Vanger | 0:b86d15c6ba29 | 22 | |
Vanger | 0:b86d15c6ba29 | 23 | |
Vanger | 0:b86d15c6ba29 | 24 | typedef CYASSL_RIPEMD_CTX RIPEMD_CTX; |
Vanger | 0:b86d15c6ba29 | 25 | |
Vanger | 0:b86d15c6ba29 | 26 | #define RIPEMD_Init CyaSSL_RIPEMD_Init |
Vanger | 0:b86d15c6ba29 | 27 | #define RIPEMD_Update CyaSSL_RIPEMD_Update |
Vanger | 0:b86d15c6ba29 | 28 | #define RIPEMD_Final CyaSSL_RIPEMD_Final |
Vanger | 0:b86d15c6ba29 | 29 | |
Vanger | 0:b86d15c6ba29 | 30 | |
Vanger | 0:b86d15c6ba29 | 31 | #ifdef __cplusplus |
Vanger | 0:b86d15c6ba29 | 32 | } /* extern "C" */ |
Vanger | 0:b86d15c6ba29 | 33 | #endif |
Vanger | 0:b86d15c6ba29 | 34 | |
Vanger | 0:b86d15c6ba29 | 35 | |
Vanger | 0:b86d15c6ba29 | 36 | #endif /* CYASSL_MD5_H_ */ |
Vanger | 0:b86d15c6ba29 | 37 |