Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of CyaSSL by
cyassl/openssl/md5.h@0:1239e9b70ca2, 2014-07-12 (annotated)
- Committer:
- wolfSSL
- Date:
- Sat Jul 12 07:18:23 2014 +0000
- Revision:
- 0:1239e9b70ca2
CyaSSL 3.0.0;
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 |