CyaSSL 3.0.0
Dependents: HTTPClient-SSL HTTPClient HTTPClient-SSL http_access ... more
cyassl/openssl/md5.h@3:64d4f7cb83d5, 2014-12-03 (annotated)
- Committer:
- wolfSSL
- Date:
- Wed Dec 03 05:24:18 2014 +0000
- Revision:
- 3:64d4f7cb83d5
- Parent:
- 0:1239e9b70ca2
added IGNORE_KEY_EXTENSIONS
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wolfSSL | 0:1239e9b70ca2 | 1 | /* md5.h for openssl */ |
wolfSSL | 0:1239e9b70ca2 | 2 | |
wolfSSL | 0:1239e9b70ca2 | 3 | |
wolfSSL | 0:1239e9b70ca2 | 4 | #ifndef CYASSL_MD5_H_ |
wolfSSL | 0:1239e9b70ca2 | 5 | #define CYASSL_MD5_H_ |
wolfSSL | 0:1239e9b70ca2 | 6 | |
wolfSSL | 0:1239e9b70ca2 | 7 | #include <cyassl/ctaocrypt/settings.h> |
wolfSSL | 0:1239e9b70ca2 | 8 | |
wolfSSL | 0:1239e9b70ca2 | 9 | #ifdef YASSL_PREFIX |
wolfSSL | 0:1239e9b70ca2 | 10 | #include "prefix_md5.h" |
wolfSSL | 0:1239e9b70ca2 | 11 | #endif |
wolfSSL | 0:1239e9b70ca2 | 12 | |
wolfSSL | 0:1239e9b70ca2 | 13 | #ifdef __cplusplus |
wolfSSL | 0:1239e9b70ca2 | 14 | extern "C" { |
wolfSSL | 0:1239e9b70ca2 | 15 | #endif |
wolfSSL | 0:1239e9b70ca2 | 16 | |
wolfSSL | 0:1239e9b70ca2 | 17 | |
wolfSSL | 0:1239e9b70ca2 | 18 | typedef struct CYASSL_MD5_CTX { |
wolfSSL | 0:1239e9b70ca2 | 19 | int holder[24]; /* big enough to hold ctaocrypt md5, but check on init */ |
wolfSSL | 0:1239e9b70ca2 | 20 | } CYASSL_MD5_CTX; |
wolfSSL | 0:1239e9b70ca2 | 21 | |
wolfSSL | 0:1239e9b70ca2 | 22 | CYASSL_API void CyaSSL_MD5_Init(CYASSL_MD5_CTX*); |
wolfSSL | 0:1239e9b70ca2 | 23 | CYASSL_API void CyaSSL_MD5_Update(CYASSL_MD5_CTX*, const void*, unsigned long); |
wolfSSL | 0:1239e9b70ca2 | 24 | CYASSL_API void CyaSSL_MD5_Final(unsigned char*, CYASSL_MD5_CTX*); |
wolfSSL | 0:1239e9b70ca2 | 25 | |
wolfSSL | 0:1239e9b70ca2 | 26 | |
wolfSSL | 0:1239e9b70ca2 | 27 | typedef CYASSL_MD5_CTX MD5_CTX; |
wolfSSL | 0:1239e9b70ca2 | 28 | |
wolfSSL | 0:1239e9b70ca2 | 29 | #define MD5_Init CyaSSL_MD5_Init |
wolfSSL | 0:1239e9b70ca2 | 30 | #define MD5_Update CyaSSL_MD5_Update |
wolfSSL | 0:1239e9b70ca2 | 31 | #define MD5_Final CyaSSL_MD5_Final |
wolfSSL | 0:1239e9b70ca2 | 32 | |
wolfSSL | 0:1239e9b70ca2 | 33 | #ifdef __cplusplus |
wolfSSL | 0:1239e9b70ca2 | 34 | } /* extern "C" */ |
wolfSSL | 0:1239e9b70ca2 | 35 | #endif |
wolfSSL | 0:1239e9b70ca2 | 36 | |
wolfSSL | 0:1239e9b70ca2 | 37 | |
wolfSSL | 0:1239e9b70ca2 | 38 | #endif /* CYASSL_MD5_H_ */ |
wolfSSL | 0:1239e9b70ca2 | 39 | |
wolfSSL | 0:1239e9b70ca2 | 40 |